Page 1 of 1

Issue with sound lib?

Posted: Sun Jul 23, 2023 7:13 pm
by vwidmer
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'
...

Re: Issue with sound lib?

Posted: Sun Jul 23, 2023 11:14 pm
by mk-soft
Perhaps missing xine ...
Simple install of Purebasic ...

Re: Issue with sound lib?

Posted: Mon Jul 24, 2023 1:36 am
by vwidmer
xine is installed...

Re: Issue with sound lib?

Posted: Mon Jul 24, 2023 9:39 am
by mk-soft
Work here with ...

Mint Linux LMDE 5 (x64)
PB v6.02, v6.03b3

Check your installation of developer libraries

Re: Issue with sound lib?

Posted: Mon Jul 24, 2023 1:48 pm
by Fred
You need to install SDL

Re: Issue with sound lib?

Posted: Tue Jul 25, 2023 1:25 am
by vwidmer
@Fred, Thank you that was it I thought it was SDL I needed but for some kept choosing SDL2 and thought that would do but.. But working now. Thanks alot.