Issue with sound lib?
Posted: Sun Jul 23, 2023 7:13 pm
I am getting the below error with the sample sound.pb or any other with sound. Would anyone happen to know what lib or what I am missing:
Code: Select all
/usr/bin/ld: Sound.a(Sound.o): in function `fill_audio':
Sound.c:(.text+0x67): undefined reference to `SDL_MixAudio'
/usr/bin/ld: Sound.c:(.text+0xe0): undefined reference to `SDL_MixAudio'
/usr/bin/ld: Sound.a(Sound.o): in function `PB_FreeSound':
Sound.c:(.text+0x17c): undefined reference to `SDL_FreeWAV'
/usr/bin/ld: Sound.a(Sound.o): in function `PB_CatchSound3':
Sound.c:(.text+0x236): undefined reference to `SDL_BuildAudioCVT'
...