09-23-2012 11:43 AM
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..
#!/bin/sh
git clone https://github.com/blackberry/OggVorbis.git oggvorbisclone2
cd oggvorbisclone2/vorbis/qnx
make
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?
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
Cheers,
Jon
09-23-2012 10:54 PM
Read and follow instructions under "BUILDING FOR BlackBerry QNX (using Momentics IDE):" in README file.
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?