У меня установлены последние (по состоянию на 01.05.2013) SDK и Simulator (10.1.0.1483). Я также загрузил образцы с github и разархивировал на своем ПК.
Вот шаги, которые я предпринимаю, пытаясь запустить пример приложения:
- Я запускаю симулятор и выбираю вариант (2) для BB10 All-Touch.
Я запускаю Momentics IDE
Файл -> Импорт -> BlackBerry (Существующий код...) -> Далее ->
Расположение кода: C:\Users\Michal\Documents\Cascades-Samples-master\hellocascades
Язык: С++
-> Готово
В Project Explorer -> щелкните правой кнопкой мыши hellocascades -> Build Configurations -> Set Active -> 5-Simulator-Debug
Я нажимаю стрелку рядом с зеленой кнопкой «Запустить от имени» -> «Выполнить конфигурации» -> «Группа запуска» -> «Приложение BlackBerry C++» (hellocascades-Simulator-Debug отображается в раскрывающемся списке) -> «Добавить новую цель» (на главной вкладке) -> Auto-Discover (я выбираю IP-адрес симулятора) -> Готово -> Я выделяю IP-адрес в параметрах цели -> Применить -> Закрыть
В Project Explorer -> щелкните правой кнопкой мыши hellocascades -> Build Project
**** Сборка конфигурации Simulator-Debug для проекта hellocascades ****
make -j4 Device-Debug make -C .//translations -f Обновление Makefile make1: Вход в каталог
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: вход в каталогC:/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: вход в каталогC:/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_10C:/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
0_1483/qnx6/armle-v7/lib -Wl,-rpath-link,C:/bbndk/target_10C:/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
0_1483/ qnx6/armle-v7/usr/lib -Wl,-rpath-link,C:/bbndk/target_10C:/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
0_1483/qnx6/armle-v7/usr/lib/qt4/lib -o o.le-v7-g/hellocascades -LC :/bbndk/target_10C:/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
0_1483/qnx6/armle-v7/lib -LC:/b bndk/target_10C:/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
0_1483/qnx6/armle-v7/usr/lib -LC:/bbndk/target_10C:/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
0_1483/qnx6/armle-v7/usr/lib/qt4/lib -LC:/bbndk/target_10C:/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
0_1483/qnx6//usr/lib/qt4 /lib -lbbcascades -lQtDeclarative -lQtScript -lQtSvg -lQtSql -lsqlite3 -lz -lQtXmlPatterns -lQtGui -lQtNetwork -lsocket -lQtCore -lm -lbps cc: нет файлов для обработки make[2]: выходим из каталогаC:/Users/Michal/Documents/Cascades-Samples-master/hellocascades/arm' make[2]: *** [o.le-v7-g/hellocascades] Error 1 make[1]: Leaving directory
C:/Users/Michal/ Документы/Cascades-Samples-master/hellocascades/arm' make1: * [отладка] Ошибка 2 make: * [Device-Debug] Ошибка 2**** Сборка завершена ****
После попытки запустить его (Зеленая кнопка -> Запустить hellocascades-Simulator-Debug):
Файл программы, указанный в конфигурации запуска, не существует C:\Users\Michal\Documents\Cascades-Samples-master\hellocascades\x86\o-g\hellocascades не найден