Venevus wrote:
Erin Catto wrote:
The build files are provided mainly as a convenience for running the testbed. I recommend that you manually create a project file and add the main Box2D source to that project. Then setup the project dependencies so your application depends on the Box2D project.
I'm having trouble myself, this is exactly what I want/am trying to do, but it causes me to have to change "#include <Box2D/Box2D.h>" to "#include "Box2D/Box2D.h" ", everywhere. I don't want to change the box2d sources. isn't there a step by step guide out there for using this with Visual C++ 2010 Express? I don't want to reuse the hello world project either because I don't want my project to be called Hello World. I can't quite figure out how to include the .lib either.
oh boy, this is one thing (i'm probably missing another step, i'll get to that in a moment); in your project in visual cpp, right click, click "References", under "Configuration Properties -> C/C++ -> General", in the "Additional Include Directories" field, make sure you have added your box2D folder (same as it appears in the given Hello World program).
Also, I add the project "Box2D" to my dependencies for my project, but I don't yet know if that's necessary or not.