01-29-2013 10:07 AM
Hi Guys,
I am getting bellow error at compile time :
C:/bbndk/target_10_0_9_1673/qnx6/armle-v7/usr/lib/
make[1]: Leaving directory `C:/BBWorkspace/MyApp/arm'
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/MyApp] Error 1
make[1]: *** [debug] Error 2
make: *** [Device-Debug] Error 2
and if i block bellow to line of code then I am not getting above compile time error:
const bb::ImageData imageData = bb::ImageData::fromPixels(swappedImage.bits(), bb:
ixelFormat::RGBX, swappedImage.width(), swappedImage.height(), swappedImage.bytesPerLine());
m_image = bb::cascades::Image(imageData);
MyApp.pro
APP_NAME = MyApp
CONFIG += qt warn_on cascades10
QT += core
QT += xml
QT += network
include(config.pri)
Is ther any thing missing in .pro file?
Solved! Go to Solution.
01-29-2013 10:31 AM
add the following line to your .pro file: LIBS += -lbb
fixed my issue
05-15-2013 06:34 AM - edited 05-15-2013 06:47 AM
I have also same problem here is my console output after build
**** Build of configuration Simulator-Debug for project fiume ****
make Simulator-Debug
make -C .//translations -f Makefile update
make[1]: Entering directory `C:/blackberry development/fiume/translations'
C:/bbndk/host_10_0_9_404/win32/x86/usr/bin/lupdate fiume.pro
Updating 'fiume.ts'...
Found 34 source text(s) (0 new and 34 already existing)
make[1]: Leaving directory `C:/blackberry development/fiume/translations'
make -C .//translations -f Makefile release
make[1]: Entering directory `C:/blackberry development/fiume/translations'
C:/bbndk/host_10_0_9_404/win32/x86/usr/bin/lreleas
Could not find qmake configuration fileUsing OS scope before setting MAKEFILE_GENERATORC:/bbndk/target_10_0_9_1673/qnx6
Updating 'C:/blackberry development/fiume/translations/fiume.qm'...
Generated 0 translation(s) (0 finished and 0 unfinished)
Ignored 34 untranslated source text(s)
make[1]: Leaving directory `C:/blackberry development/fiume/translations'
cd x86 && C:/bbndk/host_10_0_9_404/win32/x86/usr/bin/qmake -spec blackberry-x86-qcc ../fiume.pro CONFIG+=debug_and_release CONFIG+=simulator
make -C ./x86 -f Makefile debug
make[1]: Entering directory `C:/blackberry development/fiume/x86'
make -f Makefile.Debug
make[2]: Entering directory `C:/blackberry development/fiume/x86'
qcc -Vgcc_ntox86 -lang-c++ -Wl,-rpath-link,C:/bbndk/target_10_0_9_1673/qnx6/x
Could 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\ntox86-
C:\bbndk\host_10_0_9_404\win32\x86\usr\bin\ntox86-
C:\bbndk\host_10_0_9_404\win32\x86\usr\bin\ntox86-
C:\bbndk\host_10_0_9_404\win32\x86\usr\bin\ntox86-
C:\bbndk\host_10_0_9_404\win32\x86\usr\bin\ntox86-
C:\bbndk\host_10_0_9_404\win32\x86\usr\bin\ntox86-
C:\bbndk\host_10_0_9_404\win32\x86\usr\bin\ntox86-
C:\bbndk\host_10_0_9_404\win32\x86\usr\bin\ntox86-
C:\bbndk\host_10_0_9_404\win32\x86\usr\bin\ntox86-
C:\bbndk\host_10_0_9_404\win32\x86\usr\bin\ntox86-
C:\bbndk\host_10_0_9_404\win32\x86\usr\bin\ntox86-
C:\bbndk\host_10_0_9_404\win32\x86\usr\bin\ntox86-
C:\bbndk\host_10_0_9_404\win32\x86\usr\bin\ntox86-
C:\bbndk\host_10_0_9_404\win32\x86\usr\bin\ntox86-
C:\bbndk\host_10_0_9_404\win32\x86\usr\bin\ntox86-
C:\bbndk\host_10_0_9_404\win32\x86\usr\bin\ntox86-
C:\bbndk\host_10_0_9_404\win32\x86\usr\bin\ntox86-
C:\bbndk\host_10_0_9_404\win32\x86\usr\bin\ntox86-
C:\bbndk\host_10_0_9_404\win32\x86\usr\bin\ntox86-
C:\bbndk\host_10_0_9_404\win32\x86\usr\bin\ntox86-
C:\bbndk\host_10_0_9_404\win32\x86\usr\bin\ntox86-
C:\bbndk\host_10_0_9_404\win32\x86\usr\bin\ntox86-
C:\bbndk\host_10_0_9_404\win32\x86\usr\bin\ntox86-
C:\bbndk\host_10_0_9_404\win32\x86\usr\bin\ntox86-
C:\bbndk\host_10_0_9_404\win32\x86\usr\bin\ntox86-
C:\bbndk\host_10_0_9_404\win32\x86\usr\bin\ntox86-
C:\bbndk\host_10_0_9_404\win32\x86\usr\bin\ntox86-
C:\bbndk\host_10_0_9_404\win32\x86\usr\bin\ntox86-
C:\bbndk\host_10_0_9_404\win32\x86\usr\bin\ntox86-
C:\bbndk\host_10_0_9_404\win32\x86\usr\bin\ntox86-
C:\bbndk\host_10_0_9_404\win32\x86\usr\bin\ntox86-
C:\bbndk\host_10_0_9_404\win32\x86\usr\bin\ntox86-
C:\bbndk\host_10_0_9_404\win32\x86\usr\bin\ntox86-
C:\bbndk\host_10_0_9_404\win32\x86\usr\bin\ntox86-
C:\bbndk\host_10_0_9_404\win32\x86\usr\bin\ntox86-
C:\bbndk\host_10_0_9_404\win32\x86\usr\bin\ntox86-
C:\bbndk\host_10_0_9_404\win32\x86\usr\bin\ntox86-
C:\bbndk\host_10_0_9_404\win32\x86\usr\bin\ntox86-
C:\bbndk\host_10_0_9_404\win32\x86\usr\bin\ntox86-
C:\bbndk\host_10_0_9_404\win32\x86\usr\bin\ntox86-
cc: C:/bbndk/host_10_0_9_404/win32/x86/usr/bin/ntox86-
make[2]: Leaving directory `C:/blackberry development/fiume/x86'
make[2]: *** [o-g/fiume] Error 1
make[1]: *** [debug] Error 2
make: *** [Simulator-Debug] Error 2
make[1]: Leaving directory `C:/blackberry development/fiume/x86'
**** Build Finished ****
plz help me ...
thanks in advamce
05-17-2013 01:35 AM
i have built the project. The following errors are comming
Description Resource Path Location Type
make: *** [Simulator-Debug] Error 2 Fiume C/C++ Problem
make[1]: *** [debug] Error 2 Fiume C/C++ Problem
make[2]: *** [o-g/Fiume] Error 1 Fiume C/C++ Problem
plz help me
thanks in advance