Vivy
Build
Using cmake
Simply use cmake to build in another folder of the source folder:
cmake -Bbuild -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_CXX_COMPILER=clang
If you want to use the compile_commands.json
, use the
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON
option with cmake and copy the json
file into the root folder of the project.
To do a debug build, use the debug switch with cmake:
-DCMAKE_BUILD_TYPE=Debug
.
Dependencies
Vivy depends on Qt5, libav and more. On ubuntu install the following
packages: qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools libavutil-dev libavcodec-dev libavformat-dev
.