Outdated Docs > BlackBerry Environment setup > How to build project by using bbndk10 and bbndk20

How to build project by using bbndk1.0 and bbndk2.0

There is a good news that bbndk2.0 have been released a few days ago. You can download it from here https://bdsc.webapps.blackberry.com/native/download/.
when I try to build our cocos2d-x projects by using bbndk2.0, they can be built successfully, the result cannot be packed. The main reason is that bar-descriptor.xml in bbndk2.0 cannot be recognized as bbndk1.0. The variables, such as ‘worksparce_loc’, ‘QNX_TARGET’ cannot take effect.

The Solution of this issue is we create a empty folder, and make relationship to the folder we want to link. For example, the resource folder is linked by


If you have a better way, please contact me, thanks. :)

Ok, now let me introduce how you guys can build cocos2d-x projects by both bbndk1.0 and bbndk2.0.

1. The step of importing and building projects is the same as normal, you can find it here http://www.cocos2d-x.org/projects/cocos2d-x/wiki/How\_to\_run\_HelloWorld\_and\_Tests\_on\_BlackBerry\_Tablet\_OS

2. The default configure of bar-descript.xml is for bbndk2.0, if you use bbndk1.0, you should read the comment in this file.


That’s all, enjoy developing blackberry playbook application by cocos2d-x qnx port. :)

Sign up for our newsletter to keep up with the latest developments, releases and updates for Cocos2d-x.