Unbuntu14.04配置环境Qt5.3.2+VTK6.2.0+CTK+CMake出错

wjin187 2016-01-28 06:53:22
linux下配置Qt5.3.2+VTK6.2.0+cmake2.8.12完成后,配置编译CTK库的时候出现错误如下:

loading initial cache file /home/pacs/CTK/VTK-cmake/tmp/VTK-cache.cmake
CMake Warning at /usr/share/cmake-2.8/Modules/FindQt4.cmake:659 (message):
/usr/bin/qmake reported QT_INSTALL_LIBS as
"/home/pacs/Qt5.3.2/5.3/gcc_64/lib" 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:382 (FIND_PACKAGE)

CMake Error at CMakeLists.txt:384 (MESSAGE):
Qt 4.5.0 or greater not found. Please check the QT_QMAKE_EXECUTABLE
variable.

Qt QTGUI library not found.
Qt QTSQL library not found.
Qt QTCORE library not found.
Qt QTOPENGL library not found.
Qt QTGUI library not found.
Qt QTSQL library not found.
Qt QTNETWORK library not found.
Qt QTCORE library not found.
CMake Error at GUISupport/Qt/CMakeLists.txt:140 (QT4_WRAP_CPP):
Unknown CMake command "QT4_WRAP_CPP".

-- Configuring incomplete, errors occurred!
See also "/home/pacs/CTK/VTK-build/CMakeFiles/CMakeOutput.log".
See also "/home/pacs/CTK/VTK-build/CMakeFiles/CMakeError.log".
make[2]: *** [VTK-cmake/src/VTK-stamp/VTK-configure] 错误 1
make[1]: *** [CMakeFiles/VTK.dir/all] 错误 2
make: *** [all] 错误 2
希望配置过相关环境的大牛们帮帮忙,谢谢。。。
...全文
281 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

18,772

社区成员

发帖
与我相关
我的任务
社区描述
Linux/Unix社区 专题技术讨论区
社区管理员
  • 专题技术讨论区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧