Closed yurivict closed 4 months ago
tuple_size_v
is part of the C++17 standard. The link to your build log doesn't work for me, please make sure you're building OpenVDB with C++17 or file this issue with whoever maintains py39-openimageio
Yes, that was our (downstream) mistake, but the project should also require a specific C++ standard in CMake to prevent such mistakes.
@Idclip
I agree with @arrowd .
You should check that the C++ standard level requested is compatible with OpenVDB.
The __cplusplus
variable contains the currently used C++ level.
I'm sure CMake has a built-in function to perform this check.
Ideally both cmake and C++ checks should be present, because some people just don't use cmake and link directly.
This check is performed here when building OpenVDB:
When building against OpenVDB, you're correct in that there is no define requirement. We could add one in the future to make things clearer
Environment
Operating System: FreeBSD 14.0 Version / Commit SHA: 11.0.0 Other: clang-18.1.5
Describe the bug
The py39-openimageio using OpenVDB fails to build:
log