QB64.org Forum
Active Forums => QB64 Discussion => Topic started by: Dav on December 17, 2021, 03:49:36 pm
-
Some of my programs won't compile under my linux, programs that use sound. I'm obviously missing a sound library. When compiling a program that uses sound commands I get this compiling error below. I've googled some possible solutions, but want to ask here first which libraries I should install to correct this. Thanks
- Dav
../../src/alsa.c:29:10: fatal error: alsa/asoundlib.h: No such file or directory
29 | #include <alsa/asoundlib.h>
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
ar: temp/alsa.o: No such file or directory
g++: error: parts/audio/out/os/lnx/src.a: No such file or directory
-
Following up - I resolved it by doing this:
sudo apt install libasound2-dev
Now my sound programs compile & run OK. I also had a zlib error earlier, but manually installed that library.
- Dav
-
I have "general sound issues" with QB64 on Linux Mint
other linux mint users dont experience what i do
maybe i need to sudo apt get some stuff too?
-
Can you post the full error message, please?
-
i dont get compile errors; i just experience... sound doesnt work and it gets "skipped"
OR, the sound is a horrible popping noise. when it even "tries"
my "click sound" in my GUI project? is actually a really SHORT "popping" noise error... its just so
SHORT that you perceive it as a ghetto-click sound... but its in reality a short FUBAR