Unbuntu14.04配置环境Qt5.3.2+VTK6.2.0+CTK+CMake出错
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
希望配置过相关环境的大牛们帮帮忙,谢谢。。。