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.
09-20-2012 08:16 AM
I'm having trouble compiling the HelloWorldDisplay native appusing the Momentics IDE.
I have followed through the Getting Started guide on the BB10 native SDK developer pages:
I downloaded the sample apps and attempted to import and build the HelloWorldDisplay app by right clicking it and selecting build.
The build fails and the following console output is displayed:
**** Build of configuration Device-Debug for project HelloWorldDisplay **** make all make -j 1 -CDevice-Debug -fmakefile all make: Entering directory `C:/Users/pro-cln0042/Downloads/Code/BB10Examples/
HelloWorldDisplay/Device-Debug' make: Leaving directory `C:/Users/pro-cln0042/Downloads/Code/BB10Examples/ HelloWorldDisplay/Device-Debug' make: *** No rule to make target `HelloWorldDisplay', needed by `all'. Stop. make: *** [all] Error 2 **** Build Finished ****
Was I wrong in thinking that Momentics was supposed to handle this automatically, and that I should just be able to right-click->build without settings up any compilers, build files etc?
I'm new to BB development and Eclipse/Momentics in general. Any advice on how to resolve these errors would be much appreciated.
09-20-2012 10:58 AM
Hi there, Welcome to the forums!
When you are importing the project into Momentics, are you using Import -> CascadesProject? make sure you are not importing the project as any other type (such as makefile project, etc...);
Let me know if you make progress;
09-21-2012 04:10 AM
Thanks for your reply. I imported the project using import -> general -> existing projects into workspace. I did not import as a cascades project (this option was not available) as I believe HelloWorldDisplay is listed under the native app samples. I followed the instructions listed given at:
Other developers appear to have similar problems running this example, but we were all able to successfully import, build and deploy the "Geolocation" example without errors. It was suggested that perhaps some of the native samples are not compatible with the latest ndk?
09-23-2012 04:05 PM
08-25-2014 12:54 PM
I had the same issue, both Makefile were missing in the project dir and (projectdir)/translations.
I simply copied one from another project and changed the project name(QMAKE_TARGET), nothing else seemed to be project specific.
It built without any problem.