Comments (7)
Does OpenVDB 10.1 require a C++17 minimum?
from openimageio.
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
from openimageio.
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.
from openimageio.
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.
from openimageio.
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.
from openimageio.
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
from openimageio.
To try to protect against this in the future: #4023
from openimageio.
Related Issues (20)
- provide Orientation value for RAW images HOT 6
- Last release doesn't appear in master HOT 1
- Raise C++ standard minimmum to C++17 for OIIO 3.0
- Raise OpenEXR/Imath minimum to 3.1 for OIIO 3.0
- Raise Python minimum to 3.7 for OIIO 3.0
- Dump Boost from dependencies HOT 1
- Using span and string_view instead of raw pointers
- Convert the rest of ImageBufAlgo to use KWArgs where helpful
- Roadmap goal: Clean up color management for OIIO 3.0 HOT 3
- Feature request: improve sRGB parsing HOT 7
- [BUG] 2.5.9.0 tries to link libxml2 but it looks like cmake doesnt check for the library HOT 2
- [BUG] CMYK is being saved as RGB on export
- [BUG] glTexImage3D not in QOpenGLFunctions but in QOpenGLExtraFunctions HOT 2
- [BUG] When using ImageBuf, this file reports a divide-by-zero exception error. Please take a look
- an example program using OIIO's batched environment lookup HOT 1
- making a stab at generated images by bending the null image plugin HOT 3
- [FEATURE REQUEST] Metadata OpenEXR HOT 2
- [BUG] Photoshop files currently dont load 16- and 32- bit files' image data HOT 2
- [BUG] Wrong data type HOT 3
- [BUG] ensure proper constexpr of string hashing fix fails to build on 32-bit archs HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openimageio.