Hello , Im new to SDL … I cant compile any SDL program every time I come up with
||=== sdl, Debug ===|
/usr/lib/libSDL.a(SDL_alsa_audio.o)||In functionALSA_CloseAudio' (.text+0x146)||undefined reference to
snd_pcm_drain’|
/usr/lib/libSDL.a(SDL_alsa_audio.o)||In functionALSA_CloseAudio' (.text+0x156)||undefined reference to
snd_pcm_close’|
/usr/lib/libSDL.a(SDL_alsa_audio.o)||In functionALSA_PlayAudio' (.text+0x1c4)||undefined reference to
snd_pcm_writei’|
/usr/lib/libSDL.a(SDL_alsa_audio.o)||In functionALSA_PlayAudio' (.text+0x1e2)||undefined reference to
snd_pcm_prepare’|…
||More errors follow but not being shown.|
||Edit the max errors limit in compiler options…|
||=== Build finished: 50 errors, 0 warnings ===|
I dont know why it clashs with ALSA , I need help. how can I fix this ?