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.
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.
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.
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).
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.
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.
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?
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???
Has anyone tried to complile touchlib in linux recently? Looks like the last update to the source was 2007-11-06
I’m running Debian, have all the libs installed per the previous ubuntu instructions in this thread ( Ubuntu ~= Debian + pretty )
cmake . goes off without a hitch, running make gets about 75% through, then starts spewing warnings about deprecated conversions from string constant to char *, eventually failing with:
Linking CXX executable configapp /usr/lib/gcc/i486-linux-gnu/4.3.2/../../../../lib/libhighgui.so: undefined reference to `img_convert' collect2: ld returned 1 exit status make[2]: *** [src/configapp] Error 1 make[1]: *** [src/CMakeFiles/configapp.dir/all] Error 2 make: *** [all] Error 2
Just curious if anyone’s tried recently and has an idea what to change?
LOL.. I just did a lot of google-diving on that img_convert error and eventually ended up back at my own post.
For anyone interested - img_convert is a depricated function in ffmpeg/av codecs, which was removed entirely in the ffmpeg / avicodec packages from Marillat’s debian-multimedia packages.
SO, if you’re running Debian testing/sid and using debian-multimedias.org’s package repository, you’ll have to downgrade libavcodec to get touchlib to compile properly.
libavcodec51 (0.svn20080206-15) is the version that worked for me, you’ll have a lot of dependencies to clean up if you need to downgrade
is it just me, or I can’t get this to work? i’m trying to get this to work on ubunto and nothing happens, there are always some weird criptic errors no one understands except for those linux gurus. I love linux, don’t get me wrong, but I hate the gurus, who assume you already have the linux knowledge from birth, well I don’t, and nobody does. it’s because of people like that, that don’t teach or explain things, that linux is not used by far more people. On the other hand,microsoft, no matter how lame their OS is, it’s more plain and simple, and tutorials are easy to get and do, while with linux, most of the tutorials an instructions I find, are all half made, or a complete confusion of gibberish code lines with no explanation whatsoever because people assume you already know what to do. Well, I don’t. In fact, many people don’t. sorry if I sound rude, but I allmost kicked the living hell out of my computer and nearly had a nervous breackdown in school with my IT teachers, and we came up with a solution: windows. I would appreciate some help, honest-to-god, plain simple help.please… I don’t wanna go microsoft on my project, but I gess I’ll have to.once again, sorry if I’m being rude. compliments from Portugal.
No offence teurminho - but multitouch and linux isn’t exactly a mainstream combination. I’d be willing to bet almost anybody who is trying to get multi-touch working in linux has scoured these forums themselves.
We’re all trudging through it piece by piece ourselves, and I doubt any of us consider ourselves gurus. That said, the best way to get help is to ask a question, not assault the posters who are here to help.
If you’ve got a specific error, say, compiling a program, we’d like to know what the error is, what kind of system / OS combo you’re using, what compiler, etc.
Again, no offense, but if you don’t know the answers to those questions, it’s impossible to help. Not that we wouldn’t want to, but there are so many variables involved that all we’d be able to do is take an educated guess, likely getting you nowhere.
If you want a quick-to-setup, ‘reliable’, and more well supported MT experience, Windows is your better option.
If you’re willing to trudge through the mud and really get dirty trying to get things to work from scratch, Linux is great, and we’d be happy to help. All you need to do is ask.
no offence taken cicada,and I’m not complaining about the guys on this forum, but the linux community in general, every time I try to solve a problem via a tutorial, it just brings me more troubles, and when I search the net for help, it gets me nowhere. I love Linux, I really do, but it’s really hard to get things going with it, and the linux people just don’t help. I don’t blame them, I have the same problem on explaining, I can’t get anybody to understand what I’m saying, but the problem, the ones I call gurus I talk about, are not on this forum, but on the official distro sites, the ones who are supposed to give tech support to users, only give it in an advanced user perspective. Lets say linux is not newbie friendly, and it should be. Here in Portugal the government has a Technological project for students, giving every student a laptop for 150 euros (about 100 USD) and they have as OS choice Windows Vista or Linux Magic Box (a Portuguese distro based on Mandriva), but there is no help, info or documentation easily available to the kids or grownups who choose this OS as an alternative to Microsofts expensive software, besides, freeware is being more and more used by companies, but schools don’t give proper Linux teaching to their technicians (I’m in a IT course and I have to teach my teachers the very little I know about Linux), and so, there is something terribly wrong with the people behind this great OS. So I have no other choice but go Windows on this project, and I hate it. I think Linux is more visually spectacular as a MT interface, has a greater variety of software and it gives you the freedom to tweak it at your own needs. looks like I’ll have to wait for a Linux Touch OS, and use Mr. Gates’s software (GRRRRRRRRRRR). once again, I’m sorry, didn’t want to offend anybody, but at the time I made my post, I was at the edge of a nervous breakdown, and I was a little hasty on the subject.Sorry if I’m off topic, and thanks a million cicada, and all you guys here at the forum. NUI rocks, and that’s it.
Once again, sorry I’ll hit myself with a rock later(lol).