tce-load -i compiletc cmake libopenshot-audio-dev ffmpeg4-dev imagemagick-dev qt-5.x-dev libzmq-dev jsoncpp-dev swig unittest-cpp https://github.com/OpenShot/libopenshot/archive/v0.2.3.tar.gz cd libopenshot-0.2.3 sudo cp /tmp/tcloop/gcc_libs-dev/usr/local/lib/libgomp.spec /usr/lib mkdir build cd build cmake -LAH -DCMAKE_C_FLAGS_RELEASE="-flto -fuse-linker-plugin -mtune=generic -Os -pipe" -DCMAKE_CXX_FLAGS_RELEASE="-flto -fuse-linker-plugin -mtune=generic -Os -pipe" -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_BUILD_TYPE=Release -DCMAKE_VERBOSE_MAKEFILE=TRUE -DMAGICKCORE_HDRI_ENABLE=TRUE -DImageMagick_Magick++_INCLUDE_DIR=/usr/local/include/ImageMagick-6/Magick++ -DImageMagick_Magick++_LIBRARY=/usr/local/lib/libMagick++-6.Q16HDRI.so -DImageMagick_MagickCore_INCLUDE_DIR=/usr/local/include/ImageMagick-6/magick -DImageMagick_MagickCore_LIBRARY=/usr/local/lib/libMagickCore-6.Q16HDRI.so -DImageMagick_MagickWand_INCLUDE_DIR=/usr/local/include/ImageMagick-6/wand -DImageMagick_MagickWand_LIBRARY=/usr/local/lib/libMagickWand-6.Q16HDRI.so ../ find . -name flags.make -type f -exec sed -i 's/-g -ggdb//g' {} \; find . -name link.txt -type f -exec sed -i 's/-g -ggdb//g' {} \; [-fno-exceptions fails, cmake does not find jsoncpp] make [2m 51.87s] sudo make install