For those having troubles with cmake saying fail to find OSPRay headers, like:
CMake Error at /lib64/cmake/ospray-2.8.0/osprayConfig.cmake:26 (message):
Failed to find OSPRay - OSPRay install root: /, determined from relative
path from osprayConfg.cmake install location: /lib64/cmake/ospray-2.8.0,
does not contain OSPRay headers. Either the install directory was deleted,
or the install tree was only partially relocated outside of CMake after
OSPRay was built.
Call Stack (most recent call first):
/lib64/cmake/ospray-2.8.0/osprayConfig.cmake:69 (ospray_report_not_found)
/lib64/cmake/vtk/VTK-vtk-module-find-packages.cmake:209 (find_package)
/lib64/cmake/vtk/vtk-config.cmake:150 (include)
cmake/pcl_find_vtk.cmake:25 (find_package)
CMakeLists.txt:379 (include)
A temporary workaround is to create a symlink at /include
to point to /usr/include
:
# cd / && ln -s usr/include
It is a problem due to OSPRay determining a wrong installation directory on Arch Linux systems, see this issue: ospray/ospray#511.
Pinned Comments
kino_t commented on 2023-02-18 14:49 (UTC) (edited on 2023-02-19 01:24 (UTC) by kino_t)
Binary of pcl is now available: https://github.com/arch4edu/arch4edu