Skip to content
Extraits de code Groupes Projets
Avatar de Kubat
Kubat rédigé
Revert "BUILD: replace codecParams->ch_layout.nb_channels by codecParams->channels, it seems the old way of doing things no longer compiles..."

This reverts commit 7f3071ca.
5b951317
Historique

Vivy

Prerequisites

  • rust compiler with version >= 1.70
  • cmake at least the version 3.18
  • C++ compiler with C++17 support
  • mpv development library
  • Qt6 development library: QtCore, QtWidgets, QtOpenGL, QtOpenGLWidgets.
  • The AV libraries: libavutil libavcodec libavformat.
  • Some unix utils, the jq binary, the bash shell.

Build

Simply use cmake to build in another folder of the source folder:

cmake -Bbuild -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_INSTALL_PREFIX=$HOME/.local -GNinja
ninja -Cbuild
ninja -Cbuild install

To develop Vivy, you need to pass the following argument to cmake: -DCMAKE_BUILD_TYPE=Debug. Also, don't forget to copy the compile_commands.json file from the build folder into the project's root.

Licence