====== SHOTDETECT ===== Requires cmake: https://cmake.org/download/ apt-get install cmake sudo apt-get install libavdevice-dev libavformat-dev libgd2-noxpm libgd2-noxpm-dev ==== First - basic error: ==== no clang++ This fixes the first error: sudo apt-get install clang-3.5 llvm rpi: sudo apt-get install clang sudo ln -s /usr/bin/clang-3.5 /usr/bin/clang sudo ln -s /usr/bin/clang++-3.5 /usr/bin/clang++ ==== Next error is related to a missing header file fixed with this: ===== sudo apt-get install libswscale-dev apt-get install libxml-dev ==== XML errors - fixed: ===== https://git.gnome.org/browse/libxml2/ required for building libxml2 sudo apt-get install libtool sudo apt-get install autoconf Then: ln -s /usr/local/include/libxml2 /usr/include/libxml2 ==== Missing Python.h ==== sudo apt-get install python-dev ==== Missing xslt header ===== sudo apt-get install libxslt1-dev ==== Compile options for RPI ===== -ccc-host-triple armv6-unknown-eabi -march=armv6 -mfpu=vfp -mcpu=arm1176jzf-s -mtune=arm1176jzf-s -mfloat-abi=hard Added to build: CMakeCache.txt:CMAKE_CXX_FLAGS:STRING=-ccc-host-triple armv6-unknown-eabi -march=armv6 -mfpu=vfp -mcpu=arm1176jzf-s -mtune=arm1176jzf-s -mfloat-abi=hard