Skip to content

Latest commit

 

History

History
51 lines (35 loc) · 1.02 KB

README.md

File metadata and controls

51 lines (35 loc) · 1.02 KB

Sonocarte

Prerequisite

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

Build target

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.

Trouble shooting

libalsa cannot be joined with Conan

Related to this issue: conan-io/conan-center-index#2474. libalsa must be relied on host machine instead of Conan Center package.

Debian base

sudo apt install libasound2 libasound2-dev

Arch

sudo pacman -S alsa-lib