behdad / box2d

Automatically exported from code.google.com/p/box2d
2 stars 12 forks source link

Building 2.2.1 on linux #305

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Ran into some issues getting 2.2.1 to build on linux. Wrote up about I did to 
get it working here http://alecbenzer.com/blog/building-box2dv2.2.1/, but 
basically:

* If you don't grab premake 4.4 (which is the beta release right now), you'll 
get some random error about a nil vpath
* Think there's a typo in one of the .makes where the source file is listed as 
Helloworld.cpp instead of HelloWorld.cpp
* I need to link to glut with -lglut, not -lGLUT, which is what the .make for 
the Testbed uses. That might just be Ubuntu-specific, I don't know, but might 
be worth mentioning in Building.txt, I guess.

Sorry if any of this is old news.

Original issue reported on code.google.com by alecben...@gmail.com on 5 Apr 2013 at 7:26

GoogleCodeExporter commented 9 years ago
It's a pretty trivial patch to get working: I'm attaching it in case anyone 
would like to apply it to the tree.

Original comment by jangut...@gmail.com on 20 May 2013 at 8:37

Attachments:

GoogleCodeExporter commented 9 years ago
Completed: At revision: 267  

Original comment by erinca...@gmail.com on 28 Oct 2013 at 5:31