JungWhoNam / ospray

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

running ospTutorial in ospray/build fails - INITIALIZATION ERROR: could not open module lib openvkl_module_cpu_device #3

Closed ghost closed 1 year ago

ghost commented 1 year ago
jnam@jnam-mbp22 build % pwd
/Users/jnam/Documents/2022/OSPRayIntegration/ospray/build/ospray/build
jnam@jnam-mbp22 build % ./ospTutorial
initialize OSPRay...[openvkl] INITIALIZATION ERROR: could not open module lib openvkl_module_cpu_device: dlopen(/Users/jnam/Documents/2022/OSPRayIntegration/ospray/build/install/rkcommon/lib/libopenvkl_module_cpu_device.dylib, 0x0005): tried: '/Users/jnam/Documents/2022/OSPRayIntegration/ospray/build/install/rkcommon/lib/libopenvkl_module_cpu_device.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/jnam/Documents/2022/OSPRayIntegration/ospray/build/install/rkcommon/lib/libopenvkl_module_cpu_device.dylib' (no such file), '/Users/jnam/Documents/2022/OSPRayIntegration/ospray/build/install/rkcommon/lib/libopenvkl_module_cpu_device.dylib' (no such file)

[openvkl] WARNING: unrecognized device type 'cpu_8'.
[openvkl] INITIALIZATION ERROR: Could not find device of type: cpu_8.  Make sure you have the correct VKL libraries linked.

However, copying dylib files from install/openvkl/lib to one of the paths solves the issue.

Version: ospray 2.10.0 macOS Ventura 13.0.1 Apple clang version 14.0.0 (clang-1400.0.29.202)