Welcome!

Welcome to the Official BlackBerry Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Native Development

Reply
New Contributor
somanivinit
Posts: 5
Registered: ‎02-04-2013
My Carrier: synqua

bb10 cocos2d-x setup with details.

Hello,

 

I am trying very hard to installing cocos2d-x for bb 10 on my windows 7 PC. but didn'd successed 

can any one help me out with this thing. all default examples are running properly. but cocos2d-x setup is not getting done or not getting able to running any example of cocos2d-x.

 

Thanks 

Please use plain text.
New Developer
plungeint
Posts: 51
Registered: ‎03-10-2012
My Carrier: n/a

Re: bb10 cocos2d-x setup with details.

I'm experiencing similar problems on mac... if you explain us what is your exact problem maybe I can help you with my own experience.

 

JB

Please use plain text.
Developer
Zmey
Posts: 919
Registered: ‎12-18-2012

Re: bb10 cocos2d-x setup with details.

[ Edited ]

Hi,

I've been able to compile cocos2d-x using Momentics on Mac OS X and the examples (HelloCpp etc) were working. But this was a release or two ago. Please describe what you have already tried and the exact errors compiler gives.

 

Btw, which cocos2d-x & NDK versions are you using?

Please use plain text.
New Contributor
somanivinit
Posts: 5
Registered: ‎02-04-2013
My Carrier: synqua

Re: bb10 cocos2d-x setup with details.

First of I am using windows 7 for that,

I am getting able to creat and build project by following this link

http://boredwookie.net/index.php/blog/blackberry-10-getting-the-cocos2d-x-hello-world-app-to-build/

 

but after building, my project is not running or debuging on simulator,

I have tried several settings of simulator like creating a new target and many other available options but didn't got success.

 

Please use plain text.
Developer
BGmot
Posts: 966
Registered: ‎11-24-2011
My Carrier: x

Re: bb10 cocos2d-x setup with details.

What happens when you clike 'Debug' or 'Run'?

Please use plain text.
New Contributor
somanivinit
Posts: 5
Registered: ‎02-04-2013
My Carrier: synqua

Re: bb10 cocos2d-x setup with details.

[ Edited ]

finally my cocos2d-x setup for bb 10 is done. it was very straight forward, just import all the .blackberry extention things  from cocos2d-x folder and let them import as it will take some seconds which can be seen in a progress bar. then build all necessary folders for running the TestCpp project, which has tests of cocos2dx,

if gets error messages "freetype" then follow the procedure in given link

 

http://boredwookie.net/index.php/blog/blackberry-10-getting-the-cocos2d-x-hello-world-app-to-build/

 

And for running on a simulator, you should need to config a simulator for the project [after creating a  target simulator].

for that just right click->project->build configuratioin-> build selected

then check mark simulator among all options.

After that again right click->project->build configuratioin->set active->simulator

 

Now build and then debug the project, hopefully it will run :smileyhappy:

 

Please use plain text.