Touchlib for Mac OS X 10.5.4
Posted: 05 July 2008 08:56 PM   [ Ignore ]
New Member
Rank
Total Posts:  1
Joined  2008-07-05

I followed the instructions here…

http://nuigroup.com/wiki/Installing_Touchlib_on_Mac_OS_X/

The final build of touchlib had 2 errors…

[ 82%] Building CXX object demos/smoke/CMakeFiles/smoke.dir/fluid2d.o
/Users/Tom/Desktop/Touchlib/multitouch/demos/smoke/fluid2d.h:52error‘rfftwnd_plan’ does not name a type
/Users/Tom/Desktop/Touchlib/multitouch/demos/smoke/fluid2d.ccIn constructor ‘Fluid2D::Fluid2D(intfloatfloat):
/
Users/Tom/Desktop/Touchlib/multitouch/demos/smoke/fluid2d.cc:48error‘plan_rc’ was not declared in this scope
/Users/Tom/Desktop/Touchlib/multitouch/demos/smoke/fluid2d.cc:48error‘FFTW_REAL_TO_COMPLEX’ was not declared in this scope
/Users/Tom/Desktop/Touchlib/multitouch/demos/smoke/fluid2d.cc:48error‘rfftw2d_create_plan’ was not declared in this scope
/Users/Tom/Desktop/Touchlib/multitouch/demos/smoke/fluid2d.cc:49error‘plan_cr’ was not declared in this scope
/Users/Tom/Desktop/Touchlib/multitouch/demos/smoke/fluid2d.cc:49error‘FFTW_COMPLEX_TO_REAL’ was not declared in this scope
/Users/Tom/Desktop/Touchlib/multitouch/demos/smoke/fluid2d.ccIn member function ‘void Fluid2D::stable_solve(fftw_realfftw_real):
/
Users/Tom/Desktop/Touchlib/multitouch/demos/smoke/fluid2d.cc:130error‘plan_rc’ was not declared in this scope
/Users/Tom/Desktop/Touchlib/multitouch/demos/smoke/fluid2d.cc:130error‘rfftwnd_one_real_to_complex’ was not declared in this scope
/Users/Tom/Desktop/Touchlib/multitouch/demos/smoke/fluid2d.cc:130error‘plan_cr’ was not declared in this scope
/Users/Tom/Desktop/Touchlib/multitouch/demos/smoke/fluid2d.cc:130error‘rfftwnd_one_complex_to_real’ was not declared in this scope
/Users/Tom/Desktop/Touchlib/multitouch/demos/smoke/fluid2d.cc:131error‘plan_rc’ was not declared in this scope
/Users/Tom/Desktop/Touchlib/multitouch/demos/smoke/fluid2d.cc:131error‘rfftwnd_one_real_to_complex’ was not declared in this scope
/Users/Tom/Desktop/Touchlib/multitouch/demos/smoke/fluid2d.cc:131error‘plan_cr’ was not declared in this scope
/Users/Tom/Desktop/Touchlib/multitouch/demos/smoke/fluid2d.cc:131error‘rfftwnd_one_complex_to_real’ was not declared in this scope
/Users/Tom/Desktop/Touchlib/multitouch/demos/smoke/fluid2d.cc:152error‘plan_rc’ was not declared in this scope
/Users/Tom/Desktop/Touchlib/multitouch/demos/smoke/fluid2d.cc:152error‘rfftwnd_one_real_to_complex’ was not declared in this scope
/Users/Tom/Desktop/Touchlib/multitouch/demos/smoke/fluid2d.cc:152error‘plan_cr’ was not declared in this scope
/Users/Tom/Desktop/Touchlib/multitouch/demos/smoke/fluid2d.cc:152error‘rfftwnd_one_complex_to_real’ was not declared in this scope
/Users/Tom/Desktop/Touchlib/multitouch/demos/smoke/fluid2d.cc:153error‘plan_rc’ was not declared in this scope
/Users/Tom/Desktop/Touchlib/multitouch/demos/smoke/fluid2d.cc:153error‘rfftwnd_one_real_to_complex’ was not declared in this scope
/Users/Tom/Desktop/Touchlib/multitouch/demos/smoke/fluid2d.cc:153error‘plan_cr’ was not declared in this scope
/Users/Tom/Desktop/Touchlib/multitouch/demos/smoke/fluid2d.cc:153error‘rfftwnd_one_complex_to_real’ was not declared in this scope
make[2]
: *** [demos/smoke/CMakeFiles/smoke.dir/fluid2d.o] Error 1
make[1]
: *** [demos/smoke/CMakeFiles/smoke.dir/all] Error 2

And all the test apps don’t work or crash with error....

configapp(37570,0xb02b2000malloc: *** error for object 0x29a2d640double free
*** set a breakpoint in malloc_error_break to debug
Segmentation fault

Why is this?

Profile
 
 
Posted: 05 July 2008 09:07 PM   [ Ignore ]   [ # 1 ]
New Member
Avatar
Rank
Total Posts:  20
Joined  2008-07-03

Cerupcat told me this when I asked the same question a few days ago. “That OSX compiling worked for an old version. The current stuff doesn’t work. We’ll have something soon.”

I did it, and it took me a while, only to figure out the same thing.

Sry man, but check out Lux when it comes out (which should be soon). It will be compatible with OSX.

 Signature 

 iTrent 

Blog: http://buildingmultitouch.blogspot.com/

Profile
 
 
Posted: 05 July 2008 11:09 PM   [ Ignore ]   [ # 2 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  596
Joined  2008-02-12

You guys could try out open touch that was specifically developed for Mac. or you could bootleg windows

Taha

 Signature 

My MultiTouch Blog

Profile
 
 
Posted: 07 July 2008 08:56 AM   [ Ignore ]   [ # 3 ]
New Member
Rank
Total Posts:  14
Joined  2008-07-07

Hi,

i´ve managed to make it run in MacOSx (Intel Mac + Leopard) using these instructions:

http://nuigroup.com/wiki/Installing_Touchlib_on_Mac_OS_X/

The only way i’ve found to the make to work was ignoring the change that says the follow:

Next, in the file ./demos/smoke/fluid2d.h

change line 15 19 from:

#include

to

#include “fluid2d.h”

=============

These are my results:

- i’ve sucessfully runned twice the configapp with my FTIR setup. The app reads the camera input (external fire-wire camera)
but doesn’t allows me to change the values (brightness, etc). The cursor remains the macos x spinning well;

- i run sucessful smoke with the internal isight camera, don’t know if it’s working or not, what’s supposed to happen? but when i
connect the external camera it crashes on startup as you can see in the attached file.

Any help?

Thanks in advance,

behem0t

Image Attachments
Picture 1.pngPicture 1.png
Profile
 
 
Posted: 08 July 2008 05:33 PM   [ Ignore ]   [ # 4 ]
New Member
Rank
Total Posts:  7
Joined  2008-06-30

The src touchlib is compiling and installing, but I am seeing the same errors and the last post.

Anyone anyone?
Joe

Profile
 
 
Posted: 08 July 2008 06:00 PM   [ Ignore ]   [ # 5 ]
New Member
Rank
Total Posts:  87
Joined  2008-05-17

It’s been said before, but attempting to compile touchlib on the Mac is really a waste of time at this point. I know some of us have gotten it compiled only to see all of the demo apps crash as soon as they are run with bus errors or something similar.

There are a few other projects (like lux and opentouch) that sound like they are close to having a complete touchlib like package. I’d suggest playing with opentouch and bbtouch, which is included with opentouch.

 Signature 

Nuigroup wiki

Profile
 
 
Posted: 09 July 2008 09:11 AM   [ Ignore ]   [ # 6 ]
Jr. Member
Avatar
RankRank
Total Posts:  198
Joined  2007-05-05

mmh, didnt`t know that lux has something to do with osx. I mean its flash, and it looks like osx,
but its still flash. And it doesn`t solve the tracker issue either.. its flash and you still need a
osx compatible tracker,which sends TUIO messages. Opentouch / BBtouch are not ready for
prime time the last time I checked. Of course I could be wrong smile

 Signature 

Blog: http://iad.projects.zhdk.ch/multitouch/
180 Project: http://www.timroth.de/180/

Profile
 
 
Posted: 09 July 2008 10:02 AM   [ Ignore ]   [ # 7 ]
New Member
Avatar
Rank
Total Posts:  70
Joined  2008-06-01

Yes, Lux will help those of us trying to develop on the Mac.  While it isn’t specifically for OS X it is a framework that can be used under OS X and X-code.  The demo is Flash, but it is running on OS X.

See here: http://gizmodo.com/391103/full+screen-multitouch-mac-os-x-is-here

That video is actually all AS3 running in Flash 9 over Mac OS X, but you can integrate it with any development system and platform. [...] the software is broken into several segments. One C++ application that tracks hands that talks to Flash… WPF… or another C++ app… and basically everything you can imagine. You can enable multitouch in any environment, like Cocoa. [...] We have an Xcode-developed app for photo and paint coming, as well as a tracking application.

 Signature 

Elemental Multitouch Project ~ http://eleme.ntal.ws/

Profile
 
 
Posted: 09 July 2008 10:15 AM   [ Ignore ]   [ # 8 ]
Jr. Member
Avatar
RankRank
Total Posts:  198
Joined  2007-05-05

ah ok,

thanks for clearing that up.

 Signature 

Blog: http://iad.projects.zhdk.ch/multitouch/
180 Project: http://www.timroth.de/180/

Profile
 
 
Posted: 09 July 2008 03:15 PM   [ Ignore ]   [ # 9 ]
Jr. Member
RankRank
Total Posts:  236
Joined  2008-02-01

I can’t wait, seriously. smile

 Signature 

fingerpuk.tumblr.com

Profile
 
 
Posted: 09 July 2008 10:55 PM   [ Ignore ]   [ # 10 ]
New Member
Avatar
Rank
Total Posts:  20
Joined  2008-07-03

Oh me neither! Lux will be great im sure. Nuiman said it would be ready BEFORE the end of this month. Exciting! smile Its 2 bad the release got moved a month, but I guess it was necessary because of that whole moving from texas to california thing. Cheers everyone!

 Signature 

 iTrent 

Blog: http://buildingmultitouch.blogspot.com/

Profile
 
 
Posted: 09 July 2008 11:13 PM   [ Ignore ]   [ # 11 ]
New Member
Avatar
Rank
Total Posts:  70
Joined  2008-06-01
iTrent - 09 July 2008 10:55 PM

Oh me neither! Lux will be great im sure. Nuiman said it would be ready BEFORE the end of this month. Exciting! smile Its 2 bad the release got moved a month, but I guess it was necessary because of that whole moving from texas to california thing. Cheers everyone!

Yeah ... I have a feeling it will be worth the wait smile

 Signature 

Elemental Multitouch Project ~ http://eleme.ntal.ws/

Profile