Found the root cause for this. I relay it here in case it helps anyone else.
Normally, Tcl.framework is over at /System/Library and System/Library/Frameworks. In one of my Macs, some version of it was found in /Library/Framework. I suspect placed there by some installer. Removing it from /Library/Frameworks fixed the build problem. -Arman > On Nov 3, 2020, at 1:19 PM, Arman Garakani <[email protected]> wrote: > > In file included from /Library/Frameworks/Tcl.framework/Headers/png.h:12: > /Library/Frameworks/Tcl.framework/Headers/pngtclDecls.h:31:10: fatal error: > '../compat/libpng/png.h' file not found > #include "../compat/libpng/png.h" > ^~~~~~~~~~~~~~~~~~~~~~~~ > 1 error generated. > > Included from /src/ico.imageio/icoinput.cpp:9: > > Tcl.framework is a mess on macOS > > Any hints / ideas > > > Thanks > > -Arman >
_______________________________________________ Oiio-dev mailing list [email protected] http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
