Joined: Mon Feb 02, 2009 12:36 pm Posts: 1
|
|
Very new to this but I believe this may be the answer:
Making sure you're using the .mm extension for your implementation code, I simply added this to my header file:
#ifdef __cplusplus #import "Box2D/Include/Box2D.h" #endif
I was the able to compile successfully using the latest code from SVN (though of course it probably works with the latest official release - I haven't checked) and make references to classes such as b2World and b2Body directly from my Objective-C interface section.
Hope that helps.
|
|