-
Notifications
You must be signed in to change notification settings - Fork 454
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adsk contrib - Fix issues when building OCIO with MS Visual Studio 2022 #1647
Adsk contrib - Fix issues when building OCIO with MS Visual Studio 2022 #1647
Conversation
Signed-off-by: Cedrik Fuoco <[email protected]>
Thanks @cedrik-fuoco-adsk, when the Linux issue has been resolved, I would suggest we merge this one quickly as the CI seem to be broken on other PR for Windows which is fixed here. Probably some update to the Windows runners (although they are not using VS 2022). |
Signed-off-by: Cedrik Fuoco <[email protected]>
…wareFoundation#1634) Signed-off-by: Cedrik Fuoco <[email protected]>
…for the Glew fix. Signed-off-by: Cedrik Fuoco <[email protected]>
Signed-off-by: Cedrik Fuoco <[email protected]>
Signed-off-by: Cedrik Fuoco <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note: This is a build-break fix and therefore the two-week rule does not apply.
All issues were discovered when trying to configure and build OCIO on Windows using Microsoft Visual Studio 2022.
Pybind11 has an issue with Microsoft Visual Studio 2022, FindGlew from CMake has a bug around setting GLEW_INCLUDE_DIRS correctly and OpenImageIO as some warnings that get flagged as error. Since those warning are in the OCIO apps, we decided that I would be ok to ignore them temporarily.
Content overview:
Updating Pybind11 to the latest version as Pybind11 <2.9.0 has issues with Microsoft Visual Studio 2022.
Add fix to make sure that GLEW_INCLUDE_DIRS is set correctly.
Ignoring warnings (C4267 and C4244) temporarily in ociolutimage, ocioconvert and oiiohelpers
Reference issue #1634.
Signed-off-by: Cedrik Fuoco [email protected]