problem compiling ParaView master with OSPRay 1.6
I configure my out-of-source build with cmake 3.12, with many other options:
cmake \ -DOSPRAY_INSTALL_DIR=/local/apps/ospray-1.6.1.x86_64.linux/lib/cmake/ospray-1.6.1 \ -DPARAVIEW_USE_OSPRAY=ON \ ../ParaView
I get errors like:
In file included from /local/apps/ParaView/ParaView/ParaViewCore/ClientServerCore/Rendering/vtkPVLight.cxx:23:0: /local/apps/ParaView/ParaView/VTK/Rendering/OSPRay/vtkOSPRayLightNode.h:28:54: fatal error: ospray/ospray.h: No such file or directory
Note that I am able to temporarily fix it with a simple hack: I create a symlink in the source directory to the installation include file.
pushd ../ParaView/VTK/Rendering/OSPRay ln -s /local/apps/ospray-1.6.1.x86_64.linux/include/ospray ospray popd