[vtkusers] installing VTK on Mac

Moreland, Kenneth kmorel at sandia.gov
Wed Jan 21 17:41:01 EST 2004


You probably are using the wrong OpenGL libraries.  Try setting the
following CMake flags:

 OPENGL_INCLUDE_DIR               /usr/X11R6/include
 OPENGL_gl_LIBRARY                /usr/X11R6/lib/libGL.a
 OPENGL_glu_LIBRARY               /usr/X11R6/lib/libGLU.a

-Ken

> -----Original Message-----
> From: k_yang [mailto:kyang at cs.uchicago.edu]
> Sent: Wednesday, January 21, 2004 3:35 PM
> To: vtkusers at vtk.org
> Subject: [vtkusers] installing VTK on Mac
> 
> 
> Hi there,
> I am trying to install VTK4.2.5 on Mac 10.3 using X.
> I got the following message while I was builind VTK with ccmake.
> Does anyone know why this happened?
> Thank!
> 	kay
> 
> ***********************************************
> 
> Building executable /Developer/SciVis/VTK/bin/Graphi
> csCxxTests...
> ld: Undefined symbols:
> _glXChooseVisual
> _glXCreateContext
> _glXDestroyContext
> _glXGetClientString
> _glXGetConfig
> _glXGetCurrentContext
> _glXIsDirect
> _glXMakeCurrent
> _glXQueryExtension
> _glXQueryExtensionsString
> _glXQueryServerString
> _glXSwapBuffers
> make[5]: *** [/Developer/SciVis/VTK/bin/GraphicsCxxT
> ests] Error 1
> make[4]: *** [default_target] Error 2
> make[3]: *** [default_target_Cxx] Error 2
> make[2]: *** [default_target] Error 2
> make[1]: *** [default_target_Graphics_Testing] Error
>  2
> make: *** [default_target] Error 2
> 
> 
> 
> 
> _______________________________________________
> This is the private VTK discussion list. 
> Please keep messages on-topic. Check the FAQ at: 
<http://public.kitware.com/cgi-bin/vtkfaq>
Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers




More information about the vtkusers mailing list