对于vs2013 和opencv3.4 cmake 生成时报如下错误,改怎么解决?
CMake Error at cmake/OpenCVFindIPP.cmake:67 (string):
string sub-command REGEX, mode MATCHALL needs at least 5 arguments total to
command.
Call Stack (most recent call first):
cmake/OpenCVFindIPP.cmake:102 (ipp_get_version)
cmake/OpenCVFindIPP.cmake:252 (ipp_detect_version)
cmake/OpenCVFindLibsPerf.cmake:12 (include)
CMakeLists.txt:603 (include)
string(REGEX MATCHALL ...)
后面的参数需要加上引号
参考
https://github.com/opencv/opencv/issues/21183
配置版本异常调取错误。1.更新版本。2.重新配置环境变量