I think this is an easy question, I’m new to linux because I just want to get the multi-touch going, and so far no luck on the mac. I’m a bit over my head here but I think I’m close. I installed ubuntu 8.04 hardy heron and used these instructions - maybe that’s my problem? I’m running this with parallels on a mac, so I’m wondering if that could be causing problems too.
http://www.multigesture.net/articles/touchlib-compiling-instructions-ubuntu/
1. I’m asuming you have a clean installation of Ubuntu 7.04
2. 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
3. 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
4. Now compile touchlib:
# mkdir touchlib
# cd touchlib
# svn checkout http://touchlib.googlecode.com/svn/trunk/ .
# cmake . (or “ccmake .” if you want a GUI)
# make
5. Touchlib should now be ready to use.
Anyway, all goes well until step 4. I type in
cmake -i
and get
CMake Error: The source directory “/touchlib_files/touchlib” does not appear to contain CMakeLists.txt
What is in there is CMakeCache.txt, CMakeFiles and trunk.
I’m not sure why this would be since everything else seemed to work and like I said I’ma little out of my league here so I’m not sure where to begin troubleshooting this. I think it should be simple. I installed to a folder called /touchlib_files/ maybe I should have put it somewhere else?
Please don’t make me install windows!