[vtkusers] OS X 10.3 build problem

John Hunter jdhunter at ace.bsd.uchicago.edu
Mon Mar 8 17:48:23 EST 2004


I am trying to build vtk 4.4 on OS X 10.3 with the python extensions.

I need to run VTK under pygtk-2 so I am building with X11 (and
rendering, hybrid, patented, shared).  I am getting the following
error:

Building object file vtkRenderingInstantiator.o...
Building shared library /private/var/tmp/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]: *** [/private/var/tmp/VTK/bin/libvtkRendering.dylib] Error 1
make[2]: *** [default_target] Error 2
make[1]: *** [default_target_Rendering] Error 2
make: *** [default_target] Error 2

I accepted the defaults on the cmake configuration and used the gl
framework.

I am also currently using the python framework because I had trouble
with the PYTHON_DEBUG_LIBRARY when using my own python src tree (any
thoughts on how to create this, because I would prefer to use my own
python tree rather than the python framework).

Any thoughts?

Thanks, 
John Hunter



More information about the vtkusers mailing list