【发布时间】:2016-09-06 14:14:08
【问题描述】:
我一直在尝试安装torch,但是当我运行./install.sh 时出现以下错误
CMake Error at /usr/share/cmake-2.8/Modules/FindQt4.cmake:664 (message):
Could NOT find QtCore. Check
/home/name/torch/exe/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 "/home/name/torch/exe/qtlua/build/CMakeFiles/CMakeOutput.log".
Error: Build error: Failed building.
Missing dependencies for qttorch:
qtlua >= 1.0
我已经尝试使用
安装 QtCoresudo apt-get install libqt4-core
但是,我还是遇到了一个错误:
Could NOT find QtCore
如上图所示。为什么会这样,我该如何解决?
我遵循的安装步骤: http://torch.ch/docs/getting-started.html#_
编辑(已解决): 我还必须使用
安装 qt4-dev-toolsapt-get install qt4-dev-tools
【问题讨论】: