I couldn't find this anywhere else, so I made it myself: Box2d easily compilable on GNU/Linux systems.
Download it here.
The only thing missing now is the use of autotools, but I think simply having a Makefile might be quite helpful for most people.
Would be nice if this could be integrated in the official download package. 🙂
How to use:
To compile:
To run the test programs:
(The run files are just scripts doing "export LD_LIBRARY_PATH=../../Library:$LD_LIBRARY_PATH" and running the programs.)
Modified source files:
Contrib/glui/GL/glui.h
Contrib/glui/readme.txt
Examples/TestBed/Framework/Main.cpp
Examples/TestBed/Framework/Render.cpp
Examples/TestBed/Framework/Test.cpp
Examples/TestBed/Tests/PolyCollision.h
Source/Common/b2Math.h
Added Makefiles:
./Contrib/glui/Makefile
./Examples/HelloWorld/Makefile
./Examples/TestBed/Framework/Makefile
./Examples/TestBed/Tests/Makefile
./Examples/TestBed/Makefile
./Source/Collision/Makefile
./Source/Common/Makefile
./Source/Dynamics/Contacts/Makefile
./Source/Dynamics/Joints/Makefile
./Source/Dynamics/Makefile
./Source/Makefile
./Makefile
Binaries created:
./Contrib/glui/libglui.so
./Library/libbox2d.so
./Library/libglui.so
./Source/libbox2d.so
./Examples/TestBed/Main
./Examples/HelloWorld
./Examples/HelloWorld/HelloWorld
Download it here.
The only thing missing now is the use of autotools, but I think simply having a Makefile might be quite helpful for most people.
Would be nice if this could be integrated in the official download package. 🙂
How to use:
To compile:
Code:
tar -xzvf Box2D_v1.4.0.tar.gz
cd Box2D_v1.4.0/Box2D
make
cd Box2D_v1.4.0/Box2D
make
To run the test programs:
Code:
cd ./Examples/HelloWorld
./run
./run
Code:
cd ./Examples/TestBed
./run
./run
(The run files are just scripts doing "export LD_LIBRARY_PATH=../../Library:$LD_LIBRARY_PATH" and running the programs.)
Modified source files:
Contrib/glui/GL/glui.h
Contrib/glui/readme.txt
Examples/TestBed/Framework/Main.cpp
Examples/TestBed/Framework/Render.cpp
Examples/TestBed/Framework/Test.cpp
Examples/TestBed/Tests/PolyCollision.h
Source/Common/b2Math.h
Added Makefiles:
./Contrib/glui/Makefile
./Examples/HelloWorld/Makefile
./Examples/TestBed/Framework/Makefile
./Examples/TestBed/Tests/Makefile
./Examples/TestBed/Makefile
./Source/Collision/Makefile
./Source/Common/Makefile
./Source/Dynamics/Contacts/Makefile
./Source/Dynamics/Joints/Makefile
./Source/Dynamics/Makefile
./Source/Makefile
./Makefile
Binaries created:
./Contrib/glui/libglui.so
./Library/libbox2d.so
./Library/libglui.so
./Source/libbox2d.so
./Examples/TestBed/Main
./Examples/HelloWorld
./Examples/HelloWorld/HelloWorld