This repo uses Conan package to build target and depedencies. Conan can be installed using python package installer in virtual environment
python -m venv conan-venv
source conan-venv/bin/activate
pip install conan
Run the init script to automatically download and build necessary library depedencies on the go.
source ./conan-venv/bin/activate # if not done already
./conan_init.sh
Then build target
cd ./build_Release
source conanbuild.sh
cmake .. -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake -DCMAKE_BUILD_TYPE=Release
cmake --build .
To get a debug build, add the argument -b Debug
to the init script.
Related to this issue: conan-io/conan-center-index#2474. libalsa must be relied on host machine instead of Conan Center package.
sudo apt install libasound2 libasound2-dev
sudo pacman -S alsa-lib