The CasparCG Server source code uses the CMake build system in order to easily generate build systems for multiple platforms. CMake is basically a build system for generating build systems.
On Windows we can use CMake to generate a .sln file and .vcproj files. On Linux CMake can generate make files or ninja files. Qt Creator has support for loading CMakeLists.txt files directly.
-
Install Visual Studio 2017.
-
Install CMake (http://www.cmake.org/download/).
-
git clone --single-branch --branch 2.2.0 https://github.com/CasparCG/server casparcg-server-2.2.0
-
cd casparcg-server-2.2.0
-
cmake -G "Visual Studio 15 2017" -A x64 ./src
-
Open
./src/CasparCG Server.sln
git clone --single-branch --branch 2.2.0 https://github.com/CasparCG/server casparcg-server-2.2.0
cd casparcg-server-2.2.0
tools/linux/build-in-docker
If all goes to plan, a docker image has been created containing CasparCG Server.
- Build boost and ffmpeg as per the docker images inside of
tools/linux
they should be saved in/opt/boost
and/opt/ffmeg
git clone --single-branch --branch 2.2.0 https://github.com/CasparCG/server
casparcg-server-2.2.0mkdir casparcg-server-2.2.0-build && cd casparcg-server-2.2.0-build
cmake ../casparcg-server-2.2.0
make -j8
If all goes to plan, a folder called 'staging' has been created with everything you need to run CasparCG server.