<div dir="ltr">Thanks. When I make that change in the configuration, I get a different error having to do with CONST86. Is there another option I need to set? Latest CmakeCache file attached.<div><br></div><div>Thanks,</div><div><br><div><br></div><div><br></div><div>







<p class="gmail-p1"><span class="gmail-s1">[ 68%] </span><span class="gmail-s2">Building CXX object Rendering/OpenGL2/Testing/Cxx/CMakeFiles/vtkRenderingOpenGL2CxxTests.dir/TestVBOPointsLines.cxx.o</span></p>
<p class="gmail-p1"><span class="gmail-s1">[ 68%] </span><span class="gmail-s2">Building CXX object Rendering/OpenGL2/Testing/Cxx/CMakeFiles/vtkRenderingOpenGL2CxxTests.dir/TestValuePass.cxx.o</span></p>
<p class="gmail-p1"><span class="gmail-s1">[ 68%] </span><span class="gmail-s2">Building CXX object Rendering/OpenGL2/Testing/Cxx/CMakeFiles/vtkRenderingOpenGL2CxxTests.dir/TestValuePass2.cxx.o</span></p>
<p class="gmail-p1"><span class="gmail-s1">[ 68%] </span><span class="gmail-s2">Building CXX object Rendering/OpenGL2/Testing/Cxx/CMakeFiles/vtkRenderingOpenGL2CxxTests.dir/TestCubeMap2.cxx.o</span></p>
<p class="gmail-p1"><span class="gmail-s1">[ 68%] </span><span class="gmail-s2">Linking CXX executable ../../../../bin/vtkRenderingOpenGL2CxxTests.app/Contents/MacOS/vtkRenderingOpenGL2CxxTests</span></p>
<p class="gmail-p2"><span class="gmail-s2">[ 68%] Built target vtkRenderingOpenGL2CxxTests</span></p>
<p class="gmail-p1"><span class="gmail-s1">[ 68%] </span><span class="gmail-s2">Building CXX object Rendering/Tk/CMakeFiles/vtkRenderingTkTCL.dir/vtkTclTkWidgetsInit.cxx.o</span></p>
<p class="gmail-p1"><span class="gmail-s1">[ 68%] </span><span class="gmail-s2">Building CXX object Rendering/Tk/CMakeFiles/vtkRenderingTkTCL.dir/vtkTkRenderWidget.cxx.o</span></p>
<p class="gmail-p2"><span class="gmail-s2">In file included from /Users/rhk12/code/vtk/Rendering/Tk/vtkTkRenderWidget.cxx:34:</span></p>
<p class="gmail-p2"><span class="gmail-s2">In file included from /Users/rhk12/code/vtk/ThirdParty/TclTk/internals/tk8.6/tkInt.h:991:</span></p>
<p class="gmail-p3"><span class="gmail-s2">/Users/rhk12/code/vtk/ThirdParty/TclTk/internals/tk8.6/tkIntDecls.h:103:8: </span><span class="gmail-s3">error: </span><span class="gmail-s2">unknown type name 'CONST86'</span></p>
<p class="gmail-p2"><span class="gmail-s2">EXTERN CONST86 char *  TkFindStateString(const TkStateMap *mapPtr,</span></p>
<p class="gmail-p1"><span class="gmail-s2">       ^</span></p>
<p class="gmail-p3"><span class="gmail-s2">/Users/rhk12/code/vtk/ThirdParty/TclTk/internals/tk8.6/tkIntDecls.h:103:16: </span><span class="gmail-s3">error: </span><span class="gmail-s2">expected unqualified-id</span></p>
<p class="gmail-p2"><span class="gmail-s2">EXTERN CONST86 char *  TkFindStateString(const TkStateMap *mapPtr,</span></p>
<p class="gmail-p1"><span class="gmail-s2">               ^</span></p>
<p class="gmail-p3"><span class="gmail-s2">/Users/rhk12/code/vtk/ThirdParty/TclTk/internals/tk8.6/tkIntDecls.h:166:8: </span><span class="gmail-s3">error: </span><span class="gmail-s2">unknown type name 'CONST86'</span></p>
<p class="gmail-p2"><span class="gmail-s2">EXTERN CONST86 char *  TkKeysymToString(KeySym keysym);</span></p>
<p class="gmail-p1"><span class="gmail-s2">       ^</span></p>
<p class="gmail-p3"><span class="gmail-s2">/Users/rhk12/code/vtk/ThirdParty/TclTk/internals/tk8.6/tkIntDecls.h:166:16: </span><span class="gmail-s3">error: </span><span class="gmail-s2">expected unqualified-id</span></p>
<p class="gmail-p2"><span class="gmail-s2">EXTERN CONST86 char *  TkKeysymToString(KeySym keysym);</span></p></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 31, 2017 at 12:01 PM, Sean McBride <span dir="ltr"><<a href="mailto:sean@rogue-research.com" target="_blank">sean@rogue-research.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Wed, 31 May 2017 10:54:45 -0400, Reuben Kraft said:<br>
<br>
>Hello,<br>
><br>
>I am trying to build vtk 8.1 on mac running sierra (version 10.12.5). I am<br>
>currently getting this error message below. I have seen others with this<br>
>problem but the solution was not clear. It seemed like it had something to<br>
>do with the location of the Tk headers? I was hoping someone would have<br>
>some clear suggestions. CmakeCache.txt is attached.<br>
><br>
>Thanks.<br>
><br>
>[ 69%] Building CXX object<br>
>Rendering/Tk/CMakeFiles/<wbr>vtkRenderingTkTCL.dir/<wbr>vtkCocoaTkUtilities.mm.o<br>
><br>
>/Users/rhk12/code/vtk/<wbr>Rendering/Tk/<wbr>vtkCocoaTkUtilities.mm:57:28: error: no<br>
>member named 'view' in 'TkWindowPrivate'<br>
><br>
>  NSView *result = macWin->view;<br>
><br>
>                   ~~~~~~  ^<br>
<br>
</span>In your cache we see:<br>
<br>
TK_INTERNAL_PATH:PATH=/Users/<wbr>rhk12/code/vtk/ThirdParty/<wbr>TclTk/internals/tk8.5<br>
<br>
In:<br>
<br>
VTK/ThirdParty/TclTk/<wbr>internals/tk8.5/tkMacOSXInt.h<br>
<br>
there is indeed no member named 'view' in 'TkWindowPrivate'.<br>
<br>
In:<br>
<br>
VTK/ThirdParty/TclTk/<wbr>internals/tk8.6/tkMacOSXInt.h<br>
<br>
there is.<br>
<br>
Cheers,<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
______________________________<wbr>______________________________<br>
Sean McBride, B. Eng                 <a href="mailto:sean@rogue-research.com">sean@rogue-research.com</a><br>
Rogue Research                        <a href="http://www.rogue-research.com" rel="noreferrer" target="_blank">www.rogue-research.com</a><br>
Mac Software Developer              Montréal, Québec, Canada<br>
<br>
<br>
</font></span></blockquote></div><br></div>