Installation for Life
Getting the Source
First you must have subversion installed, if you don't you can get it subversion's homepage
To get the source in a terminal type:
svn co http://svn.lolrus.org/life/trunk life
Building the Source
You now have to go into the working directory, run configure, and run make
cd life ./configure make
If you don't have glut dependencies you may do this instead:
cd life ./configure --disable-opengl make lifebench make lifeconsole
Compatability
The configure script has worked in the following environments for me
- Mac OS X 10.4.10 with both ICC 9.1 and GCC 4.1.1
- Mac OS X 10.5 (leopard) with both ICC 10 and GCC 4.0.1
- Gentoo x86_64 bit with GCC 4.1.1
There is a loop that is optimized with OpenMP in the lifeglut executable. To exploit this, you will either need Intel(R) C Compiler or gcc 4.2+.
Unfortunately, as of now this will NOT build with gcc 4.2. There's a bug I found in GCC 4.2's implementation of the shift intrinsics where the last argument defined as count (not imm) won't take a variable and yells at you
helpers.h:56: error: shift must be an immediate
