[vtkusers] Fix Ubuntu 14.04 VTK 6.1 compiling issue
sholzergr at gmail.com
Fri Aug 29 03:49:51 EDT 2014
I faced the same compiling issue on Ubuntu 14.04 as mathew here:
Compiling fails, because "GLsizeiptr has not been declared".
The issue is that "vtkgl.h" is included *after* "GL/glx.h" which needs
the typedefs for the datatypes from "vtkgl.h".
I simply swapped the two lines and VTK compiles. Appended a patch that
shows the change.
Interestingly on my ArchLinux system compiling VTK 6.1 works out of
the box and this was not necessary. I didn't further investigate that,
so I'm not sure if swapping the two lines is actually the correct fix.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 820 bytes
Desc: not available
More information about the vtkusers