[vtkusers] Problems compiling VTK for MacOS X

Jens Eickmeyer jeickmeyer at web.de
Thu Jan 30 05:09:18 EST 2003


Hi,

I've tried to compile VTK for MacOS X mit support for Apple X11. I'm 
using the version from CVS for VTK and CMake. I've enable building of 
shared libraries and disabled building the examples, testing and 
carbon-interface. Everything works well until the vtkRendering.dynlib 
should be linked. I get the following error message:

Building shared library 
/Users/jenseickmeyer/devel/cvs/VTK/bin/libvtkRendering.dylib...
ld: Undefined symbols:
_glXChooseVisual
_glXCreateContext
_glXDestroyContext
_glXGetClientString
_glXGetConfig
_glXGetCurrentContext
_glXIsDirect
_glXMakeCurrent
_glXQueryExtension
_glXQueryExtensionsString
_glXQueryServerString
_glXSwapBuffers
/usr/bin/libtool: internal link edit command failed
make[3]: *** 
[/Users/jenseickmeyer/devel/cvs/VTK/bin/libvtkRendering.dylib] Error 1
make[2]: *** [default_target] Error 2
make[1]: *** [default_target_Rendering] Error 2
make: *** [default_target] Error 2

Can anyone help me? What do I do wrong? Does ist work with the X11 
packages from the fink-project? How good is the OpenGL performance with 
this package?

Thanks in advance
Jens




More information about the vtkusers mailing list