[vtkusers] Fix Ubuntu 14.04 VTK 6.1 compiling issue

Cory Quammen cory.quammen at kitware.com
Fri Aug 29 07:21:54 EDT 2014


Severin,

For what it's worth, I am compiling VTK master without issue on Ubuntu
14.04, so it appears to be fixed for VTK 6.2.

Dave,

Can the 6.1.0 release be patched with Severin's patch, or the
appropriate patch in VTK master after 6.1 (I haven't identified one)?

Thanks,
Cory

On Fri, Aug 29, 2014 at 3:49 AM, Severin Holzer-Graf
<sholzergr at gmail.com> wrote:
> Hi,
>
> I faced the same compiling issue on Ubuntu 14.04 as mathew here:
> http://www.vtk.org/pipermail/vtkusers/2014-August/084877.html
> 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.
>
> Best
> Severin
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>


More information about the vtkusers mailing list