OGG build testing

From LD Smith Games Workshop
Jump to navigation Jump to search

For OGG support, I recommend using SDL_mixer-1.2.6 which can be downloaded here, since it comes with OGG support enabled by default

http://www.libsdl.org/projects/SDL_mixer/release/

(SDL_mixer-1.2.6.tar.gz)

./configure
make
make install


No luck with getting OGGs to play with this version either


I've tried enabling OGG support in SDL_mixer-1.2.8, but I never got any sound when running the playmus.c test program with an OGG file. Below is the process of some of the things I tried to get it to work.

Run:

./configure --enable-music-ogg-tremor

No sound with test "playmus.c" program, and it exited immediately


Download libogg (libogg-1.1.4.tar.gz) and libvorbis (libvorbis-1.2.3.tar.gz) from

http://www.xiph.org/downloads/

Extract the libraries and install

gzip -d libogg-1.1.4.tar.gz
chmod u+rw libogg-1.1.4.tar
tar -xvf libogg-1.1.4.tar
cd libogg-1.1.4
./configure
make
make install
cd ..
gzip -d libvorbis-1.2.3.tar.gz
chmod u+rw libvorbis-1.2.3.tar
tar -xvf libvorbis-1.2.3.tar
cd libvorbis-1.2.3
./configure
make
make install
cd ..
gzip -d SDL_mixer-1.2.8.tar.gz
chmod u+rw SDL_mixer-1.2.8.tar
tar -xvf SDL_mixer-1.2.8.tar
cd SDL_mixer-1.2.8
./configure
make
make install

No sound with test "playmus.c" program, and it exited immediately