User Tools

Site Tools


shotdetect

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
shotdetect [2016/05/31 12:43]
wbeckett created
shotdetect [2021/06/04 02:16] (current)
Line 1: Line 1:
-==== SHOTDETECT ====+====== 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++ no clang++
 +
 +This fixes the first error:
  
 sudo apt-get install clang-3.5 llvm sudo apt-get install clang-3.5 llvm
  
 +rpi: sudo apt-get install clang
 +
 +<​code>​
 +sudo ln -s /​usr/​bin/​clang-3.5 /​usr/​bin/​clang
 +sudo ln -s /​usr/​bin/​clang++-3.5 /​usr/​bin/​clang++
 +</​code>​
 +
 +
 +==== 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/​
 +
 +
 +
 +
 +
 +<​code>​
 +required for building libxml2
 +
 +sudo apt-get install libtool
 +
 +sudo apt-get install autoconf
 +
 +Then: 
 +
 +ln -s /​usr/​local/​include/​libxml2 /​usr/​include/​libxml2
 +
 +
 +
 +</​code>​
 +
 +
 +==== 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
shotdetect.1464698637.txt.gz ยท Last modified: 2021/06/04 02:16 (external edit)