[vtkusers] Newbie: building VTK on OSX
Glen Lehmann
glehmann at atamai.com
Tue Jun 13 08:02:40 EDT 2006
Hi Greg,
What version of VTK are you trying to build?
You'll need to cvs check out either the main branch or the VTK-5-0
branch. I don't reccommend using the .zip/.gz downloads.
I've never seen CMake have a problem finding the OpenGl paths on a Mac
before. In your CMakeCache.txt the should be set to:
//Include for OpenGL on OSX
OPENGL_INCLUDE_DIR:PATH=/System/Library/Frameworks/OpenGL.framework
//OpenGL lib for OSX
OPENGL_gl_LIBRARY:FILEPATH=/System/Library/Frameworks/OpenGL.framework
//AGL lib for OSX
OPENGL_glu_LIBRARY:FILEPATH=/System/Library/Frameworks/AGL.framework
HTH,
Glen
On 12/06/06, Kevin H. Hobbs <hobbsk at ohiou.edu> wrote:
> On Mon, 2006-06-12 at 14:38 -0600, Greg St. George wrote:
> > Building CXX object
> > Rendering/CMakeFiles/vtkRendering.dir/vtkOpenGLExtensionManager.o
> > In file included
> > from /usr/local/VTK/Rendering/vtkOpenGLExtensionManager.cxx:27:
> > /usr/local/VTK- build2.4/Rendering/vtkgl.h:32:20: error: GL/glx.h: No
> > such file or directory
>
> Can you find glx.h on your system? If it isn't there you can always
> build Mesa if you can't install it. If it is there does cmake list the
> correct location?
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.3 (GNU/Linux)
>
> iD8DBQBEjhMRqBtEuW+gRPERArY8AJ9rNSrKJKrtV1Eycbk/SqSUYN3yLgCdGhUj
> EI9HAb/+c37MHuzHBXMMeDw=
> =Eu9g
> -----END PGP SIGNATURE-----
>
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
>
More information about the vtkusers
mailing list