RenderKit / ospray

An Open, Scalable, Portable, Ray Tracing Based Rendering Engine for High-Fidelity Visualization
http://ospray.org
Apache License 2.0
982 stars 178 forks source link

v2.9.0 install is missing SDK headers #526

Closed Laganellac closed 2 years ago

Laganellac commented 2 years ago

Hello, I'm trying to update to v2.9.0 of ospray and I'm noticing that the install is missing a few headers that are required by my code. Specifically my code is looking for common/world.ih and render/Renderer.ih; these files are included in my v2.8.0 install, but are missing from my v2.9.0 install. I also noticed that the SDK directory is pretty empty compared to an install of the previous version.

$ find ospray-v2.8.0/ -name World.ih
ospray-v2.8.0/ospray/include/ospray/SDK/common/World.ih
$ find ospray-v2.8.0/ -name Renderer.ih
ospray-v2.8.0/ospray/include/ospray/SDK/render/Renderer.ih
$ find ospray-v2.9.0/ -name World.ih
$ find ospray-v2.9.0/ -name Renderer.ih
$ ls ospray-v2.8.0/ospray/include/ospray/SDK
api  camera  common  fb  geometry  lights  math  OSPConfig.h  pf  render  texture  volume
$ ls ospray-v2.9.0/ospray/include/ospray/SDK
api  common  OSPConfig.h

If it helps, I installed the code by checking out the v2.9.0 tag and running the superbuild with the following command line:

cmake -B build-v2.9.0 -S scripts/superbuild -DBUILD_JOBS=32 -DCMAKE_INSTALL_PREFIX=$HOME/Programs/ospray-v2.9.0

I'm not sure if this is a bug or an intended change. Any help would be appreciated.

Thanks, Chris

johguenther commented 2 years ago

Will be fixed in the next release (see also #528). Note that the folder structure changed slightly, because most ISPC headers are now part of the CPU module (thus that headers are in .../SDK/modules/cpu.