09-23-2012 11:43 AM
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
and i receive
Cloning into 'oggvorbisclone2'...
cd ogg && make
make: Entering directory `/oggvorbisclone2/vorbis/qnx/ogg'
makefile:8: recurse.mk: No such file or directory
make: *** No rule to make target `recurse.mk'. Stop.
make: Leaving directory `/oggvorbisclone2/vorbis/qnx/ogg'
make: *** [all] Error 2
Anyone know what this errors means please?
09-23-2012 01:56 PM
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
09-24-2012 05:02 PM
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?