Game Development Community

XCode and Box2D

by Benjamin Cole · in Torque Game Builder · 08/12/2010 (7:23 pm) · 1 replies

Has anyone been successful in integrating Box2d into the MacOS build of TGB using Xcode? I have been trying to adapt the tutorial written for Visual Studio. Has anyone had any success with this?

#1
08/19/2010 (7:13 pm)
No one? I've successfully gotten box2d linked and compiling with TGB, but when I try to run it, I get a

"TGBGame cannot be opened because of a problem.

Check with the developer to make sure TGBGame works with this version of Mac OS X. You may need to reinstall the application. Be sure to install any available updates for the application and Mac OS X."

message. I unlink the dylib that Box2D generates, and it seems to compile and run fine. This took me 10 minutes to get working correctly in Visual Studio, but Xcode is driving me batty!