I am having some troubles using Box2d on a project I am playing around with.
I have created the project using the Box2d-template provided with the latest release of cocos2d.
The HelloWorld-scene works great. I then imported a scene from another project of mine (GameScene.h and GameScene.m). Imported all resources and everything to make that scene work without Box2d, when that was done I tried adding the Box2d.h and the other GLExxx.h included, the same headers as in HelloWorld-scene, to the header (GameScene.h).
As soon as I try to compile this I get a lot of errors (over 800). I have read on the forum and found some solutions. Tried changing the GameScene.m to GameScene.mm, didn't do it.
Is there something I have missed? or is there something more I have to do to get my GameScene to recognize the box2d framework? I have compared my scene with HelloWorld-scene, but can't see what the problem is.