Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nanovdb has no member "mOffset" and "childID" , what version nanovdb is needed? #130

Open
dumpinfo opened this issue Jul 19, 2022 · 0 comments

Comments

@dumpinfo
Copy link

I add the "https://github.com/AcademySoftwareFoundation/openvdb/tree/master/nanovdb/nanovdb" to the include path of gvdb project, it appear these errors bellow when the project been compiled:
3>gNanoVDB\cuda_export_nanovdb.cu(281): error : class "nanovdb::InternalData<nanovdb::LeafNode<nanovdb::Vec3f, nanovdb::Coord, nanovdb::Mask, 3U>, 7U>" has no member "mOffset"
3> detected during instantiation of "void ProcessInternalNode<ValueT,LOG2DIM>(VDBInfo *, VDBNode *, uint8_t *, uint8_t *, int, int, int, int, ValueUnion) [with ValueT=nanovdb::Vec3f, LOG2DIM=7]"
3>(369): here
3>
3>gNanoVDB\cuda_export_nanovdb.cu(330): error : union "nanovdb::InternalData<ChildT, LOG2DIM>::Tile [with ChildT=nanovdb::LeafNode<nanovdb::Vec3f, nanovdb::Coord, nanovdb::Mask, 3U>, LOG2DIM=7U]" has no member "childID"
3> detected during instantiation of "void ProcessInternalNode<ValueT,LOG2DIM>(VDBInfo *, VDBNode *, uint8_t *, uint8_t *, int, int, int, int, ValueUnion) [with ValueT=nanovdb::Vec3f, LOG2DIM=7]"
3>(369): here
3>
3>gNanoVDB\cuda_export_nanovdb.cu(281): error : class "nanovdb::InternalData<nanovdb::LeafNode<int32_t, nanovdb::Coord, nanovdb::Mask, 3U>, 2U>" has no member "mOffset"
3> detected during instantiation of "void ProcessInternalNode<ValueT,LOG2DIM>(VDBInfo *, VDBNode *, uint8_t *, uint8_t *, int, int, int, int, ValueUnion) [with ValueT=int, LOG2DIM=2]"
3>(370): here
3>
3>gNanoVDB\cuda_export_nanovdb.cu(330): error : union "nanovdb::InternalData<ChildT, LOG2DIM>::Tile [with ChildT=nanovdb::LeafNode<int32_t, nanovdb::Coord, nanovdb::Mask, 3U>, LOG2DIM=2U]" has no member "childID"
3> detected during instantiation of "void ProcessInternalNode<ValueT,LOG2DIM>(VDBInfo *, VDBNode *, uint8_t *, uint8_t *, int, int, int, int, ValueUnion) [with ValueT=int, LOG2DIM=2]"
3>(370): here
3>
3>gNanoVDB\cuda_export_nanovdb.cu(281): error : class "nanovdb::InternalData<nanovdb::LeafNode<int32_t, nanovdb::Coord, nanovdb::Mask, 3U>, 3U>" has no member "mOffset"
3> detected during instantiation of "void ProcessInternalNode<ValueT,LOG2DIM>(VDBInfo *, VDBNode *, uint8_t *, uint8_t *, int, int, int, int, ValueUnion) [with ValueT=int, LOG2DIM=3]"
3>(370): here
3>
3>gNanoVDB\cuda_export_nanovdb.cu(330): error : union "nanovdb::InternalData<ChildT, LOG2DIM>::Tile [with ChildT=nanovdb::LeafNode<int32_t, nanovdb::Coord, nanovdb::Mask, 3U>, LOG2DIM=3U]" has no member "childID"
3> detected during instantiation of "void ProcessInternalNode<ValueT,LOG2DIM>(VDBInfo *, VDBNode *, uint8_t *, uint8_t *, int, int, int, int, ValueUnion) [with ValueT=int, LOG2DIM=3]"
3>(370): here

How can I solve these problems? and what version off nanovdb should I include? Where can I find the specified version of nanovdb ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant