Closed MehdiChinoune closed 1 year ago
The error message says:
D:/M/msys64/mingw64/include/openvdb/TypeList.h:858:41: note: 'std::tuple_size_v' is only available from C++17 onwards
you are compiling with C++14. Tell your compiler to use C++17 and it will probably work. I think that's CMAKE_CXX_STANDARD=17
Does OpenVDB 10.1 require a C++17 minimum?
It buil
The error message says: D:/M/msys64/mingw64/include/openvdb/TypeList.h:858:41: note: 'std::tuple_size_v' is only available from C++17 onwards you are compiling with C++14. Tell your compiler to use C++17 and it will probably work. I think that's
CMAKE_CXX_STANDARD=17
It works, Thanks. Still there is no mention of C++17 requirement in the release notes.
I will make a PR for OIIO that gives appropriate warnings when building against an OpenVDB that's so new that it requires C++17.
Yeah, looking at older versions of OpenVDB source, it looks like through 9.x, C++14 was adequate, but for OpenVDB >= 10.0, C++17 was their minimum.
Yeah, looking at older versions of OpenVDB source, it looks like through 9.x, C++14 was adequate, but for OpenVDB >= 10.0, C++17 was their minimum.
It was building fine against 10.0.1, Maybe they started using C++17 features with 10.1.0
To try to protect against this in the future: https://github.com/AcademySoftwareFoundation/OpenImageIO/pull/4023
Fails to build against OpenVDB 10.1.0 (Build fine against 10.0.1).