OpenVDB Core Library Hard dependency on Boost #1562
Replies: 2 comments 1 reply
-
Hi @jhenriques, We are working on stripping out the boost dependency entirely, but yes it is still required (as of VDB 10.X). We have our dependency requirements listed here: https://www.openvdb.org/documentation/doxygen/dependencies.html It looks like this has been incorrectly updated to imply that boost is optional for the core library. I'll fix this documentation. edit: Ah, looks like theres a deeper issue here. The updates to VDB 10's CMake to disable delay loading incorrectly remove the entirety of the boost dependency. @danrbailey this looks like a mistake? I'm not sure how the CI is passing, maybe the system boost is being picked up |
Beta Was this translation helpful? Give feedback.
-
Hello, I wanted to check on the progress of this one. I've done a test with std::any vs boost::any and they seem to have a 1:1 mapping and I was able to replace them without issue (limited testing). It seems like a reasonable change too given that OpenVDB is minimum c++17. The conversion_traits is confounding me a bit, but it looks like it's the last remaining required link to boost. |
Beta Was this translation helpful? Give feedback.
-
Hi all,
I'm trying to build a minimal version of OpenVDB. I configured it to not include boost. Here is the cmake line:
cmake .. -GXcode -DOPENVDB_BUILD_BINARIES=OFF -DOPENVDB_CORE_SHARED=OFF -DOPENVDB_USE_DELAYED_LOADING=OFF -DUSE_STATIC_DEPENDENCIES=ON -DBUILD_SHARED_LIBS=OFF
But then I get a build error here:
openvdb/openvdb/openvdb/math/Math.h
Line 13 in 2caed72
So, I guess the current version for OpenVDB Core Library actually depends on boost but it's not stated anywhere?
Beta Was this translation helpful? Give feedback.
All reactions