[vtkusers] Compiling VTK with Tcl/Tk on OS X
David Gobbi
david.gobbi at gmail.com
Sat Feb 22 00:59:42 EST 2014
Hi Jameson,
Try using VTK 6.1.0 instead. It contains some Tk bug fixes.
David
On Fri, Feb 21, 2014 at 10:47 PM, jmerkow <jmerkow at gmail.com> wrote:
> 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
More information about the vtkusers
mailing list