【发布时间】:2015-04-20 21:29:44
【问题描述】:
我正在尝试在 Ubuntu 14.04 上安装 qttorch 包, 但我在安装过程中收到此错误:
CMake Warning at /usr/share/cmake-3.2/Modules/FindQt4.cmake:626 (message):
/usr/bin/qmake reported QT_INSTALL_LIBS as "/usr/lib/x86_64-linux-gnu" but
QtCore could not be found there. Qt is NOT installed correctly for the
target build environment.
Call Stack (most recent call first):
CMakeLists.txt:38 (FIND_PACKAGE)
CMake Error at /usr/share/cmake-3.2/Modules/FindQt4.cmake:634 (message):
Could NOT find QtCore. Check
/tmp/luarocks_qtlua-scm-1-2765/qtlua/build/CMakeFiles/CMakeError.log for
more details.
Call Stack (most recent call first):
CMakeLists.txt:38 (FIND_PACKAGE)
-- Configuring incomplete, errors occurred!
See also "/tmp/luarocks_qtlua-scm-1-2765/qtlua/build/CMakeFiles/CMakeOutput.log".
Error: Failed installing dependency: https://raw.githubusercontent.com/torch/rocks/master/qtlua-scm-1.rockspec - Build error: Failed building.
libqtcore4 是 QTCore 的正确包吗?还是应该安装其他软件包?
因为正如 qmake 报告的那样,它已经安装在“/usr/lib/x86_64-linux-gnu”中!
我也试过重装,还是一样的错误!!
【问题讨论】:
标签: build cmake ubuntu-14.04 qmake