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.

Trusted Contributor
Posts: 160
Registered: ‎09-13-2012
My Device: 9900
My Carrier: vodafone

Compiling OggVorbis issues

Hi all,


I have made many different attempts to get the .so libraries from a clone of oggvorbis aquired from blackberry github.


I have tried using cmd, minGW, momentics ide, it just won't build for different reasons.


I have just ftried the following myconfig..


git clone https://github.com/blackberry/OggVorbis.git oggvorbisclone2
cd oggvorbisclone2/vorbis/qnx


and i receive 


$ c:\myconfig
Cloning into 'oggvorbisclone2'...
cd ogg && make
make[1]: Entering directory `/oggvorbisclone2/vorbis/qnx/ogg'
makefile:8: recurse.mk: No such file or directory
make[1]: *** No rule to make target `recurse.mk'. Stop.
make[1]: Leaving directory `/oggvorbisclone2/vorbis/qnx/ogg'
make: *** [all] Error 2


Anyone know what this errors means please?




Posts: 188
Registered: ‎01-27-2012
My Device: playbook
My Carrier: ...

Re: Compiling OggVorbis issues

Did you set up the bb ndk environment variables?

Not sure about windows but when I cross compile anything on my linux box I have to set up the environment first with:

 source /path to/bbndk/bbndk-env.sh



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

Re: Compiling OggVorbis issues

Read and follow instructions under "BUILDING FOR BlackBerry QNX (using Momentics IDE):" in README file.

Trusted Contributor
Posts: 160
Registered: ‎09-13-2012
My Device: 9900
My Carrier: vodafone

Re: Compiling OggVorbis issues

Thanks for your replies.


I eventually got OggVorbis to compile by importing it into workspace, building, and then managed to link to it in another workspace project.


The only problem now is that I cannot encode audio in vorbis using the version of the library available to me server side (Xuggler). Buffer overflow problem. I should have checked first!


Anyone any suggestions how I can pass ffmpeg audio packets on to the playbook speakers ? I cant use vorbis, I can't use wav (due to sound being streamed), what codec and what lib for ndk could solve this for me?