12-09-2012 08:21 AM
Hi,
I use the cocos2d-x framework,
I have a game that runs fine on android and iOS, but when I try to create the project inside QNX Momentics, It tell that can't find box2d.h, how is the correct way to add box2d to a blackberry project in cocos2d-x?
12-09-2012 06:03 PM
Take a look here and you'll find box2d. Could try and compare your project to the box2d files on the github.
12-10-2012 06:38 PM
I succesfully add the box2d file
Previous I use
#include "Box2d.h"
But it not work
now I use the
#include "Box2D/Box2d.h"
and works, but I still have an error:
../../../../external/Box2D/proj.blackberry/Device-
any idea of how to resolve that?
12-11-2012 04:16 AM
12-11-2012 05:32 AM
Unfortunately I think it's a bug from Momentics, because I already have the libBox2D.a file in the respective Device-Debug folder, but when I try to compile, Momentics can't find the file.
I'll try to add the file like you said, I'll post the result here, thanks
12-11-2012 06:19 PM
ThomasRiisbjerg, I can't find the 'linker' option that you said.
I open the properties, but i find two C++ options:
C/C++ Build and C/C++ General,
But no one of them have the linker option inside it.
Can you help me?
12-12-2012 04:12 PM
Project properties -> C/C++ Build -> Settings -> QCC Linker
12-12-2012 06:15 PM
I found it, thank you very much
12-12-2012 08:29 PM
Did that solve your linker error?
01-18-2013 05:47 AM