I have the latest (as of 5/1/2013) SDK and Simulator installed (10.1.0.1483). I have also downloaded the samples from github and unzipped on my PC.
Here are the steps I take in attempt to launch a sample application:
- I Launch the Simulator and select the (2) option for BB10 All-Touch
I Launch the Momentics IDE
File -> Import -> BlackBerry (Existing Code...) -> Next ->
Code Location: C:\Users\Michal\Documents\Cascades-Samples-master\hellocascades
Language: C++
-> Finish
In Project Explorer -> right-click hellocascades -> Build Configurations -> Set Active -> 5-Simulator-Debug
I press the arrow next to the green 'Run As' button -> Run Configurations -> Launch Group -> BlackBerry C++ Application (hellocascades-Simulator-Debug appears in the dropdown) -> Add New Target (In the Main Tab) -> Auto-Discover (I choose the IP address of the simulator) -> Finish -> I highlight the IP address in the Target Options -> Apply -> Close
In Project Explorer -> right-click hellocascades -> Build Project
**** Build of configuration Simulator-Debug for project hellocascades ****
make -j4 Device-Debug make -C .//translations -f Makefile update make1: Entering directory
C:/Users/Michal/Documents/Cascades-Samples-master/hellocascades/translations' C:/bbndk/host_10_1_0_212/win32/x86/usr/bin/lupdate hellocascades.pro Updating 'hellocascades.ts'... Found 1 source text(s) (0 new and 1 already existing) Updating 'hellocascades_en_GB.ts'... Found 1 source text(s) (0 new and 1 already existing) Updating 'hellocascades_fr.ts'... Found 1 source text(s) (0 new and 1 already existing) Updating 'hellocascades_it.ts'... Found 1 source text(s) (0 new and 1 already existing) Updating 'hellocascades_de.ts'... Found 1 source text(s) (0 new and 1 already existing) Updating 'hellocascades_es.ts'... Found 1 source text(s) (0 new and 1 already existing) make[1]: Leaving directory
C:/Users/Michal/Documents/Cascades-Samples-master/hellocascades/translations' make -C .//translations -f Makefile release make1: Entering directoryC:/Users/Michal/Documents/Cascades-Samples-master/hellocascades/translations' C:/bbndk/host_10_1_0_212/win32/x86/usr/bin/lrelease hellocascades.pro Updating 'C:/Users/Michal/Documents/Cascades-Samples-master/hellocascades/translations/hellocascades.qm'... Generated 1 translation(s) (0 finished and 1 unfinished) Updating 'C:/Users/Michal/Documents/Cascades-Samples-master/hellocascades/translations/hellocascades_en_GB.qm'... Generated 1 translation(s) (0 finished and 1 unfinished) Updating 'C:/Users/Michal/Documents/Cascades-Samples-master/hellocascades/translations/hellocascades_fr.qm'... Generated 1 translation(s) (0 finished and 1 unfinished) Updating 'C:/Users/Michal/Documents/Cascades-Samples-master/hellocascades/translations/hellocascades_it.qm'... Generated 1 translation(s) (0 finished and 1 unfinished) Updating 'C:/Users/Michal/Documents/Cascades-Samples-master/hellocascades/translations/hellocascades_de.qm'... Generated 1 translation(s) (0 finished and 1 unfinished) Updating 'C:/Users/Michal/Documents/Cascades-Samples-master/hellocascades/translations/hellocascades_es.qm'... Generated 1 translation(s) (0 finished and 1 unfinished) make[1]: Leaving directory
C:/Users/Michal/Documents/Cascades-Samples-master/hellocascades/translations' make -C ./arm -f Makefile debug make1: Entering directoryC:/Users/Michal/Documents/Cascades-Samples-master/hellocascades/arm' make -f Makefile.Debug make[2]: Entering directory
C:/Users/Michal/Documents/Cascades-Samples-master/hellocascades/arm' qcc -Vgcc_ntoarmv7le -lang-c++ -Wl,-rpath-link,C:/bbndk/target_10_1_0_1483/qnx6/armle-v7/lib -Wl,-rpath-link,C:/bbndk/target_10_1_0_1483/qnx6/armle-v7/usr/lib -Wl,-rpath-link,C:/bbndk/target_10_1_0_1483/qnx6/armle-v7/usr/lib/qt4/lib -o o.le-v7-g/hellocascades -LC:/bbndk/target_10_1_0_1483/qnx6/armle-v7/lib -LC:/bbndk/target_10_1_0_1483/qnx6/armle-v7/usr/lib -LC:/bbndk/target_10_1_0_1483/qnx6/armle-v7/usr/lib/qt4/lib -LC:/bbndk/target_10_1_0_1483/qnx6//usr/lib/qt4/lib -lbbcascades -lQtDeclarative -lQtScript -lQtSvg -lQtSql -lsqlite3 -lz -lQtXmlPatterns -lQtGui -lQtNetwork -lsocket -lQtCore -lm -lbps cc: no files to process make[2]: Leaving directoryC:/Users/Michal/Documents/Cascades-Samples-master/hellocascades/arm' make[2]: *** [o.le-v7-g/hellocascades] Error 1 make[1]: Leaving directory
C:/Users/Michal/Documents/Cascades-Samples-master/hellocascades/arm' make1: * [debug] Error 2 make: * [Device-Debug] Error 2**** Build Finished ****
After trying to run it (Green button -> Run hellocascades-Simulator-Debug):
The program file specified in the launch configuration does not exist C:\Users\Michal\Documents\Cascades-Samples-master\hellocascades\x86\o-g\hellocascades not found