Succesfull CasparCG 2.2 linux build

linux

#1

We have been able to build CasparCG 2.2 in ubuntu 18.04.
We followed the following steps:

  1. We downloaded code from https://github.com/CasparCG/server/releases
  2. executed the following steps
  3. Install dependencies apt-get install git cmake build-essential g++ libglew-dev libfreeimage-dev libtbb-dev libsndfile1-dev libopenal-dev libjpeg-dev libfreetype6-dev libglfw3-dev libxcursor-dev libxinerama-dev libxi-dev libsfml-dev libvpx-dev libwebp-dev liblzma-dev libfdk-aac-dev libmp3lame-dev libopus-dev libtheora-dev libx264-dev libx265-dev libbz2-dev libssl-dev libcrypto++-dev librtmp-dev libgmp-dev libxcb-shm0-dev libass-dev libgconf2-dev
  4. Install Docker by following installation instructions from [Docker Docs][1]
  5. git clone --single-branch --branch master https://github.com/CasparCG/server casparcg-server-master
  6. cd casparcg-server-master
  7. Extract Boost, FFmpeg and CEF from the docker images via sudo ./tools/linux/extract-deps-from-docker. Alternatively these can be prepared manually by following the steps laid out in each Dockerfile
  8. mkdir build && cd build
  9. cmake ../src
  10. make -j8

When we tried to run the build we got an error message.missing “ErrNo.”
We included the follwoing to resolve the error.
In Casparcg server master folder inside src>tools there is a bin2c.cpp file.There we have added
#include<errno.h>
From staging folder we were able to start CasparCG 2.2 linux server successfully