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

David Gobbi david.gobbi at gmail.com
Sat Feb 22 08:00:33 EST 2014


Hi Jameson,

What Tcl/Tk package are you using?  VTK is known to work with
the Tk in /System/Library/Frameworks/Tk.framework, which is the
Tk that Apple includes in OS X.  It is Tk version 8.5 with several
custom patches from Apple.

  - David


On Sat, Feb 22, 2014 at 3:20 AM, Goodwin Lawlor
<goodwin.lawlor.lists at gmail.com> wrote:
> Hi Jameson,
>
> I built VTK5.10 with Tcl/Tk wrappers last year.
>
> Some of the problems faced and solutions are in this thread:
> http://markmail.org/thread/7wjmyrhf4ub3vzxj
>
> I don't have access to a Mac at the moment so can't be of more help. Sorry!
>
> hth
>
> Goodwin
>
>
> On Sat, Feb 22, 2014 at 7:15 AM, jmerkow <jmerkow at gmail.com> wrote:
>>
>> Same error.
>>
>> Linking CXX static library ../../lib/libvtkInteractionImageTCL-6.1.a
>> [ 95%] Built target vtkInteractionImageTCL
>> [ 95%] Built target vtkRenderingFreeTypeOpenGL
>> [ 95%] Built target vtkRenderingFreeTypeOpenGLTCL
>> [ 95%] Built target vtkRenderingImage
>> [ 95%] Built target vtkRenderingImageTCL
>> [ 96%] Built target vtkRenderingLIC
>> [ 96%] Built target vtkRenderingLICTCL
>> [ 96%] Built target vtkRenderingLOD
>> [ 96%] Built target vtkRenderingLODTCL
>> [ 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


More information about the vtkusers mailing list