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
Contributor
Posts: 36
Registered: ‎07-05-2012
My Device: 9900 & dev alpha
My Carrier: Play - P4

Re: Using libqrencode

Yes I executed it:

$ /Applications/Xcode.app/Contents/Developer/SDKs/bbndk-10.0.4-beta/bbndk-env.sh
$ ./configure --host=arm-unknown-nto-qnx6.5.0eabi --build=i686-pc-linux --target=arm-unknown-nto-qnx6.5.0eabi --with-tools=no CC=arm-unknown-nto-qnx6.5.0eabi-gcc LDFLAGS='-Wl,-s '

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

Re: Using libqrencode

well... we see 

arm-unknown-nto-qnx6.5.0eabi-gcc: command not found

But I do have:

$ ls -l /Developer/SDKs/bbndk-2.0.0/host/macosx/x86/usr/bin/arm-unknown-nto-qnx6.5.0eabi-gcc
lrwxr-xr-x 1 root admin 38 Mar 2 15:15 /Developer/SDKs/bbndk-2.0.0/host/macosx/x86/usr/bin/arm-unknown-nto-qnx6.5.0eabi-gcc -> arm-unknown-nto-qnx6.5.0eabi-gcc-4.4.2

 

$ env | grep PATH
PATH=/Developer/SDKs/bbndk-2.0.0/host/macosx/x86/usr/bin:/Developer/SDKs/bbndk-2.0.0/host/macosx/x86/usr/qde/eclipse/jre/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin:/usr/X11/bin

 

What do you have in PATH and in this bin folder?

Contributor
Posts: 36
Registered: ‎07-05-2012
My Device: 9900 & dev alpha
My Carrier: Play - P4

Re: Using libqrencode

Afer running first with ndk2 then ndk10 and changing --host=arm-unknown-nto-qnx8.0.0eabi everything seems working but I'm getting strange error from build in lib :

http://cl.ly/2H2j0j2c2E110v2m1M2T