Superbuild fails because of OpenCV on ubuntu 16.04
Description
Superbuild configured with use opencv to ON and system open cv to OFF. The error message is:
/home/mfauvel/Iota2InstallDir/iota2/scripts/install/OTB/build/OPENCV/src/OPENCV-stamp/OPENCV-build-err.log
::::::::::::::
In file included from
/home/mfauvel/Iota2InstallDir/iota2/scripts/install/OTB/build/OPENCV/build/modules/core/precomp.hpp:55:0:
/home/mfauvel/Iota2InstallDir/iota2/scripts/install/OTB/build/OPENCV/src/OPENCV/modules/core/src/copy.cpp:
In function ‘bool cv::ipp_flip(cv:
:Mat&, cv::Mat&, int)’:
/home/mfauvel/Iota2InstallDir/iota2/scripts/install/OTB/build/OPENCV/src/OPENCV/modules/core/include/opencv2/core/private.hpp:789:59:
error:
too few arguments to function
#define CV_INSTRUMENT_FUN_IPP(FUN, ...) ((FUN)(__VA_ARGS__))
^
/home/mfauvel/Iota2InstallDir/iota2/scripts/install/OTB/build/OPENCV/src/OPENCV/modules/core/src/copy.cpp:723:9:
note: in expansion of macro
‘CV_INSTRUMENT_FUN_IPP’
CV_INSTRUMENT_FUN_IPP(::ipp::iwiMirror, iwSrc, iwDst,
ippMode);
^
On Ubuntu 16.04 with gcc 5.4.0-6ubuntu1~16.04.10
Steps to reproduce
Configuration information
OTB 6.6.0