User Tools

Site Tools


shotdetect

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
shotdetect [2016/05/31 13:49]
wbeckett
shotdetect [2021/06/04 02:16] (current)
Line 1: Line 1:
-==== SHOTDETECT ====+====== SHOTDETECT ​=====
  
-First - basic error:+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++
Line 8: Line 16:
  
 sudo apt-get install clang-3.5 llvm sudo apt-get install clang-3.5 llvm
 +
 +rpi: sudo apt-get install clang
  
 <​code>​ <​code>​
Line 15: Line 25:
  
  
-Next error is related to a missing header file fixed with this:+==== Next error is related to a missing header file fixed with this: =====
  
 sudo apt-get install libswscale-dev sudo apt-get install libswscale-dev
  
-XML errors - fixed:+ 
 +apt-get install libxml-dev 
 +==== XML errors - fixed: ​=====
  
 https://​git.gnome.org/​browse/​libxml2/​ https://​git.gnome.org/​browse/​libxml2/​
- 
-Then:  
- 
-ln -s /​usr/​local/​include/​libxml2 /​usr/​include/​libxml2 
  
  
Line 37: Line 45:
  
 sudo apt-get install autoconf sudo apt-get install autoconf
 +
 +Then: 
 +
 +ln -s /​usr/​local/​include/​libxml2 /​usr/​include/​libxml2
 +
 +
  
 </​code>​ </​code>​
  
  
-Missing Python.h+==== Missing Python.h ​====
  
 sudo apt-get install python-dev sudo apt-get install python-dev
  
  
-Missing xslt header+==== Missing xslt header ​=====
  
 sudo apt-get install libxslt1-dev 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.1464702554.txt.gz · Last modified: 2021/06/04 02:16 (external edit)