I have been trying to port a simple Cocos2d-x Xcode project to Blackberry, using this tutorial: http://www.cocos2d-x.org/projects/cocos2d-x/wiki/How_to_run_HelloWorld_and_Tests_on_BlackBerry_Tablet_OS
I can now easily import (Import->Existing Projects into Workspace), and run the test-projects a Blackberry Playbook, using “QNX Momentics”.
However, I cannot import my own Cocos2d-x Xcode-project.
I have tried using the file “create-qnx-project.sh” to generate a qnx-file/folder, but importing this i get the following errors when building:
../main.cpp:1:21: error: cocos2d.h: No such file or directory ../main.cpp:2:25: error: AppDelegate.h: No such file or directory ../main.cpp:5: error: expected constructor, destructor, or type conversion before ';' token ../main.cpp: In function 'int main(int, char**)': ../main.cpp:9: error: 'AppDelegate' was not declared in this scope ../main.cpp:9: error: 'app' was not declared in this scope ../main.cpp:11: error: expected type-specifier before 'AppDelegate' ../main.cpp:11: error: expected ';' before 'AppDelegate' ../main.cpp:12: error: 'cocos2d' has not been declared ../main.cpp:13: error: type '<type error>' argument given to 'delete', expected pointer