Control: forwarded -1 https://bugs.orfeo-toolbox.org/view.php?id=1419

Hi Mattia.

On 2017-06-21 11:09, Mattia Rizzolo wrote:
Trying to rebuild otb with OpenCV 3.1 (as found in experimental) fails
on non-x86 due to cmake not locating it.

I'm aware of this issue, and it has been fixed upstream more generically than with my patch.

Although they still set the PATH_SUFFIXES, see:

https://git.orfeo-toolbox.org/otb.git/commitdiff/f0541d761ee69f3300d0cdfd3c869140bec29c2d

You very much need not tell cmake where to find libraries as long as
they in a standard path, therefore the attached patch is quite enough to
do the trick.

Please remove the opencv-i386.patch and replace it with the attached
one.

Severity is important because we would like to proceed with the
transition soonish, at which point this will be a blocker.

OTB can only be built on i386 & amd64 because ITK4 is only available there, otb is not a blocker for the OpenCV transition because it builds everywhere where it built before.

It doesn't look like insighttoolkit4 in experimental has included the changes from Ubuntu to support more than amd64 & i386, so we don't have to handle other architectures in OTB yet.

I consider applying your patch as it's a more correct fix for the OpenCV issue, but it's not strictly required.

Kind Regards,

Bas

Reply via email to