I am beginner to Box2d . i have compiled and execute Box2d examples all work fine . But how to use box2d in my new c++ project because there is no BOX2D include or library folder which i use to configure the setiing . Cmake generate solution of Box2D but no include or library folder . i search alot find no answer i read all related post on this forum but no solution found . plz plz some one help me
plz urgent help me.
Build IssuesI am also finding my feet with this, so forgive me if this is a case of the blind leading the blind.
If you have run the solution, then in these directories:
you should have lib files 😉
Edit:
Ahh a little further explanation, you can point VS to point to the library location (although debug libs usually have _d at the end so be careful if you point to the debug and release folder) and I point to:
for the source. I am still tinkering myself but hopefully this will help at least some!
If you have run the solution, then in these directories:
Code:
Box2D_v2.1.2\Box2D\Build\Box2D\release
Box2D_v2.1.2\Box2D\Build\Box2D\debug
Box2D_v2.1.2\Box2D\Build\Box2D\debug
you should have lib files 😉
Edit:
Ahh a little further explanation, you can point VS to point to the library location (although debug libs usually have _d at the end so be careful if you point to the debug and release folder) and I point to:
Code:
C:\Program Files (x86)\Libraries\Box2D_v2.1.2\Box2D
for the source. I am still tinkering myself but hopefully this will help at least some!
Original thread: https://box2d.org/forum/viewtopic.php?t=4928