2 of 2
2
Building TouchLib for Ubuntu Fiesty (7.04)
Posted: 22 March 2008 02:24 AM   [ Ignore ]   [ # 16 ]
New Member
Rank
Total Posts:  35
Joined  2008-03-11

nullpuppy

did you get any flash application running and getting multitouches?

Profile
 
 
Posted: 22 March 2008 03:20 AM   [ Ignore ]   [ # 17 ]
New Member
Rank
Total Posts:  7
Joined  2007-03-11

I have not tried that yet, partially because my input isn’t really usable yet.  I have a bit of refinement to do first with my setup so I can get consistent input from the webcam. I don’t have much for LED’s setup yet, so far i’ve only been testing with a couple hooked up to batteries. I hope to rectify this tomorrow and get something at least semi-usable.

Profile
 
 
Posted: 22 March 2008 05:29 AM   [ Ignore ]   [ # 18 ]
Administrator
Avatar
RankRank
Total Posts:  204
Joined  2007-04-03

The segfault problem is know, it a opencv bug.

The main reason you dont see those camera input dialogs is because we disabled that by default (debugmode is off in the src). Those camera/filter dialogs actually cause the segfault.

 Signature 

My multitouch blog: http://www.multigesture.net
Howto: Compile touchlib on windows XP/Vista
Howto: Compile touchlib on Ubuntu Linux
Downloads: Touchlib SVN builds

Profile
 
 
Posted: 22 March 2008 04:50 PM   [ Ignore ]   [ # 19 ]
New Member
Rank
Total Posts:  7
Joined  2007-03-11

Ah, ok. That gives me somewhere to start at least wink

And as far as the camera input dialogs being disabled… when i run sample/configapp from the src dir, i can see the output from the camera.  I don’t see the output from the touch demo. As I’ve been looking around and experimenting, that could be, as you said, disabled, or could be the lack of a config. I haven’t figured that part out yet.

Profile
 
 
Posted: 22 March 2008 06:45 PM   [ Ignore ]   [ # 20 ]
Administrator
Avatar
RankRank
Total Posts:  204
Joined  2007-04-03
nullpuppy - 22 March 2008 04:50 PM

Ah, ok. That gives me somewhere to start at least wink

And as far as the camera input dialogs being disabled… when i run sample/configapp from the src dir, i can see the output from the camera.  I don’t see the output from the touch demo. As I’ve been looking around and experimenting, that could be, as you said, disabled, or could be the lack of a config. I haven’t figured that part out yet.

fyi I help fixing bugs in touchlib, the camera inputs/filterdialogs are disabled on purpose in all applications but the config app (where you actually need them).

just look for these lines in the src:

ITouchScreen *screen;
screen = TouchScreenDevice::getTouchScreen();
screen->setDebugMode(false);

if you set the debug mode to TRUE, the iput/filterdialogs will appear.

 Signature 

My multitouch blog: http://www.multigesture.net
Howto: Compile touchlib on windows XP/Vista
Howto: Compile touchlib on Ubuntu Linux
Downloads: Touchlib SVN builds

Profile
 
 
Posted: 22 March 2008 09:44 PM   [ Ignore ]   [ # 21 ]
New Member
Rank
Total Posts:  7
Joined  2007-03-11

Alright, excellent. I should be able to help out with touchlib in the near future.  I don’t expect to have much progress this weekend as my main focus right now is hardware hacking and getting my input setup working. After that’s set, I can get started on making touchlib work better.

Profile
 
 
Posted: 14 April 2008 11:52 PM   [ Ignore ]   [ # 22 ]
New Member
Avatar
Rank
Total Posts:  87
Joined  2008-01-16

I’m getting this error, but everything else works fine.

make[2]: *** No rule to make target `/usr/local/lib/libfftw.a’, needed by `demos/smoke/smoke’.  Stop.
make[1]: *** [demos/smoke/CMakeFiles/smoke.dir/all] Error 2
make: *** [all] Error 2

 Signature 

EasterIsland, LLC.
My Signature Quote

Profile
 
 
Posted: 20 May 2008 02:06 PM   [ Ignore ]   [ # 23 ]
New Member
Rank
Total Posts:  87
Joined  2008-05-17

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!

 Signature 

Nuigroup wiki

Profile
 
 
Posted: 17 June 2008 04:15 PM   [ Ignore ]   [ # 24 ]
New Member
Rank
Total Posts:  5
Joined  2008-06-17

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

Profile
 
 
Posted: 21 June 2008 05:45 PM   [ Ignore ]   [ # 25 ]
New Member
Rank
Total Posts:  5
Joined  2008-06-21

i built a pad and i compiled it without problems (svn didn’t work, so i’d download files from browser)

but how to use it? :D

Profile
 
 
   
2 of 2
2