AcademySoftwareFoundation / AcademySoftwareFoundation/openvdb

[BUG] - can't compile nanovdb_viewer with Optix support

Open
#1,132 1 comment 0 reactions 0 assignees View on GitHub
bug nanovdb
Dominant language
C++
Stars
3.4k
Forks
774
Avg merge
3d 9h
Merged PRs (30d)
34

Description

### Environment
**Operating System: Windows 10
**Version / Commit SHA: af7dae1cff24261f983af0896caf1858762a20d9
**Other: Visual Studio 2019

### Describe the bug

RenderlauncherOptix.cpp has a problem with line 809:

`auto* node = static_cast::type*>(nodeAddress);`

error is:

cannot deduce auto type. namespace nanovdb has no member TreeNode.

Contributor guide

Open the contributing guide

Research direction

Start with RenderlauncherOptix.cpp at line 809 and reproduce the nanovdb_viewer build with Optix support on the reported Windows 10 and Visual Studio 2019 environment. Check the compiler error at that line; done means the Optix-enabled viewer compiles successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
build-system, computer-graphics
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.