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


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


Reply
New Contributor
Posts: 6
Registered: ‎01-22-2012
My Device: Playbook
My Carrier: N.A.
Accepted Solution

Cannot compile sample apps with BB10 Native SDK

Hi,

 

I downloaded the BB10 native SDK (10.0.4) and the sample apps pack. However, some of the sample apps fail to compile (for example AudioControl and BelligerentBlocks). The target is playbook (not simulator).

 

I am getting a make error the following:

  make[2]: *** [C:/ndk-10.0.4-workspace/AudioControl/arm/o.le-v7/AudioControl] Error 1
  make[1]: *** [all] Error 2
  make: *** [all] Error 2

 

Looking at the build logs, I am getting the following linker error:

`C:/ndk-10.0.4-workspace/AudioControl/arm/o.le-v7'
C:\bbndk-10.0.4-beta\host\win32\x86\usr\bin\ntoarm-ld: note: 'screen_get_window_property_pv' is defined in DSO C:/bbndk-10.0.4-beta/target/qnx6/armle-v7/usr/lib/libscreen.so.1 so try adding it to the linker command line
make[1]:

 

Am I missing something obvious? I am competely new to makefiles so if anyone has any suggestion, it would be welcome.

 

Thanks.

Retired
Posts: 499
Registered: ‎05-07-2012
My Device: developer
My Carrier: developer

Re: Cannot compile sample apps with BB10 Native SDK

The latest NDK for Playbook is available from: //developer.blackberry.com/native/download/

For Cascades NDK 10.0.4, follow the instructions in Momentics help/Help Contents/Getting started/Getting Started Guide/Install and configure the simulator

Highlighted
New Contributor
Posts: 6
Registered: ‎01-22-2012
My Device: Playbook
My Carrier: N.A.

Re: Cannot compile sample apps with BB10 Native SDK

Thank you for your reply. The issue was that I was not linking properly. Once I added the correct libraries everything compiles.

 

Thanks.