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.

inside custom component

Native Development

Reply
Regular Contributor
CrozyBB
Posts: 83
Registered: ‎07-19-2012
My Device: Bold 9790, Dev Alpha A
Accepted Solution

New Cascades Camera App not loading

Hey Folks,

Just downloaded and installed the new beta2 NDK and wanted to test out the new sample camera cascades app provided on the dev website.

 

Unfortunately I get the error "Launch failed no binaries". Anyone else experiencing this? I looked through other forum posts but they didnt help...

BlackBerry Development Advisor (Retired)
amarcon
Posts: 155
Registered: ‎07-16-2012
My Device: Dev Alpha

Re: New Cascades Camera App not loading

Hello,

 

try the steps bellow,

 

  1. In the Project Explorer, right-click the project and click Build Configurations > Set Active and choose whether you want the application to run on a device (Device-Release) or the simulator (Simulator).
  2. Right-click the project and click Build Project.
  3. Right-click the project again and click Run AsBlackBerry C/C++ Application .

you can find more information about how to import and run the sample apps under the link bellow,

 

https://developer.blackberry.com/native/beta/documentation/com.qnx.doc.native_sdk.quickstart/topic/r...

 

Hope this helps.

 

Alex

Regular Contributor
CrozyBB
Posts: 83
Registered: ‎07-19-2012
My Device: Bold 9790, Dev Alpha A

Re: New Cascades Camera App not loading

Thanks for the reply Alex.

 

I've already set up the dev environment and I have other apps running no problem, even ones that are new to the beta2 release (i.e. Bucketlist). I've always done the same thing that you listed when running apps on the simulator so I'm not sure why this one app will not work.

 

Has anyone else been able to get the Photobomber sample app to work in the new beta2 SDK?

BlackBerry Development Advisor (Retired)
smacmartin
Posts: 499
Registered: ‎05-07-2012
My Device: developer

Re: New Cascades Camera App not loading

Can you post your build log?

 

Stuart

Regular Contributor
CrozyBB
Posts: 83
Registered: ‎07-19-2012
My Device: Bold 9790, Dev Alpha A

Re: New Cascades Camera App not loading

**** Build of configuration Simulator-Debug for project photobomber ****

make Simulator-Debug
G:/Software/BB_10SDK_Beta2/host_10_0_6_1/win32/x86/usr/bin/qmake -spec unsupported/blackberry-armv7le-g++ -o arm/Makefile photobomber.pro CONFIG+=device
WARNING: Failure to find: ../src/*.hpp
WARNING: Failure to find: ../src/*.hpp
G:/Software/BB_10SDK_Beta2/host_10_0_6_1/win32/x86/usr/bin/qmake -spec unsupported/blackberry-x86-g++ -o x86/Makefile photobomber.pro CONFIG+=simulator
WARNING: Failure to find: ../src/*.hpp
WARNING: Failure to find: ../src/*.hpp
make -C ./translations -f Makefile update release
make[1]: Entering directory `C:/ndk-10.0.4-workspace/photobomber/translations'
G:/Software/BB_10SDK_Beta2/host_10_0_6_1/win32/x86/usr/bin/lupdate photobomber.pro
Updating 'photobomber_en_GB.ts'...
    Found 0 source text(s) (0 new and 0 already existing)
Updating 'photobomber_fr.ts'...
    Found 0 source text(s) (0 new and 0 already existing)
Updating 'photobomber_it.ts'...
    Found 0 source text(s) (0 new and 0 already existing)
Updating 'photobomber_de.ts'...
    Found 0 source text(s) (0 new and 0 already existing)
Updating 'photobomber_es.ts'...
    Found 0 source text(s) (0 new and 0 already existing)
Updating 'photobomber.ts'...
    Found 0 source text(s) (0 new and 0 already existing)
G:/Software/BB_10SDK_Beta2/host_10_0_6_1/win32/x86/usr/bin/lrelease photobomber.pro
Could not find qmake configuration directoryCould not read qmake configuration file G:/Software/BB_10SDK_Beta2/target_10_0_6_384/qnx6/usr/share/qt4/mkspecs/qmake.confUsing OS scope before setting MAKEFILE_GENERATORG:/Software/BB_10SDK_Beta2/target_10_0_6_384/qnx6/usr/share/qt4/mkspecs/features/debug_and_release.prf(1): Using OS scope before setting MAKEFILE_GENERATORG:/Software/BB_10SDK_Beta2/target_10_0_6_384/qnx6/usr/share/qt4/mkspecs/features/qt.prf(4): Using OS scope before setting MAKEFILE_GENERATORG:/Software/BB_10SDK_Beta2/target_10_0_6_384/qnx6/usr/share/qt4/mkspecs/features/qt.prf(36): Using OS scope before setting MAKEFILE_GENERATORG:/Software/BB_10SDK_Beta2/target_10_0_6_384/qnx6/usr/share/qt4/mkspecs/features/qt.prf(197): 'qtAddLibrary' is not a recognized test functionG:/Software/BB_10SDK_Beta2/target_10_0_6_384/qnx6/usr/share/qt4/mkspecs/features/qt.prf(197): 'qtAddLibrary' is not a recognized test functionG:/Software/BB_10SDK_Beta2/target_10_0_6_384/qnx6/usr/share/qt4/mkspecs/features/qt.prf(197): 'qtAddLibrary' is not a recognized test functionG:/Software/BB_10SDK_Beta2/target_10_0_6_384/qnx6/usr/share/qt4/mkspecs/features/qt.prf(197): 'qtAddLibrary' is not a recognized test functionG:/Software/BB_10SDK_Beta2/target_10_0_6_384/qnx6/usr/share/qt4/mkspecs/features/qt.prf(197): 'qtAddLibrary' is not a recognized test functionG:/Software/BB_10SDK_Beta2/target_10_0_6_384/qnx6/usr/share/qt4/mkspecs/features/qt.prf(197): 'qtAddLibrary' is not a recognized test functionG:/Software/BB_10SDK_Beta2/target_10_0_6_384/qnx6/usr/share/qt4/mkspecs/features/qt.prf(197): 'qtAddLibrary' is not a recognized test functionG:/Software/BB_10SDK_Beta2/target_10_0_6_384/qnx6/usr/share/qt4/mkspecs/features/qt.prf(213): Using OS scope before setting MAKEFILE_GENERATORG:/Software/BB_10SDK_Beta2/target_10_0_6_384/qnx6/usr/share/qt4/mkspecs/features/moc.prf(3): 'qtPrepareTool' is not a recognized test functionG:/Software/BB_10SDK_Beta2/target_10_0_6_384/qnx6/usr/share/qt4/mkspecs/features/moc.prf(12): Using OS scope before setting MAKEFILE_GENERATORG:/Software/BB_10SDK_Beta2/target_10_0_6_384/qnx6/usr/share/qt4/mkspecs/features/moc.prf(97): Using OS scope before setting MAKEFILE_GENERATORG:/Software/BB_10SDK_Beta2/target_10_0_6_384/qnx6/usr/share/qt4/mkspecs/features/uic.prf(108): Using OS scope before setting MAKEFILE_GENERATORThe directory name is invalid.
Updating 'C:/ndk-10.0.4-workspace/photobomber/translations/photobomber_en_GB.qm'...
    Generated 0 translation(s) (0 finished and 0 unfinished)
Updating 'C:/ndk-10.0.4-workspace/photobomber/translations/photobomber_fr.qm'...
    Generated 0 translation(s) (0 finished and 0 unfinished)
Updating 'C:/ndk-10.0.4-workspace/photobomber/translations/photobomber_it.qm'...
    Generated 0 translation(s) (0 finished and 0 unfinished)
Updating 'C:/ndk-10.0.4-workspace/photobomber/translations/photobomber_de.qm'...
    Generated 0 translation(s) (0 finished and 0 unfinished)
Updating 'C:/ndk-10.0.4-workspace/photobomber/translations/photobomber_es.qm'...
    Generated 0 translation(s) (0 finished and 0 unfinished)
Updating 'C:/ndk-10.0.4-workspace/photobomber/translations/photobomber.qm'...
    Generated 0 translation(s) (0 finished and 0 unfinished)
make[1]: Leaving directory `C:/ndk-10.0.4-workspace/photobomber/translations'
make -C ./x86 -f Makefile debug
make[1]: Entering directory `C:/ndk-10.0.4-workspace/photobomber/x86'
make -f Makefile.Debug
make[2]: Entering directory `C:/ndk-10.0.4-workspace/photobomber/x86'
qcc -Vgcc_ntox86 -lang-c++ -Wl,-rpath-link,G:/Software/BB_10SDK_Beta2/target_10_0_6_384/qnx6/x86/lib -Wl,-rpath-link,G:/Software/BB_10SDK_Beta2/target_10_0_6_384/qnx6/x86/usr/lib -o o-g/photobomber o-g/.obj/main.o o-g/.obj/photobomberapp.o o-g/.obj/moc_photobomberapp.o    -LG:/Software/BB_10SDK_Beta2/target_10_0_6_384/qnx6/x86/lib -LG:/Software/BB_10SDK_Beta2/target_10_0_6_384/qnx6/x86/usr/lib -LG:/Software/BB_10SDK_Beta2/target_10_0_6_384/qnx6/x86/usr/lib/qt4/lib -LG:/Software/BB_10SDK_Beta2/target_10_0_6_384/qnx6/usr/lib/qt4/lib -lm -lbps -lcamapi -lscreen -lbbcascadesmultimedia -lbbsystem -lbb -lbbcascades -lQtDeclarative -lQtScript -lQtSvg -lQtSql -lQtXmlPatterns -lQtXml -lQtGui -lQtNetwork -lQtCore
Could not find qmake configuration directoryCould not find qmake configuration fileUsing OS scope before setting MAKEFILE_GENERATORG:\Software\BB_10SDK_Beta2\host_10_0_6_1\win32\x86\usr\bin\ntox86-ld: cannot find -lbbcascadesmultimedia
make[2]: Leaving directory `C:/ndk-10.0.4-workspace/photobomber/x86'
cc: G:/Software/BB_10SDK_Beta2/host_10_0_6_1/win32/x86/usr/bin/ntox86-ld caught signal 1
make[2]: *** [o-g/photobomber] Error 1
make[1]: Leaving directory `C:/ndk-10.0.4-workspace/photobomber/x86'
make[1]: *** [debug] Error 2
make: *** [Simulator-Debug] Error 2

**** Build Finished ****

BlackBerry Development Advisor
smcveigh
Posts: 668
Registered: ‎11-29-2011
My Device: developer

Re: New Cascades Camera App not loading

Are you trying to build for simulator or device?  because your build log says you were building for simulator.

I'm not sure if multimedia or camera support works on simulator.

Regular Contributor
CrozyBB
Posts: 83
Registered: ‎07-19-2012
My Device: Bold 9790, Dev Alpha A

Re: New Cascades Camera App not loading

Thanks, I had a feeling that was the issue

Regular Contributor
CrozyBB
Posts: 83
Registered: ‎07-19-2012
My Device: Bold 9790, Dev Alpha A

Re: New Cascades Camera App not loading

Also, I've been finding that with the new Beta2 release there have been a lot of compile errors because LIBS have been left out of the app.pro file....that could be the issue here too

BlackBerry Development Advisor (Retired)
amarcon
Posts: 155
Registered: ‎07-16-2012
My Device: Dev Alpha

Re: New Cascades Camera App not loading

[ Edited ]

I got the app building and running fine over the device so, we have logged an issue on this for simulator.

 

https://www.blackberry.com/jira/browse/BBTEN-132