mirror-chatterino2/BUILDING_ON_FREEBSD.md
2024-05-06 15:03:17 +00:00

854 B

FreeBSD

Note on Qt version compatibility: If you are installing Qt from a package manager, please ensure the version you are installing is at least Qt 5.12 or newer.

FreeBSD 12.1-RELEASE

Note: This is known to work on FreeBSD 12.1-RELEASE amd64. Chances are high that this also works on older FreeBSD releases, architectures and FreeBSD 13.0-CURRENT.

  1. Install build dependencies from package sources (or build from the ports tree): # pkg install qt5-core qt5-multimedia qt5-svg qt5-buildtools gstreamer-plugins-good boost-libs rapidjson cmake
  2. In the project directory, create a build directory and enter it
    mkdir build
    cd build
    
  3. Generate build files. To enable Lua plugins in your build add -DCHATTERINO_PLUGINS=ON to this command.
    cmake ..
    
  4. Build the project
    make