c++ - 如何安装ConvNet库?

标签 c++ linux cmake

我正在尝试安装 ConvNet 库,该库通过卷积神经网络实现数据传播,但出现此错误。如何修复这个问题?

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
LIBCV
    linked by target "testimg" in directory /home/damian/trunk
    linked by target "testmnist" in directory /home/damian/trunk
LIBHIGHGUI
    linked by target "testimg" in directory /home/damian/trunk
    linked by target "testmnist" in directory /home/damian/trunk

最佳答案

CMake 具有在系统上查找库的逻辑,如果您确实缺少这些库,则该逻辑的预期结果是 NOTFOUND。所以,显然你只需安装 OpenCV,包括 OpenCV-HighGUI。

关于c++ - 如何安装ConvNet库?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32107561/

相关文章:

linux - 当默认发送到 syslog 时如何将日志发送到 Journalctl?

regex - 使用 bash 删除字符串的一部分

linux - bash 中的 unix 历史命令 "!$"是什么?

c++ - 使用Doxygen记录枚举类值而不启用EXTRACT_ALL

c++ - 如何检查是否使用了真正的硬件视频适配器

c++ - 将二进制字节 (char*) 转换为 uint64_t*,安全吗?

C++ 多态性。为什么这是有效的?

c++ - WM 6.x 中的 GDI 路径

cmake - 将环境变量传递给 CMake execute_process 中的 COMMAND

c# - 如何使用 CMake 构建 C# DLL?