[vtkusers] Compiling VTK with Tcl/Tk on OS X

jmerkow jmerkow at gmail.com
Sat Feb 22 00:47:35 EST 2014


I am attempting to compile VTK 6.0.0 on my OS X machine with Tcl Tk wrapping. 
It gets most of the way through but I get an error:

Linking CXX static library ../../lib/libvtkRenderingLabelTCL-6.0.a
[ 96%] Built target vtkRenderingLabelTCL
[ 96%] Building CXX object
Rendering/Tk/CMakeFiles/vtkRenderingTkTCL.dir/vtkCocoaTkUtilities.mm.o
/Users/jmerkow/code/VTK/Rendering/Tk/vtkCocoaTkUtilities.mm: In static
member function ‘static void*
vtkCocoaTkUtilities::GetDrawableView(Tk_Window_*)’:
/Users/jmerkow/code/VTK/Rendering/Tk/vtkCocoaTkUtilities.mm:57: error:
‘struct TkWindowPrivate’ has no member named ‘view’
make[2]: ***
[Rendering/Tk/CMakeFiles/vtkRenderingTkTCL.dir/vtkCocoaTkUtilities.mm.o]
Error 1
make[1]: *** [Rendering/Tk/CMakeFiles/vtkRenderingTkTCL.dir/all] Error 2
make: *** [all] Error 2

Any help?  I've tried debugging myself to no avail.

Im using make file generator with: gcc --version
i686-apple-darwin11-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666)

Any help with this is greatly appreciated!!!

-Jameson



--
View this message in context: http://vtk.1045678.n5.nabble.com/Compiling-VTK-with-Tcl-Tk-on-OS-X-tp5726071.html
Sent from the VTK - Users mailing list archive at Nabble.com.


More information about the vtkusers mailing list