Issue with sound lib?

Linux specific forum
vwidmer
Enthusiast
Enthusiast
Posts: 286
Joined: Mon Jan 20, 2014 6:32 pm

Issue with sound lib?

Post 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'
...
WARNING: I dont know what I am doing! I just put stuff here and there and sometimes like magic it works. So please improve on my code and post your changes so I can learn more. TIA
User avatar
mk-soft
Always Here
Always Here
Posts: 6204
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: Issue with sound lib?

Post by mk-soft »

Perhaps missing xine ...
Simple install of Purebasic ...
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
vwidmer
Enthusiast
Enthusiast
Posts: 286
Joined: Mon Jan 20, 2014 6:32 pm

Re: Issue with sound lib?

Post by vwidmer »

xine is installed...
WARNING: I dont know what I am doing! I just put stuff here and there and sometimes like magic it works. So please improve on my code and post your changes so I can learn more. TIA
User avatar
mk-soft
Always Here
Always Here
Posts: 6204
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: Issue with sound lib?

Post by mk-soft »

Work here with ...

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

Check your installation of developer libraries
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: Issue with sound lib?

Post by Fred »

You need to install SDL
vwidmer
Enthusiast
Enthusiast
Posts: 286
Joined: Mon Jan 20, 2014 6:32 pm

Re: Issue with sound lib?

Post 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.
WARNING: I dont know what I am doing! I just put stuff here and there and sometimes like magic it works. So please improve on my code and post your changes so I can learn more. TIA
Post Reply