Hi It's best to clone the IlmBase 2.1.0 and the OpenEXR 2.1.0 from the github and build by yourself, first IlmBase, later OpenEXR, the prefix folder should be the same.
Once you have built the static libraries + include files, just set OPENEXR_ROOT_DIR and ILMBASE_ROOT_DIR, and OIIO should be able to find them. Here is a bit tricky is that sometimes the dynamic OIIO library might be linked with static OpenEXR, maybe some modifications on CMakeFiles is needed. Good luck. On Thu, Jul 4, 2019 at 5:40 AM kdawlud <kdaw...@protonmail.com> wrote: > Hello > > I'm trying to build ooio on Windows, but I'm getting the following error: > > "Could NOT find OpenEXR: Found unsuitable version "1.6.1", but required is > at least "2.0 (found D:/Projects/dev/openexr/out/build/x86-Release/IlmBase)" > > It's basically the same problem as in this issue > <https://github.com/OpenImageIO/oiio/issues/1837>. > The package with precompiled external libraries mentioned in the docs > <https://github.com/OpenImageIO/oiio/blob/master/INSTALL.md> is outdated > so I build Tiff and OpenEXR libs myself. Maybe I pointing > OPENEXR_INCLUDE_DIR or ILM_INCLUDE_DIR to a wrong directory? > > I have little experience with CMake and building projects in general. > Please let me know if you need more information. I attached CMakeCache.txt > > Best Regards, > Chris > > > _______________________________________________ > Oiio-dev mailing list > Oiio-dev@lists.openimageio.org > http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org >
_______________________________________________ Oiio-dev mailing list Oiio-dev@lists.openimageio.org http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org