Touchlib compiling instructions (Ubuntu)
Hardware:
A linux compatible webcam (USB or a Firewire)
Software:
Ubuntu 7.04
Installation instructions:
- I’m asuming you have a clean installation of Ubuntu 7.04
- First install the dependencies:
# sudo apt-get install cmake libcv1 libcvaux1 libcv-dev libcvaux-dev libglut libglut-dev fftw-dev g++ libxmu-dev libglut3-dev subversion
- Now to install osc, checkout the latest version on the SVN:
# svn co https://www.smartelectronix.com:9000/repos/osc/oscpack/trunk/ [yourdirname]
(or you could get the source oscpack_1_0_2.zip)
# make
# sudo make install - Now compile touchlib:
# mkdir touchlib
# cd touchlib
# svn checkout http://touchlib.googlecode.com/svn/trunk/ .
# cmake . (or “ccmake .” if you want a GUI)
# make
- Touchlib should now be ready to use.
More information:
Ubuntu topic on NUIgroup
Known bugs:
Due a problem with the OpenCV library in Linux, Touchlib might crash after a few minutes.
A fix for rev.393 is available here.
A mirror to the file: Touchlib race condition fix rev.393
(old)
A fix for rev.90 is available in here.
A mirror to the file: Touchlib race condition fix rev.90


June 17th, 2008 at 8:11 pm
I have compiled it but how do I start it? There are no executable files. Thanks in advance.
June 17th, 2008 at 8:16 pm
Sorry for earlier comment. Now I know you just compile touchlib.
June 17th, 2008 at 11:00 pm
I’d already compiled the touchlib and it works, but my table with IR LED is not working as well I wish, then I made one miniMT( http://ssandler.wordpress.com/MTmini/ ), and liked the result I got, but I don’t know how to make the touchlib work with the negative capture, like it does on the package for windows that they have at the site. Some ideas about it???
thanks
santo
June 21st, 2008 at 7:27 pm
Hello. i compiled it successfully and i built my pad.
What must i do agter “make” to start to use it???
July 3rd, 2008 at 11:09 am
On the linux version, binaries are placed in different dirs.
The demo applications are placed in /demos
OSC -> /demos/osc
pong -> /demos/pong
smoke -> /demos/smoke
touch example -> demos/touch
The config application is placed in /src