[vtkusers] vtk 8.1 on mac sierra (10.12.5) - error: no member named 'view' in 'TkWindowPrivate'

Sean McBride sean at rogue-research.com
Wed May 31 12:01:12 EDT 2017


On Wed, 31 May 2017 10:54:45 -0400, Reuben Kraft said:

>Hello,
>
>I am trying to build vtk 8.1 on mac running sierra (version 10.12.5). I am
>currently getting this error message below. I have seen others with this
>problem but the solution was not clear. It seemed like it had something to
>do with the location of the Tk headers? I was hoping someone would have
>some clear suggestions. CmakeCache.txt is attached.
>
>Thanks.
>
>[ 69%] Building CXX object
>Rendering/Tk/CMakeFiles/vtkRenderingTkTCL.dir/vtkCocoaTkUtilities.mm.o
>
>/Users/rhk12/code/vtk/Rendering/Tk/vtkCocoaTkUtilities.mm:57:28: error: no
>member named 'view' in 'TkWindowPrivate'
>
>  NSView *result = macWin->view;
>
>                   ~~~~~~  ^

In your cache we see:

TK_INTERNAL_PATH:PATH=/Users/rhk12/code/vtk/ThirdParty/TclTk/internals/tk8.5

In:

VTK/ThirdParty/TclTk/internals/tk8.5/tkMacOSXInt.h

there is indeed no member named 'view' in 'TkWindowPrivate'.

In:

VTK/ThirdParty/TclTk/internals/tk8.6/tkMacOSXInt.h

there is.

Cheers,

-- 
____________________________________________________________
Sean McBride, B. Eng                 sean at rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada




More information about the vtkusers mailing list