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
BlackBerry Development Advisor
Posts: 15,723
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: Missing 10.2 headless app sample

No problem.  The zip file of the sample was updated yesterday as well.

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Contributor
Posts: 13
Registered: ‎06-14-2011
My Device: -
My Carrier: -

Re: Missing 10.2 headless app sample

Hi, I tried to compile and test the example PushCollector for 10.2 SDK but I don't compile correctly and the message didn't provide sufficient information to be able to fix it.

 

E:\bbndk-beta\host_10_2_0_15\win32\x86\usr\bin\ntox86-ld: skipping incompatible ../../pushCollectorCommon/arm/libpushCollectorCommon.so when searching for -lpushCollectorCommon

 

make[2]: Leaving directory E:/workspace/pushCollector/x86

 

make[1]: Leaving directory E:/workspace/pushCollector/x86

 

E:\bbndk-beta\host_10_2_0_15\win32\x86\usr\bin\ntox86-ld: cannot find -lpushCollectorCommon

 

cc: E:/bbndk-beta/host_10_2_0_15/win32/x86/usr/bin/ntox86-ld caught signal 1

 

make[2]: *** [o-g/pushCollector] Error 1

 

make[1]: *** [debug] Error 2 make: *** [Simulator-Debug] Error 2

 

Working on a PC with Windows and use the latest version of Momentics.

 

Greetings,

Gonzalo

Highlighted
Retired
Posts: 2,559
Registered: ‎10-16-2009
My Device: BlackBerry Z10
My Carrier: Bell

Re: Missing 10.2 headless app sample

Hi Gonzalo,

 

The sample builds fine on my side when testing. Please try cleaning the project then re-build only the main pushCollector project which will cause the others to build in dependency sequence.

Garett
@garettBeuk
--
Goodbye everybody!
Contributor
Posts: 13
Registered: ‎06-14-2011
My Device: -
My Carrier: -

Re: Missing 10.2 headless app sample

Thanks Garett,

 

Certainly, the order in the build sequence is very important. When I built in the correct order I've could generate PushCollector project package correctly and then I could deploy to the device. The sequence is as follows, in case someone has the same problem:

 

 - Clean all projects

 - Build 'pushCollectorCommon'

 - Build 'pushCollectorHeadless'

 - Build 'pushCollector'

 - Run 'pushCollector' to the device (I've used a Dev Alpha B with 10.2.0.1445, on simulator doesn't work) 

 

Cheers,

Gonzalo.