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> 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> 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