【发布时间】:2020-12-09 21:08:54
【问题描述】:
我现在正在使用 windows10、vs2019、cmake-gui-3.18.1 从源代码构建 opencv4.4.0。在 cmake-gui 中配置后,我单击生成器按钮,我收到下面的错误消息。我是opencv的新手,我不知道如何解决它。任何人都可以提供帮助,谢谢。
网上搜索资料,下载IIPCV,找到E:\opencv\opencv-4.4.0.cache\ippicv,CMAKE还是有错误
CMake Warning at cmake/OpenCVDownload.cmake:202 (message):
IPPICV: Download failed: 6;"Couldn't resolve host name"
For details please refer to the download log file:
E:/opencv/opencv-4.4.0/build/CMakeDownloadLog.txt
【问题讨论】:
-
如果您收到
Couldn't resolve host name警告,它也应该打印Couldn't download files from the Internet. Please check the Internet access on this host.。你检查过你在那台机器上的互联网访问吗?另外,之前在这个网站上也有人问过类似的问题,回复可能很有帮助here。 -
如果您不使用 IPP,那么关闭标志会有所帮助:
-D WTIH_IPP = OFF