I compiled Box2D 2.2.1 using premake4 on ubuntu 12.04 last night. Then I meet a link error with -lGLUT(ld can not find -lGLUT).
After a bit work, i think this is a typo error.
My diff to premake4 is here:
After this, it work.
And thanks the hard work to bring Box2d to the world.
After a bit work, i think this is a typo error.
My diff to premake4 is here:
Code:
66c66
< links { "X11", "GL", "GLU", "glut" }
---
> links { "X11", "GL", "GLU", "GLUT" }
< links { "X11", "GL", "GLU", "glut" }
---
> links { "X11", "GL", "GLU", "GLUT" }
After this, it work.
And thanks the hard work to bring Box2d to the world.