Files
frei0r/BUILD.md
Jaromil 7a044cba04 fix: WITHOUT_FACERECOGNITION build flag
to avoid double loading of protobuf, implicitly loaded by opencv,
we need to deactivate the build of two face detection plugins that
use opencv (which loads protobuf implicitly). This fixes bug #185
2025-12-02 17:23:47 +01:00

968 B

Build instructions

Frei0r can be built using CMake.

The presence of optional libraries on the system will trigger compilation of extra plugins. These libraries are:

  • Gavl required for scale0tilt and vectorscope filters

  • OpenCV required for facebl0r filter

  • Cairo required for cairo- filters and mixers

Optional build flags

  • -DWITHOUT_FACERECOGNITION=ON - Disable face recognition plugins (facedetect and facebl0r) to avoid protobuf conflicts with applications like MLT

It is recommended to use a separate build sub-folder.

mkdir -p build
cd build && cmake ../
make

To disable face recognition plugins (recommended when using with MLT):

mkdir -p build
cd build && cmake -DWITHOUT_FACERECOGNITION=ON ../
make

Also ninja and nmake are supported through cmake:

cmake -G 'Ninja' ../
cmake -G 'NMake Makefiles' ../