Hi,
I am getting a strange error, when I build my project
Undefined symbols for architecture armv7:
"__ZN13GLESDebugDrawC1Ef", referenced from:
-[Level1ActionLayer setupDebugDraw] in Level1ActionLayer.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Following is the code I am running, which gives this error:
-(void) setupdebugDraw
{
debugDraw = new GLESDebugDraw(PTM_RATIO*[[CCDirector sharedDirector] contentScaleFactor]);
world->SetDebugDraw(debugDraw);
debugDraw->SetFlags(b2DebugDraw::e_shapeBit);
}
Can somebody please identify why is this error coming. I am using COCOS2D 1.1, BOX2D
Thanks for your help,
Mohit
I am getting a strange error, when I build my project
Undefined symbols for architecture armv7:
"__ZN13GLESDebugDrawC1Ef", referenced from:
-[Level1ActionLayer setupDebugDraw] in Level1ActionLayer.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Following is the code I am running, which gives this error:
-(void) setupdebugDraw
{
debugDraw = new GLESDebugDraw(PTM_RATIO*[[CCDirector sharedDirector] contentScaleFactor]);
world->SetDebugDraw(debugDraw);
debugDraw->SetFlags(b2DebugDraw::e_shapeBit);
}
Can somebody please identify why is this error coming. I am using COCOS2D 1.1, BOX2D
Thanks for your help,
Mohit