MantisBT - VTK
View Issue Details
0002178VTK(No Category)public2005-08-22 17:282016-08-12 09:54
lee ann fisk 
Will Schroeder 
lowminoralways
closedmoved 
 
 
0002178: Two build/install problems VTK/Mangled MESA
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.
No tags attached.
Issue History
2011-06-16 13:11Zack GalbreathCategory => (No Category)
2016-08-12 09:54Kitware RobotNote Added: 0036797
2016-08-12 09:54Kitware RobotStatusexpired => closed
2016-08-12 09:54Kitware RobotResolutionopen => moved

Notes
(0036797)
Kitware Robot   
2016-08-12 09:54   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current VTK Issues page linked in the banner at the top of this page.