How to compile VTK 8.2.0 with gcc-7 and Qt 5.9.1 on MacOS 10.14?

More than a fair chance, once the Obj-C++ files pull in Foundation and the like there will be other errors.

Benjamin, can you not use clang instead of gcc? Does “gcc-mp-7” refer to OpenMP? Although AppleClang doesn’t have OpenMP support, regular Clang does, and it will probably compile Apple’s headers too.

Cheers,

Sean

1 Like