Installation
SwissRanger drivers
The SwissRanger drivers require the libusb package. Install it by typing$ sudo apt-get install libusb-dev
Download the latest SwissRanger drivers from
In order to install the *.rpm package on a Debian based Linux distribution like Kubuntu 8.10, get alien by typing
$ sudo apt-get install alien
Install the drivers by changing into the download directory and type
$ sudo alien -i libusbSR-1.0.10-540.i386.rpm
Note, that this particular step caused some problems with Kubuntu 8.10 64 bit.
Unicap
Unicap requires the libraw1394-dev library which can be installed by typing$ sudo apt-get install libraw1394-dev
Now, get unicap from
Change into the download directory and unpack the tarball
$ tar -xzvf unicap-0.9.3.tar.gz
Change into the created directory (here: unicap-0.9.3) and execute the following three commands
$ ./configure
$ make
$ sudo make install
Note: When we tried to install unicap right after installing the libraw-library, the configure-script didn't detect the libraw-library. If this happens to you, try reopening the terminal or rebooting your system. You may now delete the unicap-folder (here: unicap-0.9.3).
$ make
$ sudo make install
OpenCV
Download OpenCV from Change into the download directory and unpack the tarball$ tar -xzvf opencv-1.1pre1.tar.gz
Change into the created directory (here: opencv-1.1.0) and execute the following three commands
$ ./configure
$ make
$ sudo make install
You may now delete the OpenCV-folder (here: opencv-1.1.0).
$ make
$ sudo make install
SoQt
In order to install SoQt, simply type$ sudo apt-get install libsoqt3-dev
Coin
IMPORTANT NOTE: Coin 3.0.0 (as of 2008-09-11) and upwards is not compatible with VooDoo. Use Coin 2.5.0 (as of 2007-10-01) instead.Download Coin from Change into the download directory and unpack the tarball
$ tar -xzvf Coin-2.5.0.tar.gz
Change into the created directory (here: Coin-3.0.0) and execute the following three commands
$ ./configure
$ make
$ sudo make install
$ make
$ sudo make install
IVT
Preliminaries: unicap, OpenCV and Coin. If you own a camera system from Videre Design, you will also want to install their SVS (Small Vision System) before continuing.In addition, the IVT (Integrating Vision Toolkit) requires a developer package of Qt3 which can be installed by typing
$ sudo apt-get install qt3-dev-tools
Now, install the libdc1394 library by typing
$ sudo apt-get install libdc1394-22-dev
Download the IVT from
Change into the download directory and unpack the zip-file
$ unzip ivt-1.3.1.zip
Now, edit the file IVT/src/Makefile.base
USE_OPENCV = 1
USE_OPEN_INVENTOR = 1
USE_UNICAP = 1
USE_SVS = 1 // only if you have SVS installed!
USE_LIBDC1394 = 1
Change into the directory IVT/src and type
USE_OPEN_INVENTOR = 1
USE_UNICAP = 1
USE_SVS = 1 // only if you have SVS installed!
USE_LIBDC1394 = 1
make
Depending on your version of g++, you might run into the following error
g++ -O3 -I. -c Math/LinearAlgebra.cpp -o build/linear_algebra.o
Math/LinearAlgebra.cpp: In function 'void LinearAlgebra::SelfProduct(const CFloatMatrix*, CFloatMatrix*, bool)':
Math/LinearAlgebra.cpp:114: error: 'memcpy' was not declared in this scope
Math/LinearAlgebra.cpp: In function 'void LinearAlgebra::SelfProduct(const CDoubleMatrix*, CDoubleMatrix*, bool)':
Math/LinearAlgebra.cpp:901: error: 'memcpy' was not declared in this scope
make: *** [build/linear_algebra.o] Error 1
Fix it by adding the following line to IVT/src/Math/LinearAlgebra.cpp
Math/LinearAlgebra.cpp: In function 'void LinearAlgebra::SelfProduct(const CFloatMatrix*, CFloatMatrix*, bool)':
Math/LinearAlgebra.cpp:114: error: 'memcpy' was not declared in this scope
Math/LinearAlgebra.cpp: In function 'void LinearAlgebra::SelfProduct(const CDoubleMatrix*, CDoubleMatrix*, bool)':
Math/LinearAlgebra.cpp:901: error: 'memcpy' was not declared in this scope
make: *** [build/linear_algebra.o] Error 1
#include <string.h>
Depending on your version of g++, you might also run into the following error
VideoCapture/Unicap1394Capture.cpp: In member function 'virtual bool CUnicap1394Capture::OpenCamera()':
VideoCapture/Unicap1394Capture.cpp:73: error: 'strcpy' was not declared in this scope
VideoCapture/Unicap1394Capture.cpp:166: error: 'memset' was not declared in this scope make: ***
[build/unicap_1394_capture.o] Error 1
Fix it by adding the following line to IVT/src/VideoCapture/Unicap1394Capture.cpp
VideoCapture/Unicap1394Capture.cpp:73: error: 'strcpy' was not declared in this scope
VideoCapture/Unicap1394Capture.cpp:166: error: 'memset' was not declared in this scope make: ***
[build/unicap_1394_capture.o] Error 1
#include <cstring>
Thereafter, you should be able to successfully compile the IVT.Note: The official tutorial on how to setup the IVT can be found here.
omniORB
In order to install omniThreads, simply type$ sudo apt-get install libomnithread3-dev
FFTW
In order to install FFTW (Fastest Fourier Transform in The West), simply type$ sudo apt-get install libfftw3-dev