@rhythmcoder wrote:
I have the following codes:
ifndef JOYSTICK_H_
define JOYSTICK_H_
include "cocos2d.h"
include "Defines.h"
include "Box2D/Box2D.h"
USING_NS_CC;
I'm trying to use Box2d Engine on my game.
But first step of implementing, I got too many error that I cannot understand.The step is adding #include "Box2D/Box2D.h" file top of the file.
However, When I add "Box2D/Box2D.h" file on the "HelloWorld" that does not include "cocos2d.h", There are no errors.
Is "cocos2d.h" file including the "Box2D/Box2D.h" file?
(I'm Korean. Sorry for poor English)
Posts: 1
Participants: 1