|
[Sponsors] |
[OpenFOAM.org] Building ParaView 5.4.0 with OpenFOAM 4.1 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 11, 2017, 12:45 |
Building ParaView 5.4.0 with OpenFOAM 4.1
|
#1 |
New Member
Diego Ferrando
Join Date: Mar 2017
Location: Zaragoza
Posts: 19
Rep Power: 9 |
Hi, foamers!
I am currently using OF 4.1 and paraview 5.0.1 but I want to use paraview 5.4 instead. I have been trying to upgrade paraview version with: Code:
./makeParaview -version 5.4.0 I have downloaded the source files. I know I can use binary installer as a portable paraview, but I would like to be able to use paraFoam v5.4.0. Can someboy help me? Please. Thank you guys. Diego. |
|
July 12, 2017, 09:37 |
|
#2 |
New Member
Li Jinlong
Join Date: Apr 2015
Posts: 8
Rep Power: 11 |
Hi, Diego.
In the directory OpenFOAM/OpenFOAM-4.1/etc/config.sh, there is a file named paraview. In that file, you can find such a line: export ParaView_VERSION=5.0.1 you can modify it as you want. And then download the corresponding paraview source files from the official website. Extract the directory from the compressed package and put it into ThirdParty-4.1 directory, then type the command in that directory in the terminal: ./makeParaView It would work. Good luck! |
|
July 13, 2017, 05:50 |
|
#3 | |
New Member
Diego Ferrando
Join Date: Mar 2017
Location: Zaragoza
Posts: 19
Rep Power: 9 |
Quote:
Code:
CMake Error at VTK/GUISupport/Qt/CMakeLists.txt:69 (find_package): By not providing "FindQt5.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "Qt5", but CMake did not find one. Could not find a package configuration file provided by "Qt5" with any of the following names: Qt5Config.cmake qt5-config.cmake Add the installation prefix of "Qt5" to CMAKE_PREFIX_PATH or set "Qt5_DIR" to a directory containing one of the above files. If "Qt5" provides a separate development package or SDK, be sure it has been installed. -- Configuring incomplete, errors occurred! See also "/home/diego/OpenFOAM/ThirdParty-4.1/build/linux64Gcc/ParaView-5.4.0/CMakeFiles/CMakeOutput.log". See also "/home/diego/OpenFOAM/ThirdParty-4.1/build/linux64Gcc/ParaView-5.4.0/CMakeFiles/CMakeError.log". |
||
December 31, 2017, 12:29 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick answer: You probably have solved this by now. If you are using Ubuntu, then you need to:
__________________
|
|
June 21, 2019, 11:01 |
|
#5 | |
New Member
Jesper R. K. Qwist
Join Date: Dec 2017
Posts: 22
Rep Power: 9 |
Quote:
You can also search for the missing files by: So for example in my case it cannot find Qt5CoreConfig.cmake. Follow these steps: 3.1) sudo apt update (Only the first time you search for files.) 3.2) apt-file search Qt5CoreConfig.cmake 3.3) It should now return a message similar to the following: qtbase5-dev: /usr/lib/x86_64-linux-gnu/cmake/Qt5Core/Qt5CoreConfig.cmake 3.4) So we need to install qtbase5-dev. This is done with the command: sudo apt install qtbase5-dev 3.5) Now you can run your the paraview compilation again: ./makeParaview Now it just repeating until you have all the required files and installations. |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM] ParaView 5.4.0 refuses to start | SamuelPei | ParaView | 1 | October 15, 2019 04:12 |
[OpenFOAM.org] Two different versions of ParaView with same OpenFOAM release | FJSJ | OpenFOAM Installation | 2 | July 23, 2017 06:48 |
[OpenFOAM.org] OpenFOAM 2.4 ParaView 4.1 compilation problem | tubois | OpenFOAM Installation | 2 | October 23, 2015 07:56 |
Suggestion for a new sub-forum at OpenFOAM's Forum | wyldckat | Site Help, Feedback & Discussions | 20 | October 28, 2014 10:04 |
New OpenFOAM Forum Structure | jola | OpenFOAM | 2 | October 19, 2011 07:55 |