Back to my original question:

It thinks the include path is 
D:/Projects/dev/openexr/out/build/x86-Release/OpenEXR

What's under that place, exactly? Can you show us what is in that directory, 
like with a recursive `ls` or `dir` listing?



> On Jul 6, 2019, at 10:51 AM, kdawlud <kdaw...@protonmail.com> wrote:
> 
> I set the libraries and all OpenEXR related variables manually.
> D:/Projects/dev/openexr/out/build/x86-Release/OpenEXR contains object files 
> and .vcxproj etc. so I think I should have just pointed to 
> D:/Projects/dev/openexr/OpenEXR initially, but even If I do so, it doesn't 
> alters the error message anyway.
> 
> Only ILMBASE_INCLUDE_PATH changes the error message from:
> "Could NOT find OpenEXR: Found unsuitable version "1.6.1", but required is at 
> least "2.0" (found ILMBASE_INCLUDE_PATH-NOTFOUND)" to:
> "Could NOT find OpenEXR: Found unsuitable version "1.6.1", but required is at 
> least "2.0" (found D:\Projects\dev\openexr\IlmBase)", but the error persists.
> 
> I tried placing root OpenEXR folder in locations common with OIIO to make 
> CMake handle the paths automatically, but it doesn't see it.
> 
> 
> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
> On Saturday, 6 July 2019 17:52, Larry Gritz <l...@larrygritz.com> wrote:
> 
>> Based on your CMakeCache.txt file, it looks like it's finding the 2.3 
>> libraries ok. 
>> 
>> It thinks the include path is 
>> D:/Projects/dev/openexr/out/build/x86-Release/OpenEXR
>> 
>> What's under that place, exactly?
>> 
>> 
>>> On Jul 5, 2019, at 7:20 PM, kdawlud <kdaw...@protonmail.com 
>>> <mailto:kdaw...@protonmail.com>> wrote:
>>> 
>>> Hello - 
>>> 
>>> I set both OPENEXR_ROOT_DIR and ILMBASE_ROOT_DIR, but it doesn't seem to 
>>> change anything. CMake can't automatically detect OpenEXR, and setting the 
>>> variables manually doesn't help either. I still get the same 1.6.1 version 
>>> error.
>>> 
>>> I do not have an 'include' directory, which would keep all the headers and 
>>> .cpp files together, but rather they are located in separate directories 
>>> like:
>>> openexr-2.3.0/OpenEXR/IlmImf
>>> openexr-2.3.0/OpenEXR/IlmImfUtil
>>> 
>>> Is it fine if I set OPENEXR_INCLUDE_DIR to openexr-2.3.0/OpenEXR?
>>> 
>>> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
>>> On Thursday, 4 July 2019 04:02, Bo Zhou <bo.schwarzst...@gmail.com 
>>> <mailto:bo.schwarzst...@gmail.com>> wrote:
>>> 
>>>> 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 
>>>> <mailto: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 <mailto:Oiio-dev@lists.openimageio.org>
>>>> http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org 
>>>> <http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org>
>>> 
>>> _______________________________________________
>>> Oiio-dev mailing list
>>> Oiio-dev@lists.openimageio.org <mailto:Oiio-dev@lists.openimageio.org>
>>> http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
>> 
>> 
>> --
>> Larry Gritz
>> l...@larrygritz.com <mailto:l...@larrygritz.com>
>> 
> 
> _______________________________________________
> Oiio-dev mailing list
> Oiio-dev@lists.openimageio.org
> http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

--
Larry Gritz
l...@larrygritz.com




_______________________________________________
Oiio-dev mailing list
Oiio-dev@lists.openimageio.org
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to