- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在尝试安装 OpenBR在 CentOS 中。给出的步骤here适用于 Ubuntu。因为我需要在 Centos 中安装 OpenBR 库。我使用的是“Centos-6.5”版本。
以下是 OpenBR 团队要求遵循的安装 QT 的步骤。
sudo apt-get install qt5-default libqt5svg5-dev qtcreator
我应该如何在 CentOS 中安装它。
我遵循了这个 link 中的步骤安装QT。
当我给出此命令时出现以下错误(为了便于查看,我删除了错误)。会是什么问题?
CMake Warning at CMakeLists.txt:82 (find_package):
By not providing "FindQt5Concurrent.cmake" in CMAKE_MODULE_PATH this
project has asked CMake to find a package configuration file provided by
"Qt5Concurrent", but CMake did not find one.
Could not find a package configuration file provided by "Qt5Concurrent"
with any of the following names:
Qt5ConcurrentConfig.cmake
qt5concurrent-config.cmake
Add the installation prefix of "Qt5Concurrent" to CMAKE_PREFIX_PATH or set
"Qt5Concurrent_DIR" to a directory containing one of the above files. If
"Qt5Concurrent" provides a separate development package or SDK, be sure it
has been installed.
CMake Warning at CMakeLists.txt:82 (find_package):
By not providing "FindQt5Core.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Qt5Core", but
CMake did not find one.
Could not find a package configuration file provided by "Qt5Core" with any
of the following names:
Qt5CoreConfig.cmake
qt5core-config.cmake
Add the installation prefix of "Qt5Core" to CMAKE_PREFIX_PATH or set
"Qt5Core_DIR" to a directory containing one of the above files. If
"Qt5Core" provides a separate development package or SDK, be sure it has
been installed.
CMake Warning at CMakeLists.txt:82 (find_package):
By not providing "FindQt5Gui.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Qt5Gui", but
CMake did not find one.
Could not find a package configuration file provided by "Qt5Gui" with any
of the following names:
Qt5GuiConfig.cmake
qt5gui-config.cmake
Add the installation prefix of "Qt5Gui" to CMAKE_PREFIX_PATH or set
"Qt5Gui_DIR" to a directory containing one of the above files. If "Qt5Gui"
provides a separate development package or SDK, be sure it has been
installed.
.
.
.
CMake Warning at 3rdparty/stasm4.0.0/CMakeLists.txt:18 (find_package):
By not providing "FindQt5Widgets.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"Qt5Widgets", but CMake did not find one.
Could not find a package configuration file provided by "Qt5Widgets" with
any of the following names:
Qt5WidgetsConfig.cmake
qt5widgets-config.cmake
Add the installation prefix of "Qt5Widgets" to CMAKE_PREFIX_PATH or set
"Qt5Widgets_DIR" to a directory containing one of the above files. If
"Qt5Widgets" provides a separate development package or SDK, be sure it has
been installed.
CMake Warning at 3rdparty/stasm4.0.0/CMakeLists.txt:18 (find_package):
By not providing "FindQt5Xml.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Qt5Xml", but
CMake did not find one.
Could not find a package configuration file provided by "Qt5Xml" with any
of the following names:
Qt5XmlConfig.cmake
qt5xml-config.cmake
Add the installation prefix of "Qt5Xml" to CMAKE_PREFIX_PATH or set
"Qt5Xml_DIR" to a directory containing one of the above files. If "Qt5Xml"
provides a separate development package or SDK, be sure it has been
installed.
CMake Error at 3rdparty/stasm4.0.0/CMakeLists.txt:41 (qt5_use_modules):
Unknown CMake command "qt5_use_modules".
-- Configuring incomplete, errors occurred!
See also "/home/raaa/Downloads/openbr/build/CMakeFiles/CMakeOutput.log".
最佳答案
您可以从 EPEL 获得 CentOS 6 的预构建 qt 5 包。首先,安装 EPEL 存储库:
sudo rpm -Uvh \
http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
然后使用 yum 安装 qtbase devel 模块,以及您可能需要的任何其他模块。
yum install qt5-qtbase-devel
关于c++ - 在 Centos 中安装 QT - 安装 OpenBR 时的 CMake 警告,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21621731/
如何分析csv文件中的分数,例如23.9256 br -algorithm FaceRecognition -compare set.gal img.jpg score.csv 最佳答案 匹配分数为
当我运行 OpenBR 页面中指定的命令来构建库时,出现以下错误。当我执行子模块更新命令时它来了。 是不是因为该位置没有存储库?如果不是这样,为什么它没有运行? 最佳答案 (起初我认为它应该是评论,但
抱歉,如果文档对此很清楚,但我很难在 OpenBR 中运行 C++ 文件。我已经尝试通过 g++ 和 QT 界面通过终端运行它们,但均无济于事。 最终,除了使用 C++ API,我没有看到任何创建(细
我一直在尝试在 ubuntu 18.04 digitalocean droplet 上安装 openbr。 这是我已经开始的最新过程: # --opencv install and build-- #
我已经成功完成了 install/build instructions for OpenBR on linux 我的目标是在 android 上构建和运行 OpenBR。 经过大量的修改,我终于成功地
我正在尝试安装 OpenBR在 CentOS 中。给出的步骤here适用于 Ubuntu。因为我需要在 Centos 中安装 OpenBR 库。我使用的是“Centos-6.5”版本。 以下是 Ope
我是一名优秀的程序员,十分优秀!