<div dir="ltr"><div><div><div>Hello everyone,<br><br></div>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).<br><br></div>I managed to build them by modifying the regular expression:<br><br>string (REGEX MATCH "[345]\\.[0-9]\\.[0-9]"<br>    _gcc_version "${_gcc_version_info}")<br clear="all"><br></div>by adding a 6 to the first match.<br><div><br>in:<br>CMake/vtkCompilerExtras.cmake for VTK 5 and 7<br><div><div><div>CMake/GenerateExportHeader.cmake for VTK 7<br><br></div><div>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.<br><br></div><div>Best regards,<br></div><div>Alexandre Ancel<br></div><div><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><span><font color="#888888"><div dir="ltr"><font face="courier new, monospace">Alexandre Ancel <br>Docteur, Ingénieur de recherche / Phd, Research Engineer<br></font><div>
<font face="courier new, monospace"><a href="http://www.cemosis.fr" target="_blank">Ce<font color="#888888">mosis</font></a> - <a href="mailto:alexandre.ancel@cemosis.fr" target="_blank">alexandre.ancel@cemosis.fr</a></font></div><div><font face="courier new, monospace">Tel: +33 (0)3 68 8</font><span><font color="#888888"><font face="courier new, monospace"><b>5 02 06</b></font></font></span></div>
<div><font face="courier new, monospace">IRMA - 7, rue René Descartes</font></div><div><font face="courier new, monospace">67 000 Strasbourg, France<br></font></div></div></font></span></div></div></div></div>
</div></div></div></div></div>