Hi,

I had the same issue.

I solved the issue by installing the package with the following
options: openimageio:with_jpeg2000=False libtiff:jpeg=libjpeg-turbo

So this should work:

conan install openimageio/2.1.11.2@ppodsiadly/stable -o
openimageio:with_jpeg2000=False -o libtiff:jpeg=libjpeg-turbo

This ensures only the libjpeg-turbo is present in the libjpeg-turbo
dependency graph.

Best
Jan

Am Mo., 26. Okt. 2020 um 08:15 Uhr schrieb Larry Gritz <l...@larrygritz.com>:

> I don't know how to advise. The problem is that two of these packages --
> which are basically interchangeable -- provide libraries of the same name.
> OIIO can use either one. It tries to find libjpeg-turbo first, and uses it
> if it's available, because it's much faster. But if jpeg-turbo is not
> found, it will happily fall back to libjpeg.
>
> This error message is from Conan. Apparently it doesn't like this
> situation. I suppose somebody could modify the Conan recipe for building
> OIIO and just make a decision to list only one of the two dependencies.
>
> -- lg
>
>
> On Oct 22, 2020, at 4:40 AM, Muhammad Majid Zia <
> majid....@automotive-ai.com> wrote:
>
> Hi OIIO team,
> I am using OIIO library and while building it via Conan package manage I
> was having a conflict between two of the dependencies providing same
> functionality (i.e screenshot attached)
> <image.png>
> I made a quick fix by manually removing the dependency from the build.py
> script. Now I am able to successfully build the recipe but I just want to
> make sure that this fix will not make any trouble for me in the future or
> there is a better approach to resolve the issue.
>
> Looking forward to hear from you.
>
> Best,
> Muhammad Majid Zia
>
>
> --
> Larry Gritz
> l...@larrygritz.com
>
>
>
>
> _______________________________________________
> 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

Reply via email to