Closed bluecube closed 6 years ago
Now that I've tried it with g++ 6.4.0 properly, the error is there as well
I googled the error messages. As far as I can tell, Gentoo is using a special build of openvdb 4 that has been modified to use the openvdb 3 ABI, for binary compatibility with Houdini. On this build, I need to compile with -DOPENVDB_3_ABI_COMPATIBLE. Next step: figure out how to make my Cmake script do the right thing automatically.
Fixed this by adding openvdb as a submodule, and compiling the openvdb sources as part of the Curv build. See the last 3 commits, ending at https://github.com/doug-moen/curv/commit/c73ed21615730e772d938e3a56db79f769f6abb5
Clean clone, Gentoo's media-gfx/openvdb-4.0.2. This failure doesn't happen when I force using g++-6.4.0 as a compiler (but I'm getting stuck on #17).