ParaView Plugins projects fail to build on a recent system (TBB related)
may be related to #213
the following fails on an up to date ArchLinux:
cmake -GNinja -DENABLE_surfacetrackercut=ON -DENABLE_paraview=ON -DENABLE_qt5=ON ../pvsb
ninja
[7/11] Performing configure step for 'surfacetrackercut'
FAILED: superbuild/surfacetrackercut/stamp/surfacetrackercut-configure /home/glow/work/paraview/pvsb/pvsb_b/superbuild/surfacetrackercut/stamp/surfacetrackercut-configure
cd /home/glow/work/paraview/pvsb/pvsb_b/superbuild/surfacetrackercut/build && /usr/bin/cmake -P /home/glow/work/paraview/pvsb/pvsb_b/superbuild/sb-surfacetrackercut-configure.cmake && /usr/bin/cmake -E touch /home/glow/work/paraview/pvsb/pvsb_b/superbuild/surfacetrackercut/stamp/surfacetrackercut-configure
Not searching for unused variables given on the command line.
CMake Warning at /home/glow/work/paraview/pvsb/pvsb_b/install/lib/cmake/paraview-5.10/GmshIO-vtk-module-find-packages.cmake:115 (find_package):
By not providing "FindGmsh.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Gmsh", but
CMake did not find one.
Could not find a package configuration file provided by "Gmsh" (requested
version 4.7.0) with any of the following names:
GmshConfig.cmake
gmsh-config.cmake
Add the installation prefix of "Gmsh" to CMAKE_PREFIX_PATH or set
"Gmsh_DIR" to a directory containing one of the above files. If "Gmsh"
provides a separate development package or SDK, be sure it has been
installed.
Call Stack (most recent call first):
/home/glow/work/paraview/pvsb/pvsb_b/install/lib/cmake/paraview-5.10/ParaViewPlugins-paraview_plugins-targets-depends.cmake:148 (include)
/home/glow/work/paraview/pvsb/pvsb_b/install/lib/cmake/paraview-5.10/paraview-config.cmake:97 (include)
CMakeLists.txt:4 (find_package)
-- Could not find the GmshIO package due to a missing dependency: Gmsh
-- Found Embree v3.13.1: /home/glow/work/paraview/pvsb/pvsb_b/install/lib/libembree3.so.3.13.1
CMake Error at /home/glow/work/paraview/pvsb/pvsb_b/install/lib/cmake/TBB/TBBTargets.cmake:37 (message):
Some (but not all) targets in this export set were already defined.
Targets Defined: TBB::tbb;TBB::tbbmalloc;TBB::tbbmalloc_proxy
Targets not yet defined: TBB::tbbbind_2_5
Call Stack (most recent call first):
/home/glow/work/paraview/pvsb/pvsb_b/install/lib/cmake/TBB/TBBConfig.cmake:1 (include)
/home/glow/work/paraview/pvsb/pvsb_b/install/lib/cmake/rkcommon-1.7.0/rkcommon_macros.cmake:183 (find_package)
/home/glow/work/paraview/pvsb/pvsb_b/install/lib/cmake/rkcommon-1.7.0/rkcommonConfig.cmake:49 (rkcommon_create_tasking_target)
/usr/share/cmake/Modules/CMakeFindDependencyMacro.cmake:47 (find_package)
/home/glow/work/paraview/pvsb/pvsb_b/install/lib/cmake/ospray-2.7.1/osprayConfig.cmake:143 (find_dependency)
/home/glow/work/paraview/pvsb/pvsb_b/install/lib/cmake/paraview-5.10/vtk/VTK-vtk-module-find-packages.cmake:162 (find_package)
/home/glow/work/paraview/pvsb/pvsb_b/install/lib/cmake/paraview-5.10/vtk/vtk-config.cmake:150 (include)
/home/glow/work/paraview/pvsb/pvsb_b/install/lib/cmake/paraview-5.10/paraview-config.cmake:169 (find_package)
CMakeLists.txt:4 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/glow/work/paraview/pvsb/pvsb_b/superbuild/surfacetrackercut/build/CMakeFiles/CMakeOutput.log".
CMake Error at /home/glow/work/paraview/pvsb/pvsb_b/superbuild/sb-surfacetrackercut-configure.cmake:47 (message):
Failed with exit code 1
ninja: build stopped: subcommand failed.
Edited by Mathieu Westphal (Kitware)