Welcome!

Welcome to the Official BlackBerry Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Cascades Development

Reply
Developer
Shwarup
Posts: 93
Registered: ‎08-18-2011
My Carrier: At&T
Accepted Solution

make[2]: *** [o.le-v7-g/MyApp] Error 1

Hi Guys,

 

I am getting bellow error at compile time :

 

C:/bbndk/target_10_0_9_1673/qnx6/armle-v7/usr/lib/libbb.so.1 so try adding it to the linker command line

make[1]: Leaving directory `C:/BBWorkspace/MyApp/arm'

C:/bbndk/target_10_0_9_1673/qnx6/armle-v7/usr/lib/libbb.so.1: could not read symbols: Invalid operation

cc: C:/bbndk/host_10_0_9_404/win32/x86/usr/bin/ntoarm-ld caught signal 1

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::smileytongue: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?

 

 

Thanks,

Shwarup Biswas
Please use plain text.
Developer
Shwarup
Posts: 93
Registered: ‎08-18-2011
My Carrier: At&T

Re: make[2]: *** [o.le-v7-g/MyApp] Error 1

add the following line to your .pro file: LIBS += -lbb

fixed my issue

 

 

 

 

 

Thanks,

Shwarup Biswas
Please use plain text.
Contributor
ashish_developer
Posts: 43
Registered: ‎05-15-2013
My Carrier: blackberry

Re: make[2]: *** [o.le-v7-g/MyApp] Error 1

[ Edited ]

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/lrelease fiume.pro
Could not find qmake configuration fileUsing OS scope before setting MAKEFILE_GENERATORC:/bbndk/target_10_0_9_1673/qnx6/usr/share/qt4/mkspecs/features/mobility.prf(29): Using OS scope before setting MAKEFILE_GENERATORC:/bbndk/target_10_0_9_1673/qnx6/usr/share/qt4/mkspecs/features/mobility.prf(41): Using OS scope before setting MAKEFILE_GENERATORC:/bbndk/target_10_0_9_1673/qnx6/usr/share/qt4/mkspecs/features/mobility.prf(23): 'qtAddLibrary' is not a recognized test functionC:/bbndk/target_10_0_9_1673/qnx6/usr/share/qt4/mkspecs/features/mobility.prf(133): Using OS scope before setting MAKEFILE_GENERATORC:/bbndk/target_10_0_9_1673/qnx6/usr/share/qt4/mkspecs/features/qt.prf(4): Using OS scope before setting MAKEFILE_GENERATORC:/bbndk/target_10_0_9_1673/qnx6/usr/share/qt4/mkspecs/features/qt.prf(36): Using OS scope before setting MAKEFILE_GENERATORC:/bbndk/target_10_0_9_1673/qnx6/usr/share/qt4/mkspecs/features/qt.prf(197): 'qtAddLibrary' is not a recognized test functionC:/bbndk/target_10_0_9_1673/qnx6/usr/share/qt4/mkspecs/features/qt.prf(213): Using OS scope before setting MAKEFILE_GENERATORC:/bbndk/target_10_0_9_1673/qnx6/usr/share/qt4/mkspecs/features/moc.prf(3): 'qtPrepareTool' is not a recognized test functionC:/bbndk/target_10_0_9_1673/qnx6/usr/share/qt4/mkspecs/features/moc.prf(12): Using OS scope before setting MAKEFILE_GENERATORC:/bbndk/target_10_0_9_1673/qnx6/usr/share/qt4/mkspecs/features/moc.prf(97): Using OS scope before setting MAKEFILE_GENERATORC:/bbndk/target_10_0_9_1673/qnx6/usr/share/qt4/mkspecs/features/uic.prf(108): Using OS scope before setting MAKEFILE_GENERATORThe directory name is invalid.
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/x86/lib -Wl,-rpath-link,C:/bbndk/target_10_0_9_1673/qnx6/x86/usr/lib -Wl,-rpath-link,C:/bbndk/target_10_0_9_1673/qnx6/x86/usr/lib/qt4/lib -o o-g/fiume o-g/.obj/AddressBook.o o-g/.obj/AudioManager.o o-g/.obj/BpsPlatform.o o-g/.obj/ContactEditor.o o-g/.obj/ContactViewer.o o-g/.obj/Fiume.o o-g/.obj/PjCallback.o o-g/.obj/buddy.o o-g/.obj/callhistory.o o-g/.obj/callhistoryrecord.o o-g/.obj/debugger.o o-g/.obj/kuzaranda.o o-g/.obj/main.o o-g/.obj/navigator.o o-g/.obj/moc_AddressBook.o o-g/.obj/moc_AudioManager.o o-g/.obj/moc_BpsPlatform.o o-g/.obj/moc_ContactEditor.o o-g/.obj/moc_ContactViewer.o o-g/.obj/moc_Fiume.o o-g/.obj/moc_PjCallback.o o-g/.obj/moc_buddy.o o-g/.obj/moc_callhistory.o o-g/.obj/moc_callhistoryrecord.o o-g/.obj/moc_debugger.o o-g/.obj/moc_kuzaranda.o o-g/.obj/moc_navigator.o -LC:/bbndk/target_10_0_9_1673/qnx6/x86/lib -LC:/bbndk/target_10_0_9_1673/qnx6/x86/usr/lib -LC:/bbndk/target_10_0_9_1673/qnx6/x86/usr/lib/qt4/lib -LC:/bbndk/target_10_0_9_1673/qnx6//usr/lib/qt4/lib -L../lib -L../lib/upnp -lpjsua-arm-unknown-nto-qnx8.0.0eabi -lpjsip-ua-arm-unknown-nto-qnx8.0.0eabi -lpjsip-simple-arm-unknown-nto-qnx8.0.0eabi -lpjsip-arm-unknown-nto-qnx8.0.0eabi -lpjmedia-codec-arm-unknown-nto-qnx8.0.0eabi -lpjmedia-videodev-arm-unknown-nto-qnx8.0.0eabi -lpjmedia-arm-unknown-nto-qnx8.0.0eabi -lpjmedia-audiodev-arm-unknown-nto-qnx8.0.0eabi -lpjnath-arm-unknown-nto-qnx8.0.0eabi -lpjlib-util-arm-unknown-nto-qnx8.0.0eabi -lresample-arm-unknown-nto-qnx8.0.0eabi -lmilenage-arm-unknown-nto-qnx8.0.0eabi -lsrtp-arm-unknown-nto-qnx8.0.0eabi -lgsmcodec-arm-unknown-nto-qnx8.0.0eabi -lspeex-arm-unknown-nto-qnx8.0.0eabi -lilbccodec-arm-unknown-nto-qnx8.0.0eabi -lg7221codec-arm-unknown-nto-qnx8.0.0eabi -lportaudio-arm-unknown-nto-qnx8.0.0eabi -lpj-arm-unknown-nto-qnx8.0.0eabi -lasound -lcrypto -lssl -lbbpim -laudio_manager -lbbsystem -lbbplatform -lscreen -lminiupnpc -lbb -LC:/bbndk/target_10_0_9_1673/qnx6/usr/share/qt4/lib -lQtSensors -lbbcascades -lQtDeclarative -lQtScript -lQtSvg -lQtSql -lsqlite3 -lz -lQtXmlPatterns -lQtGui -lQtNetwork -lsocket -lQtCore -lm -lbps
Could not find qmake configuration fileUsing OS scope before setting MAKEFILE_GENERATORC:\bbndk\host_10_0_9_404\win32\x86\usr\bin\ntox86-ld: skipping incompatible ../lib\libpjsua-arm-unknown-nto-qnx8.0.0eabi.a when searching for -lpjsua-arm-unknown-nto-qnx8.0.0eabi
C:\bbndk\host_10_0_9_404\win32\x86\usr\bin\ntox86-ld: cannot find -lpjsua-arm-unknown-nto-qnx8.0.0eabi
C:\bbndk\host_10_0_9_404\win32\x86\usr\bin\ntox86-ld: skipping incompatible ../lib\libpjsip-ua-arm-unknown-nto-qnx8.0.0eabi.a when searching for -lpjsip-ua-arm-unknown-nto-qnx8.0.0eabi
C:\bbndk\host_10_0_9_404\win32\x86\usr\bin\ntox86-ld: cannot find -lpjsip-ua-arm-unknown-nto-qnx8.0.0eabi
C:\bbndk\host_10_0_9_404\win32\x86\usr\bin\ntox86-ld: skipping incompatible ../lib\libpjsip-simple-arm-unknown-nto-qnx8.0.0eabi.a when searching for -lpjsip-simple-arm-unknown-nto-qnx8.0.0eabi
C:\bbndk\host_10_0_9_404\win32\x86\usr\bin\ntox86-ld: cannot find -lpjsip-simple-arm-unknown-nto-qnx8.0.0eabi
C:\bbndk\host_10_0_9_404\win32\x86\usr\bin\ntox86-ld: skipping incompatible ../lib\libpjsip-arm-unknown-nto-qnx8.0.0eabi.a when searching for -lpjsip-arm-unknown-nto-qnx8.0.0eabi
C:\bbndk\host_10_0_9_404\win32\x86\usr\bin\ntox86-ld: cannot find -lpjsip-arm-unknown-nto-qnx8.0.0eabi
C:\bbndk\host_10_0_9_404\win32\x86\usr\bin\ntox86-ld: skipping incompatible ../lib\libpjmedia-codec-arm-unknown-nto-qnx8.0.0eabi.a when searching for -lpjmedia-codec-arm-unknown-nto-qnx8.0.0eabi
C:\bbndk\host_10_0_9_404\win32\x86\usr\bin\ntox86-ld: cannot find -lpjmedia-codec-arm-unknown-nto-qnx8.0.0eabi
C:\bbndk\host_10_0_9_404\win32\x86\usr\bin\ntox86-ld: skipping incompatible ../lib\libpjmedia-videodev-arm-unknown-nto-qnx8.0.0eabi.a when searching for -lpjmedia-videodev-arm-unknown-nto-qnx8.0.0eabi
C:\bbndk\host_10_0_9_404\win32\x86\usr\bin\ntox86-ld: cannot find -lpjmedia-videodev-arm-unknown-nto-qnx8.0.0eabi
C:\bbndk\host_10_0_9_404\win32\x86\usr\bin\ntox86-ld: skipping incompatible ../lib\libpjmedia-arm-unknown-nto-qnx8.0.0eabi.a when searching for -lpjmedia-arm-unknown-nto-qnx8.0.0eabi
C:\bbndk\host_10_0_9_404\win32\x86\usr\bin\ntox86-ld: cannot find -lpjmedia-arm-unknown-nto-qnx8.0.0eabi
C:\bbndk\host_10_0_9_404\win32\x86\usr\bin\ntox86-ld: skipping incompatible ../lib\libpjmedia-audiodev-arm-unknown-nto-qnx8.0.0eabi.a when searching for -lpjmedia-audiodev-arm-unknown-nto-qnx8.0.0eabi
C:\bbndk\host_10_0_9_404\win32\x86\usr\bin\ntox86-ld: cannot find -lpjmedia-audiodev-arm-unknown-nto-qnx8.0.0eabi
C:\bbndk\host_10_0_9_404\win32\x86\usr\bin\ntox86-ld: skipping incompatible ../lib\libpjnath-arm-unknown-nto-qnx8.0.0eabi.a when searching for -lpjnath-arm-unknown-nto-qnx8.0.0eabi
C:\bbndk\host_10_0_9_404\win32\x86\usr\bin\ntox86-ld: cannot find -lpjnath-arm-unknown-nto-qnx8.0.0eabi
C:\bbndk\host_10_0_9_404\win32\x86\usr\bin\ntox86-ld: skipping incompatible ../lib\libpjlib-util-arm-unknown-nto-qnx8.0.0eabi.a when searching for -lpjlib-util-arm-unknown-nto-qnx8.0.0eabi
C:\bbndk\host_10_0_9_404\win32\x86\usr\bin\ntox86-ld: cannot find -lpjlib-util-arm-unknown-nto-qnx8.0.0eabi
C:\bbndk\host_10_0_9_404\win32\x86\usr\bin\ntox86-ld: skipping incompatible ../lib\libresample-arm-unknown-nto-qnx8.0.0eabi.a when searching for -lresample-arm-unknown-nto-qnx8.0.0eabi
C:\bbndk\host_10_0_9_404\win32\x86\usr\bin\ntox86-ld: cannot find -lresample-arm-unknown-nto-qnx8.0.0eabi
C:\bbndk\host_10_0_9_404\win32\x86\usr\bin\ntox86-ld: skipping incompatible ../lib\libmilenage-arm-unknown-nto-qnx8.0.0eabi.a when searching for -lmilenage-arm-unknown-nto-qnx8.0.0eabi
C:\bbndk\host_10_0_9_404\win32\x86\usr\bin\ntox86-ld: cannot find -lmilenage-arm-unknown-nto-qnx8.0.0eabi
C:\bbndk\host_10_0_9_404\win32\x86\usr\bin\ntox86-ld: skipping incompatible ../lib\libsrtp-arm-unknown-nto-qnx8.0.0eabi.a when searching for -lsrtp-arm-unknown-nto-qnx8.0.0eabi
C:\bbndk\host_10_0_9_404\win32\x86\usr\bin\ntox86-ld: cannot find -lsrtp-arm-unknown-nto-qnx8.0.0eabi
C:\bbndk\host_10_0_9_404\win32\x86\usr\bin\ntox86-ld: skipping incompatible ../lib\libgsmcodec-arm-unknown-nto-qnx8.0.0eabi.a when searching for -lgsmcodec-arm-unknown-nto-qnx8.0.0eabi
C:\bbndk\host_10_0_9_404\win32\x86\usr\bin\ntox86-ld: cannot find -lgsmcodec-arm-unknown-nto-qnx8.0.0eabi
C:\bbndk\host_10_0_9_404\win32\x86\usr\bin\ntox86-ld: skipping incompatible ../lib\libspeex-arm-unknown-nto-qnx8.0.0eabi.a when searching for -lspeex-arm-unknown-nto-qnx8.0.0eabi
C:\bbndk\host_10_0_9_404\win32\x86\usr\bin\ntox86-ld: cannot find -lspeex-arm-unknown-nto-qnx8.0.0eabi
C:\bbndk\host_10_0_9_404\win32\x86\usr\bin\ntox86-ld: skipping incompatible ../lib\libilbccodec-arm-unknown-nto-qnx8.0.0eabi.a when searching for -lilbccodec-arm-unknown-nto-qnx8.0.0eabi
C:\bbndk\host_10_0_9_404\win32\x86\usr\bin\ntox86-ld: cannot find -lilbccodec-arm-unknown-nto-qnx8.0.0eabi
C:\bbndk\host_10_0_9_404\win32\x86\usr\bin\ntox86-ld: skipping incompatible ../lib\libg7221codec-arm-unknown-nto-qnx8.0.0eabi.a when searching for -lg7221codec-arm-unknown-nto-qnx8.0.0eabi
C:\bbndk\host_10_0_9_404\win32\x86\usr\bin\ntox86-ld: cannot find -lg7221codec-arm-unknown-nto-qnx8.0.0eabi
C:\bbndk\host_10_0_9_404\win32\x86\usr\bin\ntox86-ld: skipping incompatible ../lib\libportaudio-arm-unknown-nto-qnx8.0.0eabi.a when searching for -lportaudio-arm-unknown-nto-qnx8.0.0eabi
C:\bbndk\host_10_0_9_404\win32\x86\usr\bin\ntox86-ld: cannot find -lportaudio-arm-unknown-nto-qnx8.0.0eabi
C:\bbndk\host_10_0_9_404\win32\x86\usr\bin\ntox86-ld: skipping incompatible ../lib\libpj-arm-unknown-nto-qnx8.0.0eabi.a when searching for -lpj-arm-unknown-nto-qnx8.0.0eabi
C:\bbndk\host_10_0_9_404\win32\x86\usr\bin\ntox86-ld: cannot find -lpj-arm-unknown-nto-qnx8.0.0eabi
C:\bbndk\host_10_0_9_404\win32\x86\usr\bin\ntox86-ld: skipping incompatible ../lib\libminiupnpc.a when searching for -lminiupnpc
C:\bbndk\host_10_0_9_404\win32\x86\usr\bin\ntox86-ld: skipping incompatible ../lib/upnp\libminiupnpc.a when searching for -lminiupnpc
C:\bbndk\host_10_0_9_404\win32\x86\usr\bin\ntox86-ld: cannot find -lminiupnpc
cc: C:/bbndk/host_10_0_9_404/win32/x86/usr/bin/ntox86-ld caught signal 1
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

 

 

Please use plain text.
Contributor
ashish_developer
Posts: 43
Registered: ‎05-15-2013
My Carrier: blackberry

Re: make[2]: *** [o.le-v7-g/MyApp] Error 1

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

Please use plain text.