How to create a project that references to the box2d.h file

Im trying everything i can come up with to include box2d.h in a project ive added to my solution.

What I did to setup my project is:

1. download box2d
2. open C:\projects\Box2D\Build\vs2013\Box2D.sln
3. add a project to the solution.
4. try to include box2d from the new project.

When using

#include <Box2D/Box2D.h>


I can't build,

When using

Code: Select all

#include "../../Box2D/Box2D.h"


All includes in Box2D.h are 'wrong'.
I cant just use the last code and adjust all includes because I want to keep using the testbed project in the same solution. Any help or reference to a good setup tutorial is welcome.


http://stackoverflow.com/questions/33265566/include-box2d-h

Original thread: https://box2d.org/forum/viewtopic.php?t=10137