-- IPPICV: Downloading ippicv_2021.8_lnx_intel64_20230330_general.tgz from https://raw.githubusercontent.com/opencv/opencv_3rdparty/1224f78da6684df04397ac0f40c961ed37f79ccb/ippicv/ippicv_2021.8_lnx_intel64_20230330_general.tgz
make -j8 到这咋不动了
代理配置问题
-
如果你处在需要代理的环境中,CMake 可能无法直接从 GitHub 下载文件。你可以设置代理以允许下载:
export http_proxy=http://your_proxy_address:port
export https_proxy=https://your_proxy_address:port
In file included from /usr/local/include/eigen3/Eigen/Core:19, from /home/xwy/src/opencv-4.8.0/modules/core/include/opencv2/core/private.hpp:70, from /home/xwy/src/opencv-4.8.0/modules/core/src/precomp.hpp:59, from /home/xwy/src/opencv-4.8.0/modules/core/src/arithm.cpp:50: /usr/local/include/eigen3/Eigen/src/Core/util/Macros.h:716:2: error: #error Eigen requires at least c++14 support. 716 | #error Eigen requires at least c++14 support. | ^~~~~ In file included from /usr/local/include/eigen3/Eigen/Core:19, from /home/xwy/src/opencv-4.8.0/modules/core/include/opencv2/core/private.hpp:70, from /home/xwy/src/opencv-4.8.0/modules/core/src/precomp.hpp:59, from /home/xwy/src/opencv-4.8.0/modules/core/src/alloc.cpp:43: /usr/local/include/eigen3/Eigen/src/Core/util/Macros.h:716:2: error: #error Eigen requires at least c++14 support. 716 | #error Eigen requires at least c++14 support.
如果您正在使用CMake构建OpenCV或其他依赖Eigen的项目,可以通过在CMakeLists.txt
中设置以下选项来强制使用C++14标准:
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED ON)