--- ./src/IVtkDraw/IVtkDraw_Interactor.cxx.orig +++ ./src/IVtkDraw/IVtkDraw_Interactor.cxx @@ -27,6 +27,16 @@ #undef AllValues #endif +// Prevent naming collisions between X11 +// and VTK versions 9.2.0 and above. +// X11 is included through glx +#ifdef Status +#undef Status +#endif +#ifdef Success +#undef Success +#endif + #include #include #endif