02-04-2013 09:48 AM
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.
02-04-2013 11:56 AM - edited 02-04-2013 11:57 AM
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?
02-04-2013 11:44 PM
First of I am using windows 7 for that,
I am getting able to creat and build project by following this link
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.
02-06-2013 04:22 AM - edited 02-06-2013 04:24 AM
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
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
09-09-2013 10:44 PM
This series of steps works as of August 2013 . Cocos2dx version - cocos2d-x-2.1.4
Download the Cocos2d-x project from http://www.cocos2d-x.org/ . This folder contains the cocos2d main libraries , sample code, and platform specific libraries for different platforms (web, desktop, iphone, android, blackberry).
The next task is to import the cocos2d libraries required for blackberry development into the Momentics IDE and successfully build the first project. A quick search of the Cocos2dx source directory reveals a list of proj.blackberry files which indicate blackberry related projects that could be imported. I found that importing the following proj.blackberry files into my workspace were sufficient to help me build the sample project included .
Note that the main reasons for importing the projects above it to make them available as referenced projects to your libraries. This pretty much should handle errors of missing files or paths etc.
(This is the sample project which we will run and compile – BBTemplateProject)
I have written a more detailed post about this here http://www.denvycom.com/blog/setting-up-cocos2d-fo