AcademySoftwareFoundation / AcademySoftwareFoundation/openvdb
[BUILD] nanovdb viewer compile error with Optix
- Dominant language
- C++
- Stars
- 3.4k
- Forks
- 774
- Avg merge
- 3d 9h
- Merged PRs (30d)
- 34
Description
### 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
Contributor guide
Research direction
Start in nanovdb/nanovdb/cmd/viewer/RenderLauncherOptix.cpp at line 406 and compare the referenced OptiX compile option with the OptiX 7.4 API. Confirm the nanovdb viewer compiles with the reported GCC, CUDA, and OptiX versions without the missing-constant error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, linux
- Domain
- build-system, computer-graphics
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 42/100