peteb / tankage

Multiplayer 2D tank game; drive around in a mutable world together with friends
10 stars 2 forks source link

Server + Box2D not compiling #61

Closed peteb closed 13 years ago

peteb commented 13 years ago

It's not compiling at AllocError. Box2D is making a fuss. This issue is essentially about making the server compile on AllocError with the new Box2D stuff merged in. (it's in work now).

peteb commented 13 years ago

I tried to get it working by using apt-get, but that seems to be an old version where Box2D.h isn't really in the Box2D directory. Also tried downloading the source and build that, but there were also some problems. Fixed include dirs (includes in Box2D.h look like #include <Box2D/Dynamics...>, which is kinda stupid...) Anyway, I need to sleep now. I hope you can fix this tomorrow so the new map stuff can be tried "live". ;)

kskels commented 13 years ago

Fixed! Added export in the .bashrc so now you just need to do cmake -DSERVER=true . && make

export BOX2D_ROOT=/home/tankage/3pps/Box2D_v2.1.2

commit dd32c1b55db1d10de70b99c9441c63a9244e045b Author: tankage tankage@allocerror.com Date: Mon Apr 18 19:13:09 2011 +0200

CMake fix for the server
peteb commented 13 years ago

Great! But you committed to my repository. https://github.com/peteb/tankage/commit/dd32c1b55db1d10de70b99c9441c63a9244e045b

-- Peter

On Apr 18, 2011, at 7:20 PM, kskels wrote:

Fixed! Added export in the .bashrc so now you just need to do cmake -DSERVER=true . && make

kaspar's additions

export BOX2D_ROOT=/home/tankage/3pps/Box2D_v2.1.2

commit dd32c1b55db1d10de70b99c9441c63a9244e045b Author: tankage tankage@allocerror.com Date: Mon Apr 18 19:13:09 2011 +0200

CMake fix for the server

Reply to this email directly or view it on GitHub: https://github.com/peteb/tankage/issues/61#comment_1022218