For operating systems other than Windows, such as BSD, Linux or Mac OS-X you need to download premake for your platform. Then edit the premake_generic.lua file and set the variable "lloc" to the path where all your packages are installed. (You may also need to edit each individual physics engines directory location). Then set the make_ENGINENAME to false if you do not have this physics engine library installed.
Then type:
./premake --file premake_generic.lua --target gnu
Change to the build/gnu directory and type "make". Read the walkthrough below for step by step instructions. (2007 PAL version).
^ topsvn co https://pal.svn.sourceforge.net/svnroot/pal palOR (older cvs version:)
cvs -z3 -d:pserver:anonymous@pal.cvs.sourceforge.net:/cvsroot/pal co -P pal
wget http://internode.dl.sourceforge.net/sourceforge/premake/premake-linux-3.7.tar.gz
"/home/aboeing/physics/linux/"
premake --file premake_generic.lua --target gnu
cd build/gnu/
make libpal
make palbeginner
make libpal_tokamak
cd ../../bin/debug/gnu ./palbeginner
Do you get: '.so: undefined symbol' errors? Or DLL not found errors? The dynamic linking implementation may not work on your platform. Lets try a static linking implementation:
premake --file premake_generic.lua --target gnu
cd build/gnu/ make palbeginner
cd ../../bin/debug/gnu ./palbeginner
Done! You should now get some output:
Current box position is 1.50000 at time 0.02 Current box position is 1.49412 at time 0.04 Current box position is 1.48432 at time 0.06 .....