Entity Valkyrie wrote:dvgrn wrote:Try to be as clear and specific as you can in answering Rhombic's question, and you're likely to get much better results.
I tried to use bellman, but it crashed/auto-shut immediately after I opened it. Can anyone fix this problem?
Probably not. Unfortunately you still haven't provided any actual useful details.
When you say "Bellman", nobody except for you knows what that means. There are several ZIP files you could have downloaded with different versions of Bellman, with or without executable files.
In general, when you're asking for this kind of help, start by mentioning your operating system, and the exact name of the files you downloaded, with the link where you downloaded them. If you don't walk a potential helper through every single one of the exact steps that you took to get to your problem, then nobody can duplicate the problem, and that means that no one can help you.
Possibilities
If you're just trying to run someone else's pre-compiled Windows executable instead of compiling the program yourself, there are two possibilities at least:
1) If you don't know how to use a Cygwin command line, and if instead of reading and following the instructions, you're just double-clicking Bellman.exe and hoping... you would probably get behavior more or less like what you're describing. Is that what you're doing? Again, please be painfully detailed and specific about each individual step that you're attempting.
2) If you're calling a precompiled Bellman.exe correctly from a command line, by typing something like
and if it's crashing immediately in that context, then you should probably give up on that executable. Maybe you could try running in some Windows compatibility mode, but you'd be on your own experimenting with that -- I don't think it's likely to work. Precompiled executables are great when they work, but hopeless if your hardware or operating system is incompatible with the hardware used to do the compiling.
For example, if you're trying to run, in Windows, the Linux executable provided with
simeks' fork of BellmanWin... that seems very unlikely to work out well for you. But until you explain specifically what you're doing, no one will be able to guess if that's your problem.
Cygwin Is A Good Place To Start
On Windows, it's probably better in general to start by installing Cygwin, getting your code from a repository like the one linked above, and learning how to compile it. Git and gcc (and Cygwin) take some getting used to, for sure. Maybe start with something simple like
apgsearch, if you haven't done that already. The instructions are all in the README. If you can get that working, then maybe it will make sense to try compiling Bellman using the same tools.
Rhombic wrote:Can you say what you have done and what error appears?
Go on cygwin, move to the folder with your Bellman and do this:
Code: Select all
gcc bellman.c bitwise.h evolve_bitwise.c evolve_simple.c lib.c lib.h readfile.c readwrite.h textconv.c universe.c universe.h writefile.c -o bellman;
gcc evolve_bitwise.c evolve_simple.c findstill.c lib.c lib.h mkstill.c readfile.c readwrite.h textconv.c universe.c universe.h writefile.c -o mkstill
After that, just to be absolutely clear, you should end up with new "bellman" and "mkstill" executables that you didn't have before.
If you're still having problems, then whatever text appears on the screen after you try the above, you should copy and paste it to a message here, and mention anything else you saw or did along the way that might be relevant.