[vtkusers] VTK with gcc 6

Alexandre Ancel alexandre.ancel at cemosis.fr
Thu Jul 28 05:23:45 EDT 2016


Hello everyone,

It seems that building VTK with gcc version 6 and up seems to fail at the
CMake configuration step (at least for VTK 5 and 7).

I managed to build them by modifying the regular expression:

string (REGEX MATCH "[345]\\.[0-9]\\.[0-9]"
    _gcc_version "${_gcc_version_info}")

by adding a 6 to the first match.

in:
CMake/vtkCompilerExtras.cmake for VTK 5 and 7
CMake/GenerateExportHeader.cmake for VTK 7

It might be a good idea to also add 7 to future proof the versions or
modify the expression so that future iterations of gcc do not pose problems.

Best regards,
Alexandre Ancel

-- 
Alexandre Ancel
Docteur, Ingénieur de recherche / Phd, Research Engineer
Cemosis <http://www.cemosis.fr> - alexandre.ancel at cemosis.fr
Tel: +33 (0)3 68 8*5 02 06*
IRMA - 7, rue René Descartes
67 000 Strasbourg, France
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160728/42c3fa0a/attachment.html>


More information about the vtkusers mailing list