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
0x29a
Posts: 68
Registered: ‎03-13-2012
My Device: Playbook
Accepted Solution

Differences between libraries ? and Code Organization for NDK

Hey I was wondering there appears to be 2 types of c++ library headers.

Under /target/qnx6/usr/include


The C++ ones which appear to be GNU headers are these the Dinkum Headers library headers they are referring to ?

The Cpp the QNX headers

 

I was wondering what the difference of each of these are?

How I would include one in a build over the other?

 

Also in QDE how do I put my source into indiviual folders it seems when I add a folder then put my source into the folder the build system skips the compilation of that folders contents

 

If anyone can redirect me to resources that answers my questions that would be awesome thanks!

 

 

 

Regular Contributor
0x29a
Posts: 68
Registered: ‎03-13-2012
My Device: Playbook

Re: Differences between libraries ? and Code Organization for NDK

Okay so you can add new folder to the project like so
Go your project -> properties -> paths and symbols -> source location the add a folder. additionally  you can add includes to your project this way to.

Regular Contributor
0x29a
Posts: 68
Registered: ‎03-13-2012
My Device: Playbook

Re: Differences between libraries ? and Code Organization for NDK

Thanks man that was helpful now how about these library differences? 

Regular Contributor
0x29a
Posts: 68
Registered: ‎03-13-2012
My Device: Playbook

Re: Differences between libraries ? and Code Organization for NDK

Okay I have done what you said it appears that build order matters to as well. Otherwise it cannot find references to some objects that it trying to link to.

Regular Contributor
0x29a
Posts: 68
Registered: ‎03-13-2012
My Device: Playbook

Re: Differences between libraries ? and Code Organization for NDK

Actually that does not appear to work hmmmm
Regular Contributor
0x29a
Posts: 68
Registered: ‎03-13-2012
My Device: Playbook

Re: Differences between libraries ? and Code Organization for NDK

Developer
BGmot
Posts: 1,068
Registered: ‎11-24-2011
My Device: PlayBook

Re: Differences between libraries ? and Code Organization for NDK

Yes, sometimes it's good to talk to yourself.

But Developers for Playbook should start here https://bdsc.webapps.blackberry.com/native/documentation/getting_started.html

Regular Contributor
0x29a
Posts: 68
Registered: ‎03-13-2012
My Device: Playbook

Re: Differences between libraries ? and Code Organization for NDK

Already went there it doesn't solve any of my issues I am trying to build a project that has two folders in the root project directory

What ends up happening is that the build process how ever it works does not detect either folders resulting in my self having to have about 30 class files in the root of the project directory which is a pain

Developer
borceg
Posts: 671
Registered: ‎03-21-2012
My Device: BlackBerry PlayBook 16GB

Re: Differences between libraries ? and Code Organization for NDK

"official" bbndk docs don't provide many secrets about qnx platform
BlackBerry Development Advisor
elena_laskavaia
Posts: 417
Registered: ‎10-27-2010
My Device: PlayBook

Re: Differences between libraries ? and Code Organization for NDK

If you using managed builder you have to mark folder you added as "source" folder (or Just create a New Source Folder from right click menu), if you using makefiles solution may vary depends on structure of makefile