Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include libasound2-dev as a Dependency in Build Instructions #1506

Open
mauriciocoder opened this issue Sep 26, 2024 · 1 comment
Open

Include libasound2-dev as a Dependency in Build Instructions #1506

mauriciocoder opened this issue Sep 26, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@mauriciocoder
Copy link
Contributor

Enhancement Proposal

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.

@mauriciocoder mauriciocoder added the enhancement New feature or request label Sep 26, 2024
Copy link

Thank you for reporting us your feedback!

The internal ticket has been created: https://warthogs.atlassian.net/browse/CHECKBOX-1590.

This message was autogenerated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant