irresistible force wrote:
It could just be that your header search paths setting is one level off... Box2D source is set up to be included as:
...so your header search path should specify the folder above
where the Box2D.h file is, not the actual folder that contains it.http://www.iforce2d.net/b2dtut/setup-ios
ok. I changed my #include to the one you said above and changed my header search path from "Box2D" to "./". the code compiles now and no longer gives me all those linker errors! woot!
. but now xCode is giving me a "Apple Mach-O Linker (Id) Warning" it says "ld: warning: directory not found for option '-L/Users/dylpickler/Programs/The Deep Project/The Deep Project/Box2D'"
I also tried "../" as my header search path and got the same result then I tried changing my include back to #include "Box2D.h" and it still runs, it just gives that warning do you have any idea what that warning means? i seem to be able to access box2d functions and use them now, so I'm not sure what its complaining about. thanks so much