OggPlay

From HalyardWiki

Jump to: navigation, search

OggPlay is a portable library for playing Vorbis and Theora media.

[edit] Building

These are working notes, and may need to change.

sudo port install libogg libvorbis speex libtheora
svn co http://svn.annodex.net/liboggz/trunk liboggz
svn co http://svn.annodex.net/libfishsound/branches/1.0-stable libfishsound
svn co http://svn.annodex.net/liboggplay/trunk/ liboggplay

Building liboggz:

./autogen.sh
./configure --prefix=/opt/oggplay
make
sudo make install

Building libfishsound:

./autogen.sh
/configure LDFLAGS=-L/opt/local/lib CPPFLAGS=-I/opt/local/include --prefix=/opt/oggplay
make
sudo make install

Building liboggplay:

./autogen.sh
PKG_CONFIG_PATH=/opt/oggplay/lib/pkgconfig ./configure LDFLAGS=-L/opt/local/lib CPPFLAGS=-I/opt/local/include --disable-glut --prefix=/opt/oggplay
make
sudo make install

I'm having some problems with assert macros in this code; I'm not sure why. Just comment them out.