AcademySoftwareFoundation / openvdb

OpenVDB - Sparse volume data structure and tools
http://www.openvdb.org/
Mozilla Public License 2.0
2.63k stars 648 forks source link

[BUILD] nanovdb viewer compile error with Optix #1365

Open ib00 opened 2 years ago

ib00 commented 2 years ago

Environment

Operating System: Manjaro Linux Version / Commit SHA: 4a186c2ed4fe3ea925b9c1c6251ac8d0ad3772f0 CMake Version: 3.22 Compiler: gcc 11.1, cuda 11.5, Optix 7.4

Describe the problem

/tmp/openvdb-nanovdb/nanovdb/nanovdb/cmd/viewer/RenderLauncherOptix.cpp:406:41: error: ‘OPTIX_COMPILE_DEBUG_LEVEL_LINEINFO’ was not declared in this scope; did you mean ‘OPTIX_COMPILE_DEBUG_LEVEL_MINIMAL’? 406 | module_compile_options.debugLevel = OPTIX_COMPILE_DEBUG_LEVEL_LINEINFO;

In Optix 7.4, 'OPTIX_COMPILE_DEBUG_LEVEL_LINEINFO' doesn't exist anymore

nachovizzo commented 2 years ago

This might be related #955