cocos2d x - cocs2dx faild to generate binary- blackberry Momentics ide -


i having source code having classes , resources folder. tried create 1 blackberry project , import files inside same project. have linked cocos2dx proper steps. not clear how run source code has classes , resources in blackberry momwntics ide. if has kind of idea or hint or clue or direction please respond. ...

i faced same issues when trying cocos2d-x blackberry running in momentics ide. code sample provided not organised , not follow file hierarchy or structure of conventional momentics ide bb10 projects. find quite confusing - programmers little experience programming in c++, linkers etc.

that being said, there series of steps can follow cocos2d-x blackberry running .

  1. download cocos2d-x project http://www.cocos2d-x.org/ . folder contains cocos2d main libraries , sample code, , platform specific libraries different platforms (web, desktop, iphone, android, blackberry).

  2. the next task import cocos2d libraries required blackberry development momentics ide , build first project. quick search of cocos2dx source directory reveals list of proj.blackberry files indicate blackberry related projects imported. found importing following proj.blackberry files workspace sufficient me build sample project included .

    /cocos2d-x-2.1.4/cocos2dx/blackberry/proj.blackberry /cocos2d-x-2.1.4/cocosdenshion/blackberry/proj.blackberry /cocos2d-x-2.1.4/extensions/blackberry/proj.blackberry

  3. note main reasons importing projects above make them available referenced projects libraries. pretty should handle errors of missing files or paths etc.

    /cocos2d-x-2.1.4/template/blackberry/proj.blackberry

(this sample project run , compile – bbtemplateproject)

  1. to import each of above file > import > existing project workspace > cocos2dx source directory above @ point should have bbtemplateproject imported. try build it..

i have written more detailed post here http://www.denvycom.com/blog/setting-up-cocos2d-for-blackberry-10-development/ . post includes quick fix handle decode.h error might encounter while trying build project.

p.s > found bar-descriptor.xml file lets compiler know relevant included files/classes reside (including strange resources folder) . why unconventional heirachy structure works. there still few issues im having working cocos2d-x blackberry (such getting qtsql libraries integrated , working in cocs2d-x blackberry project) , i'll post solutions find any.


Comments