|
[Sponsors] |
[OpenFOAM.com] Ubuntu 16.04 OpenFOAM-v1706 ParaView Installation Error |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 23, 2017, 14:40 |
Ubuntu 16.04 OpenFOAM-v1706 ParaView Installation Error
|
#1 |
New Member
Katherine
Join Date: Feb 2016
Posts: 20
Rep Power: 10 |
I'm trying to build and install OpenFOAM from the source for Linux provided here http://openfoam.com/download/install-source.php. I'm following the build guide provided here http://openfoam.com/code/build-guide.php, but I am having issues with an error that occurs when I try to compile ParaView with the following commands:
Code:
cd $WM_THIRD_PARTY_DIR ./makeParaView Code:
CMake Error at CMake/ParaViewQt.cmake:65 (find_package): Could not find a configuration file for package "Qt5" that is compatible with requested version "5.6". The following configuration files were considered but not accepted: /usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake, version: 5.5.1 /usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake, version: 5.5.1 Call Stack (most recent call first): Qt/Widgets/CMakeLists.txt:203 (pv_find_package_qt) -- Configuring incomplete, errors occurred! See also "/home/fdrc/OpenFOAM/ThirdParty-v1706/build/linux64Gcc/ParaView-5.4.0/CMakeFiles/CMakeOutput.log". See also "/home/fdrc/OpenFOAM/ThirdParty-v1706/build/linux64Gcc/ParaView-5.4.0/CMakeFiles/CMakeError.log". Code:
/home/fdrc/Qt5.6.1/5.6/gcc_64/bin/qmake Code:
/usr/lib/x86_64-linux-gnu/qt5/bin/qmake I am stumped as to how to solve this problem, and any advice or help would be greatly appreciated! |
|
August 24, 2017, 09:31 |
|
#2 |
New Member
Stas Sergienko
Join Date: Aug 2017
Posts: 3
Rep Power: 9 |
Try to use
Code:
./makeParaView -qmake /home/fdrc/Qt5.6.1/5.6/gcc_64/bin/qmake Qt5_DIR=/home/fdrc/Qt5.6.1/5.6/gcc_64/lib/Qt5 |
|
August 24, 2017, 12:23 |
|
#3 |
New Member
Katherine
Join Date: Feb 2016
Posts: 20
Rep Power: 10 |
Thank you for your message; unfortunately I received the following error after running that command:
Code:
[ 90%] Linking CXX shared library ../../lib/libvtkpqCore-pv5.4.so [ 90%] Built target pqCore Makefile:127: recipe for target 'all' failed make: *** [all] Error 2 Command exited with non-zero status 2 6016.25user 506.62system 14:22.40elapsed 756%CPU (0avgtext+0avgdata 1544348maxresident)k 64inputs+2424776outputs (0major+183168270minor)pagefaults 0swaps |
|
August 25, 2017, 14:40 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick answer: There was a recent bug report about this here: https://bugs.openfoam.org/view.php?id=2673
The main problem was that using the pre-built version of Qt5 for Linux has an incompatible protobuf static library built into it, that doesn't work with ParaView 5.4. Details on how to build with an existing pre-built installation of Qt5 are also on that report.
__________________
|
|
August 25, 2017, 19:01 |
|
#5 |
New Member
Katherine
Join Date: Feb 2016
Posts: 20
Rep Power: 10 |
Thank you so much for your help - after reading the report I uninstalled Qt5 and used
Code:
export QT_SELECT=qt4 Code:
./makeParaView |
|
Tags |
16.04, openfoam v1706+, paraview 5.4.0 qt, qt5 |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Building OpenFOAM1.7.0 from source | ata | OpenFOAM Installation | 46 | March 6, 2022 14:21 |
[blockMesh] blockMesh with double grading. | spwater | OpenFOAM Meshing & Mesh Conversion | 92 | January 12, 2019 10:00 |
Compiling dynamicTopoFvMesh for OpenFOAM 2.1.x | Saxwax | OpenFOAM Installation | 25 | November 29, 2013 06:34 |
CGNS lib and Fortran compiler | manaliac | Main CFD Forum | 2 | November 29, 2010 07:25 |
error while compiling the USER Sub routine | CFD user | CFX | 3 | November 25, 2002 16:16 |