Two build/install problems VTK/Mangled MESA
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
I just built VTK (a recent nightly) on my Linux machine with MANGLED_MESA and Mesa 6.3.2.
In the Rendering/vtkgl.h file that gets created, I had to add this line:
#ifdef VTK_USE_X #define GLX_GLXEXT_PROTOTYPES // I added this #include <GL/glx.h> #endif
Without it, Mesa's glxext.h would not declare glXGetProcAddressARB, and vtkOpenGLExtensionManager.cxx wouldn't compile. Maybe this is not the proper fix, but it worked for me.
Also, I had to copy the created MangleMesaInclude directory and its contents to my installed "include" directory. It didn't get copied there with "gmake install", and my application wouldn't build without it.
Everything works fine now.