When installing the opencv4.1.0 library on Linux, I have been stuck here:
-- Performing Test HAVE_CXX_WNO_IMPLICIT_FALLTHROUGH
-- Performing Test HAVE_CXX_WNO_IMPLICIT_FALLTHROUGH - Success
-- Performing Test HAVE_CXX_WNO_CLASS_MEMACCESS
-- Performing Test HAVE_CXX_WNO_CLASS_MEMACCESS - Success
-- Checking for module 'gtk+-3.0'
-- No package 'gtk+-3.0' found
-- Checking for module 'gtk+-2.0'
-- Found gtk+-2.0, version 2.24.32
-- Checking for module 'gthread-2.0'
-- Found gthread-2.0, version 2.64.6
-- IPPICV: Download: ippicv_2019_lnx_intel64_general_20180723.tgz
Mainly because the ippicv package cannot be downloaded, so we can use manual download:
wget https://raw.githubusercontent.com/opencv/opencv_3rdparty/32e315a5b106a7b89dbed51c28f8120a48b368b4/ippicv/ippicv_2019_lnx_intel64_general_20180723.tgz
After downloading, place this ippicv_2019_lnx_intel64_general_20180723.tgz
in your own directory, such as: user/xxx/opencv/ippicv_2019_lnx_intel64_general_20180723.tgz
Then find line 47 here opencv-x.x.x\3rdparty\ippicv\ippicv.cmake
"https://raw.githubusercontent.com/opencv/opencv_3rdparty/${IPPICV_COMMIT}/ippicv/"
Modify as follows. Note that this is the path where you put the ippicv installation package:
user/xxx/opencv/
Then reinstall opencv.