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

Testing and Deployment

Reply
Contributor
schumi1331
Posts: 23
Registered: ‎11-15-2012
My Device: Red Z10 & PlayBook
My Carrier: E-Plus

Launch failed no binaries with Native SDK on OS X

Hello everyone,

 

as I got my Dev Alpha I want to continue developing now on my Mac OS X netbook rather than on my desktop PC. So I downloaded the latest Native SDK for OS X and installed it. After creating a new project (Cascades, the first one) I want to build it and run on the device. But this doesn't work. When clicking on "Run" I get "Launch failed no binaries".

 

When opening main.cpp all includes are underlined yellow with "Undefined inclusion".

 

Opening bar_descriptor.xml the 3rd line of the following entry has an information icon on the left with "Derived asset "Test" is not yet built".

<configuration name="Device-Debug">
<platformArchitecture>armle-v7</platformArchitecture>
<asset path="arm/o.le-v7-g/Test" entry="true" type="Qnx/Elf">Test</asset>
</configuration>

 

All other configurations, except "Simulator-Debug", have the same line underlined, but with a yellow warning symbol on the left and "Source file of asset "Test.so" does not exist.".

 

I already tried reinstalling or updating the SDK but without any change of the problem.

 

SDK version is 10.0.9.1673 (already tried with the latest, I think 23xx) and OS version is 10.6.7. Any ideas what I might have done wrong/not done or how to solve this error?

 

Best Regards,

schumi1331

Please use plain text.
Developer
borceg
Posts: 670
Registered: ‎03-21-2012
My Device: BlackBerry PlayBook 16GB
My Carrier: Vip

Re: Launch failed no binaries with Native SDK on OS X

Right click on your project, Build configurations>Set active and select Device-Debug for testing on Dev Alpha (you need valid debug token). Then rebuild your project
Please use plain text.
Contributor
schumi1331
Posts: 23
Registered: ‎11-15-2012
My Device: Red Z10 & PlayBook
My Carrier: E-Plus

Re: Launch failed no binaries with Native SDK on OS X

Still the same errors in bar_descriptor.xml, main.cpp and the "Launch failed no binaries" dialog when trying to run it :smileysad:
Please use plain text.
Developer
nemory
Posts: 213
Registered: ‎05-21-2012
My Device: BlackBerry RED Z10
My Carrier: WiFi

Re: Launch failed no binaries with Native SDK on OS X

Right Click Project Folder > Build Project > Then Run

Please use plain text.
Contributor
schumi1331
Posts: 23
Registered: ‎11-15-2012
My Device: Red Z10 & PlayBook
My Carrier: E-Plus

Re: Launch failed no binaries with Native SDK on OS X

Nope, doesn't work.

 

Console says 

**** Build of configuration Device-Debug for project Test ****

make Device-Debug 

**** Build Finished ****

 but there is no Binaries direction in Project Explorer and all other errors remains the same...

Please use plain text.
Developer
nemory
Posts: 213
Registered: ‎05-21-2012
My Device: BlackBerry RED Z10
My Carrier: WiFi

Re: Launch failed no binaries with Native SDK on OS X

try replacing the bar-descriptor.xml with a new one

Please use plain text.
Contributor
schumi1331
Posts: 23
Registered: ‎11-15-2012
My Device: Red Z10 & PlayBook
My Carrier: E-Plus

Re: Launch failed no binaries with Native SDK on OS X

Doesn't work, as new created project has exactly the same errors...
Please use plain text.
Developer
nemory
Posts: 213
Registered: ‎05-21-2012
My Device: BlackBerry RED Z10
My Carrier: WiFi

Re: Launch failed no binaries with Native SDK on OS X

Have you tried restarting QNX IDE? also even restarting your computer? I really remembered I ran into that problem and fixed it. but I forgot what I really did. also what version of the SDK you using? I suggest you update it. Clicking the REFRESH icon on the tool bar

Please use plain text.
Developer
nemory
Posts: 213
Registered: ‎05-21-2012
My Device: BlackBerry RED Z10
My Carrier: WiFi

Re: Launch failed no binaries with Native SDK on OS X

Oh I forgot. Try Cleaning your project too bro.

Please use plain text.
Contributor
schumi1331
Posts: 23
Registered: ‎11-15-2012
My Device: Red Z10 & PlayBook
My Carrier: E-Plus

Re: Launch failed no binaries with Native SDK on OS X

Tried cleaning, rebuilding, restarting IDE and restarting the netbook. No effect or change at all. Still the same errors there.

I tried updating in the morning (I'm using 10.0.9.1673, see #1), but this didn't changed anything...
Please use plain text.