notes-computer-opengazer

Building and installing Opengazer on Debian GNU/Linux

Download Opengazer from http://www.inference.phy.cam.ac.uk/opengazer/. Download vxl from http://sourceforge.net/projects/vxl/.

As root:

aptitude install cmake aptitude install libxmu-dev

As user:

cd WHERE_YOU_PUT_VXL unzip vxl-1.10.0.zip cd vxl-1.10.0 ccmake . In the interactive user interface, * press 'c' * set BUILD_SHARED_LIBS to ON * hit 'c' over and over until the 'g' option appears * then hit 'g' * (but if there is an error after you hit 'c', you'll have to fix the error, just hitting 'c' again won't help) make su

As root:

make install adduser YOUR_USERNAME video apt-get install libcv-dev libhighgui-dev libcvaux-dev libgtkmm-2.4-dev libcairomm-1.0-dev libboost-dev

As user:

(logout and log back in again if you recently did "adduser YOUR_USERNAME video") cd WHERE_YOU_PUT_OPENGAZER tar xvf opengazer-0.1.2.tar.gz cd opengazer-0.1.2 (edit Makefile to replace the line VXLDIR = /opt with VXLDIR = /usr/local ) make

Now, whenever you want to run opengazer, close other programs that might be accessing the webcam (otherwise you may segfault), and do:

export LD_LIBRARY_PATH=/usr/local/lib ./opengazer &