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:52: error: ‘rfftwnd_plan’ does not name a type
/Users/Tom/Desktop/Touchlib/multitouch/demos/smoke/fluid2d.cc: In constructor ‘Fluid2D::Fluid2D(int, float, float)’:
/Users/Tom/Desktop/Touchlib/multitouch/demos/smoke/fluid2d.cc:48: error: ‘plan_rc’ was not declared in this scope
/Users/Tom/Desktop/Touchlib/multitouch/demos/smoke/fluid2d.cc:48: error: ‘FFTW_REAL_TO_COMPLEX’ was not declared in this scope
/Users/Tom/Desktop/Touchlib/multitouch/demos/smoke/fluid2d.cc:48: error: ‘rfftw2d_create_plan’ was not declared in this scope
/Users/Tom/Desktop/Touchlib/multitouch/demos/smoke/fluid2d.cc:49: error: ‘plan_cr’ was not declared in this scope
/Users/Tom/Desktop/Touchlib/multitouch/demos/smoke/fluid2d.cc:49: error: ‘FFTW_COMPLEX_TO_REAL’ was not declared in this scope
/Users/Tom/Desktop/Touchlib/multitouch/demos/smoke/fluid2d.cc: In member function ‘void Fluid2D::stable_solve(fftw_real, fftw_real)’:
/Users/Tom/Desktop/Touchlib/multitouch/demos/smoke/fluid2d.cc:130: error: ‘plan_rc’ was not declared in this scope
/Users/Tom/Desktop/Touchlib/multitouch/demos/smoke/fluid2d.cc:130: error: ‘rfftwnd_one_real_to_complex’ was not declared in this scope
/Users/Tom/Desktop/Touchlib/multitouch/demos/smoke/fluid2d.cc:130: error: ‘plan_cr’ was not declared in this scope
/Users/Tom/Desktop/Touchlib/multitouch/demos/smoke/fluid2d.cc:130: error: ‘rfftwnd_one_complex_to_real’ was not declared in this scope
/Users/Tom/Desktop/Touchlib/multitouch/demos/smoke/fluid2d.cc:131: error: ‘plan_rc’ was not declared in this scope
/Users/Tom/Desktop/Touchlib/multitouch/demos/smoke/fluid2d.cc:131: error: ‘rfftwnd_one_real_to_complex’ was not declared in this scope
/Users/Tom/Desktop/Touchlib/multitouch/demos/smoke/fluid2d.cc:131: error: ‘plan_cr’ was not declared in this scope
/Users/Tom/Desktop/Touchlib/multitouch/demos/smoke/fluid2d.cc:131: error: ‘rfftwnd_one_complex_to_real’ was not declared in this scope
/Users/Tom/Desktop/Touchlib/multitouch/demos/smoke/fluid2d.cc:152: error: ‘plan_rc’ was not declared in this scope
/Users/Tom/Desktop/Touchlib/multitouch/demos/smoke/fluid2d.cc:152: error: ‘rfftwnd_one_real_to_complex’ was not declared in this scope
/Users/Tom/Desktop/Touchlib/multitouch/demos/smoke/fluid2d.cc:152: error: ‘plan_cr’ was not declared in this scope
/Users/Tom/Desktop/Touchlib/multitouch/demos/smoke/fluid2d.cc:152: error: ‘rfftwnd_one_complex_to_real’ was not declared in this scope
/Users/Tom/Desktop/Touchlib/multitouch/demos/smoke/fluid2d.cc:153: error: ‘plan_rc’ was not declared in this scope
/Users/Tom/Desktop/Touchlib/multitouch/demos/smoke/fluid2d.cc:153: error: ‘rfftwnd_one_real_to_complex’ was not declared in this scope
/Users/Tom/Desktop/Touchlib/multitouch/demos/smoke/fluid2d.cc:153: error: ‘plan_cr’ was not declared in this scope
/Users/Tom/Desktop/Touchlib/multitouch/demos/smoke/fluid2d.cc:153: error: ‘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,0xb02b2000) malloc: *** error for object 0x29a2d640: double free
*** set a breakpoint in malloc_error_break to debug
Segmentation fault
Why is this?
