[openimageio] "/utf-8 is required on Windows" error returns with version v3.0.0.3 #42327
Labels
category:port-bug
The issue is with a library, which is something the port should already support
Is your feature request related to a problem? Please describe.
When using Visual Studio 2022, if you include headers from OpenImageIO (such as
OpenImageIO/imagebuf.h
) you get the following compilation error:This appears to be related to #41405, which was resolved by #41429. However looking at the portfile, the change (adding
-DINTERNALIZE_FMT=OFF
to the portfile.cmake) is still present in the most recent port for version v3.0.0.3, so I am unsure how related it is.I do not get the issue when compiling with g++ (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, which I do using the following commands:
Proposed solution
Unsure?
Describe alternatives you've considered
Unsure of alternatives (for time being, I am continuing to use a previous version of OpenImageIO, which works without issue)
Additional context
This public repo contains a minimal working example to reproduce the error.
The text was updated successfully, but these errors were encountered: