<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">Hi all:<DIV><BR class="khtml-block-placeholder"></DIV><DIV>I used the opengl paths that was recommended but during my build i get the following error:</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>In file included from /Users/vivekd/VTK/Rendering/vtkOpenGLPolyDataMapper.h:26,</DIV><DIV>                 from /Users/vivekd/VTK/Rendering/vtkGraphicsFactory.cxx:28:</DIV><DIV>/Users/vivekd/VTK/Rendering/vtkOpenGL.h:24:43: error: GL/gl.h: No such file or directory</DIV><DIV>/Users/vivekd/VTK/Rendering/vtkOpenGLPolyDataMapper.h:87: error: 'GLenum' has not been declared</DIV><DIV>/Users/vivekd/VTK/Rendering/vtkOpenGLPolyDataMapper.h:98: error: 'GLenum' has not been declared</DIV><DIV>/Users/vivekd/VTK/Rendering/vtkOpenGLRenderWindow.h:101: error: 'GLuint' has not been declared</DIV><DIV>make[2]: *** [Rendering/CMakeFiles/vtkRendering.dir/vtkGraphicsFactory.o] Error 1</DIV><DIV>make[1]: *** [Rendering/CMakeFiles/vtkRendering.dir/all] Error 2</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>any suggestions would be great</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Thanks,</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>-Vivek</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><DIV><DIV><DIV>On Jun 15, 2006, at 10:19 AM, Glen Lehmann wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite">Hi Vivek,<BR><BR>These paths are for the Carbon and Cocoa builds.  I haven't looked at X11 on the Mac for a long, long while now and I don't recall if X11 is built against the framework OpenGL libraries or those found in /usr/lib/X11R6 (can't check right now, I'm booted up in windows). <BR><BR>My guess is that the X11 libraries you build VTK against will depend on what version of OS X you're running.<BR><BR>Cheers,<BR><BR>Glen<BR><BR><DIV><SPAN class="gmail_quote">On 15/06/06, <B class="gmail_sendername"> Vivek Dwivedi</B> &lt;<A href="mailto:vivekd@mail630.gsfc.nasa.gov">vivekd@mail630.gsfc.nasa.gov</A>&gt; wrote:</SPAN><BLOCKQUOTE class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <DIV><DIV style="">Hi all:<DIV><BR></DIV><DIV>Are these paths for the cocoa build or for the X11 build?</DIV></DIV><DIV><SPAN class="sg"><DIV><BR></DIV><DIV>-Vivek</DIV></SPAN></DIV><DIV><SPAN class="q"><DIV><BR></DIV><DIV> <BR></DIV><DIV><BR><DIV><DIV>On Jun 13, 2006, at 8:02 AM, Glen Lehmann wrote:</DIV><BR><BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT style="font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal;" face="Helvetica" size="3"> Hi Greg,</FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; min-height: 14px; "> <BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT style="font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal;" face="Helvetica" size="3"> What version of VTK are you trying to build?</FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; min-height: 14px; "> <BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT style="font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal;" face="Helvetica" size="3"> You'll need to cvs check out either the main branch or the VTK-5-0</FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT style="font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal;" face="Helvetica" size="3"> branch.<SPAN>  </SPAN>I don't reccommend using the .zip/.gz downloads.</FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; min-height: 14px; "> <BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT style="font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal;" face="Helvetica" size="3"> I've never seen CMake have a problem finding the OpenGl paths on a Mac</FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT style="font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal;" face="Helvetica" size="3"> before.<SPAN>  </SPAN>In your CMakeCache.txt the should be set to:</FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; min-height: 14px; "> <BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT style="font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal;" face="Helvetica" size="3"> //Include for OpenGL on OSX</FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT style="font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal;" face="Helvetica" size="3"> OPENGL_INCLUDE_DIR:PATH=/System/Library/Frameworks/OpenGL.framework</FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; min-height: 14px; "> <BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT style="font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal;" face="Helvetica" size="3"> //OpenGL lib for OSX</FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT style="font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal;" face="Helvetica" size="3"> OPENGL_gl_LIBRARY:FILEPATH=/System/Library/Frameworks/OpenGL.framework</FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; min-height: 14px; "> <BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT style="font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal;" face="Helvetica" size="3"> //AGL lib for OSX</FONT></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><FONT style="font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal;" face="Helvetica" size="3"> OPENGL_glu_LIBRARY:FILEPATH=/System/Library/Frameworks/AGL.framework</FONT></DIV> </BLOCKQUOTE></DIV><BR></DIV></SPAN></DIV><DIV></DIV> </DIV></BLOCKQUOTE></DIV><BR></BLOCKQUOTE></DIV><BR></DIV></DIV></BODY></HTML>