AcademySoftwareFoundation / openvdb

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

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

Open PaddiM opened 3 years ago

PaddiM commented 3 years ago

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<typename nanovdb::TreeNode<nanovdb::FloatTree, NodeLevel>::type*>(nodeAddress);

error is:

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

kmuseth commented 2 years ago

looking into this now