<div dir="ltr">Hello,<div><br></div><div>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.</div><div><br></div><div>Thanks.</div><div>







<p class="gmail-p1"><span class="gmail-s1">[ 69%] </span><span class="gmail-s2">Building CXX object Rendering/Tk/CMakeFiles/vtkRenderingTkTCL.dir/vtkCocoaTkUtilities.mm.o</span></p>
<p class="gmail-p2"><span class="gmail-s2">/Users/rhk12/code/vtk/Rendering/Tk/vtkCocoaTkUtilities.mm:57:28: </span><span class="gmail-s3">error: </span><span class="gmail-s2">no member named 'view' in 'TkWindowPrivate'</span></p>
<p class="gmail-p3"><span class="gmail-s2">  NSView *result = macWin->view;</span></p>
<p class="gmail-p1"><span class="gmail-s2">                   ~~~~~~  ^</span></p>
<p class="gmail-p3"><span class="gmail-s2">1 error generated.</span></p>
<p class="gmail-p3"><span class="gmail-s2">make[2]: *** [Rendering/Tk/CMakeFiles/vtkRenderingTkTCL.dir/vtkCocoaTkUtilities.mm.o] Error 1</span></p>
<p class="gmail-p3"><span class="gmail-s2">make[1]: *** [Rendering/Tk/CMakeFiles/vtkRenderingTkTCL.dir/all] Error 2</span></p></div></div>