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.
02-16-2012 07:43 PM
I am a new to developing for blackberry and unfortunately I cannot even get started with playing around with the sdk because I am unable to deploy the apps to the simulator. QNX says that the device is not connected even though it is open and in development mode, also I get an error in the run configuration saying that "Program does not exist". I am not sure if I am missing anything, I have build the project, gotten a debug token and am a registered developer. I have attached photos to show the error.
Also I am using windows 7 64 bit and am running os version 18.104.22.16867
02-17-2012 12:34 AM
If I am not mistaken "Program does not exist" means your project did not compile well, basically you do not have executabe to package and upload to simulator.
02-17-2012 01:06 AM
Thanks for the reply, hmm this is weird I am trying to just run the falling blocks example, I have tried cleaning and rebuilding the program with no luck is there anything that I could try? Did the sdk not install or configure properly?
Here is the console output of me cleaning and rebuilding if that could be helpful at all
**** Clean-only build of configuration Device-Debug for project FallingBlocks ****
rm -rf FallingBlocks src/main.d src/main.o src/bbutil.o src/bbutil.d
Build complete for project FallingBlocks
**** Internal Builder is used for build ****
qcc -o src\bbutil.o ..\src\bbutil.c -V4.4.2,gcc_ntoarmv7le -w1 -IC:/bbndk-1.0/target/qnx6/usr/include/freetype2 -IC:/bbndk-1.0/target/qnx6/../target-override/usr/
qcc -o src\main.o ..\src\main.c -V4.4.2,gcc_ntoarmv7le -w1 -IC:/bbndk-1.0/target/qnx6/usr/include/freetype2 -IC:/bbndk-1.0/target/qnx6/../target-override/usr/
qcc -o FallingBlocks src\main.o src\bbutil.o -lbps -lpps -lscreen -lEGL -lGLESv1_CM -lm -lpng -lfreetype -V4.4.2,gcc_ntoarmv7le -w1 -g -Wl,-z,relro -Wl,-z,now -LC:/bbndk-1.0/target/qnx6/../target-override/arml
Build complete for project FallingBlocks
Time consumed: 2239 ms.
I will also note that I have zero errors in my errors tab.
02-17-2012 01:25 AM
Okay so I figured it out I had to clean then build configurations > build all. Before I was just right clicking on the project and selecting build. I cant believe it was so simple!
02-17-2012 09:22 AM
By default it only builds for device. If you want to build for simulator by default switch in project right click -> Build Configurations->Set Active->Simulator-Debug
Then project build will just work (and you don't need to Build All)
02-17-2012 09:36 AM
There are also buttons in the toolbar for quick access: pull down the hammer to choose a configuration to activate and build in one step, or just press the hammer to build the active configuration. Pull down the gauge button to select a configuration to activate.
Also, in the 2.0 NDK beta, Ctrl+B (Command+B on Mac) will build the active configuration of the current project.
Hopefully that helps to stream-line your workflows.
12-16-2012 12:22 AM
Right click on project name in Momentics, => build configuration->set active-.>Debug Simulator. Re-Compile the project again. Then it will be ok.
I think this should be mentioned in the following page for novice.
11-05-2013 10:41 PM
I just hit this problem and supposedely I'm not a novice (or may be I still am..been doing BB since the dark days of JDE4,x) had a machine with the simulator working fine, then added a Z10 and did some testing in the device, now I want to do some testing on the simulator, I keep getting the "Program does not exist" Have done al of the steps above even restarted the Momentics 10.2.1 .. . no cigar Next thing is rebooting the box but it is sad issues like this are still there.