Ubuntu 16.04 OpenFOAM-7 ParaView 安装错误

Ubuntu 16.04 OpenFOAM-7 ParaView 安装错误

我正在关注OpenFOAM 提供的构建指南,但是当我尝试使用以下命令编译 ParaView 时,出现了错误

安装失败并显示以下消息

./makeParaView


CMake Error at VTK/CMake/vtkQt.cmake:6 (message):
  Expected value for VTK_QT_VERSION is '5'
Call Stack (most recent call first):
  VTK/GUISupport/Qt/CMakeLists.txt:1 (include)


-- Configuring incomplete, errors occurred!
See also "/home/tyro/OpenFOAM/ThirdParty-7/build/linux64Gcc/ParaView-5.6.0/CMakeFiles/CMakeOutput.log".
See also "/home/tyro/OpenFOAM/ThirdParty-7/build/linux64Gcc/ParaView-5.6.0/CMakeFiles/CMakeError.log".

答案1

尝试安装qt5-devel并使用

./makeParaView -qmake $(which qmake-qt5)

相关内容