[vtkusers] Building VTK with Intel compiler fails due to MotionFX

Andreas Buykx A.Buykx at dianafea.com
Wed Jan 9 09:17:22 EST 2019

I occasionally contribute fixes to issues in VTK. My last contributions were on the 8.2.rc2 branch end of November 2018. Today I tried to build the head of the master to look at another issue, with our current intel compiler (version At first I ran into a problem that  CMake/vtkCompilerPlatformFlags.cmake uses VTK_CMAKE_DIR whereas this was renamed to vtk_cmake_dir some time ago. After I fixed that (it also appears in vtkAndroid.cmake, vtkiOS.cmake and some files under Examples/Build) I encountered the following CMake error:

CMake Error in IO/MotionFX/CMakeLists.txt:
  The compiler feature "cxx_generalized_initializers" is not known to CXX



Looking for the compiler feature string led me to the 3rd party library pegl. I don't need the vtkIOMotionFX library, so I would either like to exclude it entirely or, I suppose, update the IO/MotionFX/vtk.module CONDITION entry such that it does not get built with the intel compiler(?)

Could someone help me to achieve this?

Thanks a lot!
Andreas Buykx

Software Developers and Analysis Consultants for Civil and Geotechnical Engineering

Delftechpark 19a, 2628XJ, Delft, The Netherlands
Tel: +31 88 34262 15 (Direct) │ Tel: +31 88 34262 00 (Switchboard) │ Fax: +31 88 34262 99

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://vtk.org/pipermail/vtkusers/attachments/20190109/d2847c4e/attachment.html>

More information about the vtkusers mailing list