01-04-2013 10:36 PM
i'm new at blackberry development. i'm working on an app for BB10. my host machine is win7 64bit. i'm getting this error when i try to compile my app:
make: ***[Device-Debug] Error 2
not the most descriptive error report i've ever seen. can anyone point me in the right direction to figure out what i've done wrong?
Solved! Go to Solution.
01-05-2013 09:24 AM
Can you post full console output?
01-07-2013 05:53 PM
here's the build log:
**** Build of configuration Device-Debug for project firstMag ****
make Device-Debug
make -C .//translations -f Makefile update
make[1]: Entering directory `C:/Users/mark/Documents/ndk-10.0.9-workspace/firs
C:/bbndk/host_10_0_9_404/win32/x86/usr/bin/lupdate firstMag.pro
cd arm && C:/bbndk/host_10_0_9_404/win32/x86/usr/bin/qmake -spec blackberry-armv7le-qcc ../firstMag.pro CONFIG+=debug_and_release CONFIG+=device
Updating 'firstMag.ts'...
Found 1 source text(s) (0 new and 1 already existing)
make[1]: Leaving directory `C:/Users/mark/Documents/ndk-10.0.9-workspace/firs
make -C .//translations -f Makefile release
make[1]: Entering directory `C:/Users/mark/Documents/ndk-10.0.9-workspace/firs
C:/bbndk/host_10_0_9_404/win32/x86/usr/bin/lreleas
The directory name is invalid.
Updating 'C:/Users/mark/Documents/ndk-10.0.9-workspace/firs
Generated 0 translation(s) (0 finished and 0 unfinished)
Ignored 1 untranslated source text(s)
make[1]: Leaving directory `C:/Users/mark/Documents/ndk-10.0.9-workspace/firs
make -C ./arm -f Makefile debug
make[1]: Entering directory `C:/Users/mark/Documents/ndk-10.0.9-workspace/firs
make -f Makefile.Debug
make[2]: Entering directory `C:/Users/mark/Documents/ndk-10.0.9-workspace/firs
qcc -Vgcc_ntoarmv7le -Wno-psabi -lang-c++ -fstack-protector-strong -mcpu=cortex-a9 -g -Wno-psabi -Wall -W -D_REENTRANT -DQT_NO_IMPORT_QT47_QML -DQ_OS_BLACKBERRY -DQT_DECLARATIVE_DEBUG -DQT_DECLARATIVE_LIB -DQT_CORE_LIB -DQT_SHARED -Ic:/bbndk/target_10_0_9_1673/qnx6/usr/share/qt4/m
qcc -Vgcc_ntoarmv7le -c -Wc,-include -Wc,o.le-v7-g/.obj/firstMag -Wno-psabi -lang-c++ -fstack-protector-strong -mcpu=cortex-a9 -g -Wno-psabi -Wall -W -D_REENTRANT -DQT_NO_IMPORT_QT47_QML -DQ_OS_BLACKBERRY -DQT_DECLARATIVE_DEBUG -DQT_DECLARATIVE_LIB -DQT_CORE_LIB -DQT_SHARED -Ic:/bbndk/target_10_0_9_1673/qnx6/usr/share/qt4/m
qcc -Vgcc_ntoarmv7le -c -Wc,-include -Wc,o.le-v7-g/.obj/firstMag -Wno-psabi -lang-c++ -fstack-protector-strong -mcpu=cortex-a9 -g -Wno-psabi -Wall -W -D_REENTRANT -DQT_NO_IMPORT_QT47_QML -DQ_OS_BLACKBERRY -DQT_DECLARATIVE_DEBUG -DQT_DECLARATIVE_LIB -DQT_CORE_LIB -DQT_SHARED -Ic:/bbndk/target_10_0_9_1673/qnx6/usr/share/qt4/m
C:/bbndk/host_10_0_9_404/win32/x86/usr/bin/moc.exe -DQT_NO_IMPORT_QT47_QML -DQ_OS_BLACKBERRY -DQT_DECLARATIVE_DEBUG -DQT_DECLARATIVE_LIB -DQT_CORE_LIB -DQT_SHARED -Ic:/bbndk/target_10_0_9_1673/qnx6/usr/share/qt4/m
qcc -Vgcc_ntoarmv7le -c -Wc,-include -Wc,o.le-v7-g/.obj/firstMag -Wno-psabi -lang-c++ -fstack-protector-strong -mcpu=cortex-a9 -g -Wno-psabi -Wall -W -D_REENTRANT -DQT_NO_IMPORT_QT47_QML -DQ_OS_BLACKBERRY -DQT_DECLARATIVE_DEBUG -DQT_DECLARATIVE_LIB -DQT_CORE_LIB -DQT_SHARED -Ic:/bbndk/target_10_0_9_1673/qnx6/usr/share/qt4/m
qcc -Vgcc_ntoarmv7le -lang-c++ -Wl,-rpath-link,C:/bbndk/target_10_0_9_1673/qnx6/a
make[2]: Leaving directory `C:/Users/mark/Documents/ndk-10.0.9-workspace/firs
make[1]: Leaving directory `C:/Users/mark/Documents/ndk-10.0.9-workspace/firs
Could not find qmake configuration directoryCould not find qmake configuration fileUsing OS scope before setting MAKEFILE_GENERATORC:\bbndk\host_10_0_9_404\win32\x
C:\bbndk\host_10_0_9_404\win32\x86\usr\bin\ntoarm-
C:/bbndk/target_10_0_9_1673/qnx6/armle-v7/usr/lib/
cc: C:/bbndk/host_10_0_9_404/win32/x86/usr/bin/ntoarm-
make[2]: *** [o.le-v7-g/firstMag] Error 1
make[1]: *** [debug] Error 2
make: *** [Device-Debug] Error 2
**** Build Finished ****
01-07-2013 06:02 PM
C:/bbndk/target_10_0_9_1673/qnx6/armle-v7/usr/lib/
This error message tells to add "-lscreen" to LIBS in .pro file. "lib" is prepended automatically.
01-07-2013 11:14 PM
that fixed it, thanks!! a noobie mistake.