AcademySoftwareFoundation / openvdb

OpenVDB - Sparse volume data structure and tools
http://www.openvdb.org/
Apache License 2.0
2.71k stars 660 forks source link

[BUG] Error in some boost library function at build time which also appears on running as a standalone #1604

Closed CharFractal closed 1 year ago

CharFractal commented 1 year ago

Environment

Operating System: (e.g. Windows ) Version / Commit SHA: (e.g VDB 10.0.0/10.0.01) Other: (e.g compiler, C++ standard etc.)

Describe the bug

(upon building with the latest version of boost this error appears at buid

D:\openvdb-10.0.1\openvdb\openvdb\points/PointDataGrid.h(1407,109): error C2039: 'second': is not a member of 'std::pai r<const std::string,boost::any>' [D:\openvdb-10.0.1\build\openvdb\openvdb\openvdb_shared.vcxproj])

To Reproduce

Steps to reproduce the behavior:

  1. Build with 'as given in openvdb github . i just followed those steps '
CharFractal commented 1 year ago

image

Idclip commented 1 year ago

Hey @ravikul505,

This seems to be a duplicate of https://github.com/AcademySoftwareFoundation/openvdb/issues/1385 https://github.com/AcademySoftwareFoundation/openvdb/issues/1446. Comments on PRs associated with this indicate that updating VS2022 fixed the issue. Can you confirm what VS version you're building with and whether it's the latest? If not, try updating and building again

Idclip commented 1 year ago

Closing as resolved, but please reopen if the above does not fix your issue