F3D make error in master?

I’ve just tried building the current master of F3D and am getting an error associated with this line: https://gitlab.kitware.com/f3d/f3d/-/blob/master/src/vtkF3DMetaReader.cxx#L110

/apps/f3d/src/vtkF3DMetaReader.cxx:110:44: error: missing binary operator before token "("
  110 | #if VTK_VERSION_NUMBER >= VTK_VERSION_CHECK(9, 0, 20200616)
      |                                            ^
make[2]: *** [src/CMakeFiles/f3d.dir/build.make:106: src/CMakeFiles/f3d.dir/vtkF3DMetaReader.cxx.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:96: src/CMakeFiles/f3d.dir/all] Error 2
make: *** [Makefile:152: all] Error 2

Here are piped outputs from cmake and make
cmake_log.log (1.4 KB)
make_log.log (951 Bytes)

@Michael @mwestphal

I just noticed this merge request by @Michael https://gitlab.kitware.com/f3d/f3d/-/merge_requests/166

Is that expected to fix this issue?

Yes indeed, if you build F3D master against VTK 9.0, this MR will fix this build error.

2 Likes

@GregVernon : Since F3D is unrelated to ParaView in terms of code, please open a topic on VTK discourse next time :slight_smile:

https://discourse.vtk.org/