SDL Audio Help*solved*
Can some one tell me how to play a wav file(using SDL)?Is there a function for it or what?
Thanks.
[Edited by - Xabbu on September 3, 2004 9:08:07 PM]
Alright, but now it says it can't find SDL_mixer.h, and im pretty sure i got my linker set up right.
gcc -g -o mixer1 mixer1.c `sdl-config --cflags --libs` -lSDL_mixer
is what you put in the linker, right?
gcc -g -o mixer1 mixer1.c `sdl-config --cflags --libs` -lSDL_mixer
is what you put in the linker, right?
You use gcc? I use Visual Studio. Sorry, can help you past that...
well... if it can't find the header file, you probably need to set up the directories.
well... if it can't find the header file, you probably need to set up the directories.
I have that fixed now, but now i get these errors
[Linker error] undefined reference to `Mix_LoadMUS' [Linker error] undefined reference to `Mix_PlayMusic'
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement