I'm trying building Box2d v2.3.1 on my Ubuntu (13.10) machine. This is what I'm doing:
But the testbed is not building correctly. I get lots of undefined reference errors for glfw and glew symbols, like this:
I have the development packages for both glfw and glew installed. I also checked the Testbed.make makefile and, since I saw no reference to glfw, added -lglfw to the LIBS variable. But I still get the same error.
If anyone has any ideas how I can fix this, I'll be extremely grateful.
Code: Select all
$ premake4 gmake
$ cd Build/gmake/
$ makeBut the testbed is not building correctly. I get lots of undefined reference errors for glfw and glew symbols, like this:
Code: Select all
obj/Debug/Testbed/Main.o: In function `main':
/home/mostafa/.adobe/box2d-2.3.1/Box2D/Build/gmake/../../Testbed/Framework/Main.cpp:458: undefined reference to `glfwCreateWindow'
I have the development packages for both glfw and glew installed. I also checked the Testbed.make makefile and, since I saw no reference to glfw, added -lglfw to the LIBS variable. But I still get the same error.
If anyone has any ideas how I can fix this, I'll be extremely grateful.