Thank you for visiting the BlackBerry Support Community Forums.
BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)
BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.
"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."
- Kevin Michaluk, Founder, CrackBerry.com
Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.
04-22-2012 10:47 AM
i am trying to setup cocos2dx for playbook in native QNX Momentix IDE, i followed instructions as on
but after importing when i Build project (TestCocos2dX) get Following Errors in console
**** Rebuild of configuration Device-Debug for project TestCocos2dx **** **** Internal Builder is used for build **** qcc -o main.o ..\main.cpp -V4.4.2,gcc_ntoarmv7le_cpp -w1 -IC:/bbndk-2.0.0-beta3/target/qnx6/usr/include/fre
etype2 -IC:/bbndk-2.0.0-beta3/target/qnx6/../target-overr ide/usr/include -I../../ -I../../../ -I../../../cocos2dx -I../../../cocos2dx/include -I../../../cocos2dx/platform -I../../../cocos2dx/platform/qnx -I../../../chipmunk/include/chipmunk -I../../../CocosDenshion/include -D_FORTIFY_SOURCE=2 -c -g -fstack-protector-all ..\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:4: error: expected constructor, destructor, or type conversion before ';' token ..\main.cpp: In function 'int main(int, char**)': ..\main.cpp:8: error: 'AppDelegate' was not declared in this scope ..\main.cpp:8: error: 'app' was not declared in this scope ..\main.cpp:10: error: expected type-specifier before 'AppDelegate' ..\main.cpp:10: error: expected ';' before 'AppDelegate' ..\main.cpp:11: error: 'cocos2d' has not been declared ..\main.cpp:12: error: type '<type error>' argument given to 'delete', expected pointer cc: C:/bbndk-2.0.0-beta3/host/win32/x86/usr/lib/gcc/ar m-unknown-nto-qnx6.5.0eabi/4.4.2/cc1plus caught signal 1 Build error occurred, build is stopped Time consumed: 208 ms.
when i trying to Build cocos2dx got errors in Consol
**** Rebuild of configuration Device-Debug for project cocos2dx **** **** Internal Builder is used for build **** qcc -o CCCamera.o ..\..\CCCamera.cpp -V4.4.2,gcc_ntoarmv7le_cpp -w1 -shared -IC:/bbndk-2.0.0-beta3/target/qnx6/usr/include/fre
etype2 -IC:/bbndk-2.0.0-beta3/target/qnx6/../target-overr ide/usr/include -I../../../ -I../../../cocos2dx -I../../../cocos2dx/include -I../../../cocos2dx/platform -I../../../cocos2dx/platform/qnx -I../../../cocos2dx/platform/third_party/qnx/inclu de/grskia -D_FORTIFY_SOURCE=2 -c -g -fstack-protector-all cc1plus: error: ..\..\CCCamera.cpp: No such file or directory cc: C:/bbndk-2.0.0-beta3/host/win32/x86/usr/lib/gcc/ar m-unknown-nto-qnx6.5.0eabi/4.4.2/cc1plus caught signal 1 Build error occurred, build is stopped Time consumed: 185 ms.
what's wrong i have Done , or i forget something to do., i googled but not found any tutorials which can be helpful...
this will be Great if someOne from BB, or forum post a video /YouTube video for complete process to run a HelloWorld cocos2dx for playbook.
Solved! Go to Solution.
04-24-2012 08:33 AM
Did you happen to use "Copy projects into workspace" when importing? I did this first but the project does not include the source files, so the actual source is not copied with the projects. You need to keep the files in their original location (do not copy into your workspace) so they can be referenced relative to the project directory. After I made this change the project builds and runs properly .
Give this a try and let us know if it works for you afterwards.
04-24-2012 02:37 PM