While following the build process for Checkbox (CONTRIBUTING.md), I encountered an issue during the build step:
(venv) $ cd ~/checkbox/providers/base
(venv) $ ./manage.py build
The following error occurred during compilation:
g++ -std=c++11 ../../src/alsa_test.cpp -lasound -pthread -o alsa_test
../../src/alsa_test.cpp:14:10: fatal error: alsa/asoundlib.h: No such file or directory
14 | #include <alsa/asoundlib.h>
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [<builtin>: alsa_test] Error 1
The error was resolved by installing the libasound2-dev package, which provides the necessary ALSA development files for compiling against the ALSA sound library. To fix the issue, I ran:
$ sudo apt install libasound2-dev
Enhancement Proposal
To prevent others from encountering this issue, I suggest updating the build instructions (CONTRIBUTING.md) file to include libasound2-dev as a prerequisite for building the project.
Enhancement Proposal
While following the build process for Checkbox (CONTRIBUTING.md), I encountered an issue during the build step:
The following error occurred during compilation:
The error was resolved by installing the libasound2-dev package, which provides the necessary ALSA development files for compiling against the ALSA sound library. To fix the issue, I ran:
Enhancement Proposal To prevent others from encountering this issue, I suggest updating the build instructions (CONTRIBUTING.md) file to include libasound2-dev as a prerequisite for building the project.