|
[Sponsors] |
[OpenFOAM.com] Error ./makeParaview, VTK_QT_VERSION is '5' OF1806 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 30, 2018, 13:46 |
|
#21 |
Member
Lourenço SM
Join Date: Jul 2014
Location: Lisboa, Portugal
Posts: 41
Rep Power: 12 |
OpenFOAM v1806 In Ubuntu 16.04,
to install PVReaders i had to: 1) install qt-5.9.3 (qt-everywhere-opensource-src-5.9.3.tar.xz) Code:
cd $WM_THIRD_PARTY_DIR ./makeQt 5.9.3 Code:
$WM_PROJECT_DIR/etc/config.sh/paraview Code:
ParaView_QT=qt-system Code:
ParaView_QT=qt-5.9.3 Code:
cd $WM_PROJECT_DIR/applications/utilities/postProcessing/graphics/PVReaders ./Allwclean ./Allwmake Last edited by lourencosm; August 30, 2018 at 13:48. Reason: append link to download qt |
|
March 26, 2019, 09:41 |
|
#22 |
New Member
Will
Join Date: Jun 2013
Posts: 17
Rep Power: 13 |
Similar to what calim_cfd did. But after running
Code:
./makeQt 5.9.3 Code:
./makeVTK 8.1.1 Code:
./makeParaview Code:
./makeParaview -qt-5.9.3 |
|
April 25, 2019, 17:45 |
|
#23 |
Member
Join Date: Nov 2013
Posts: 35
Rep Power: 13 |
For me the following procedure helped (OF1812, Ubuntu16.04):
Add ppa (see https://askubuntu.com/questions/1062...ubuntu-16-04): sudo add-apt-repository ppa:beineri/opt-qt-5.11.1-xenial sudo apt-get update sudo apt install qt511-meta-full create file default.conf in /etc/xdg/qtchooser with the content: /opt/qt511/bin /opt/qt511/lib Version check: qmake -v Gives: QMake version 3.1 Using Qt version 5.11.1 in /opt/qt511/lib install paraview: cd $WM_THIRD_PARTY_DIR export Qt5_DIR=/opt/qt511/lib/cmake/Qt5 ./makeParaView -cmake -qmake -qt-5.11.1 Hope this helps and it is not a stupid way =) |
|
June 3, 2019, 18:27 |
|
#24 | |
Member
Saleh Abuhanieh
Join Date: Nov 2017
Posts: 83
Rep Power: 9 |
Quote:
That works for me too |
||
June 3, 2019, 20:47 |
|
#25 |
Member
Saleh Abuhanieh
Join Date: Nov 2017
Posts: 83
Rep Power: 9 |
After solving that problem and compiling paraview, I received the following error when I tried to run paraFoam:
QFontDatabase: Cannot find font directory /opt/OpenFOAM/ThirdParty-v1812/platforms/linux64Gcc/qt-5.9.3/lib/fonts. Note that Qt no longer ships fonts. Deploy some (from http://dejavu-fonts.org for example) or switch to fontconfig. I found the solution, and posting here: - cd /opt/OpenFOAM/ThirdParty-v1812/platforms/linux64Gcc/qt-5.9.3/lib/ - ln -s /usr/share/fonts/truetype/dejavu/ fonts That's all Regards, |
|
June 21, 2019, 11:03 |
|
#26 | |
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. |
||
July 22, 2019, 23:07 |
|
#27 |
Member
Glenn Carlson, PE, PhD (ret)
Join Date: Oct 2012
Location: US
Posts: 49
Rep Power: 14 |
Thanks for this, Jesper.
This is essentially the same as my solution for building ParaView 5.6.0 with Qt5 for OpenFOAM-7 and OpenFoam-v1906 running under Ubuntu 18.04: Qt5, OpenFOAM-7 and -v1906, and Ubuntu 18.04 |
|
October 18, 2019, 11:06 |
Finally solved this problem!
|
#28 | |
Member
Rasmus Iwersen
Join Date: Jan 2019
Location: Denmark
Posts: 81
Rep Power: 8 |
Quote:
Hope you are doing well Happy foaming! |
||
April 20, 2020, 14:45 |
|
#29 |
New Member
Gerhard
Join Date: Mar 2017
Posts: 26
Rep Power: 9 |
Hi everybody,
I had the same error as in the first post for OF v1912 and OF v1906. I found this link, followed it exactly, and it solved my problem! Here it is: https://zhuanlan.zhihu.com/p/82423956 All the best! |
|
May 30, 2020, 06:01 |
|
#30 | |
Senior Member
Join Date: Oct 2015
Location: Germany
Posts: 100
Rep Power: 11 |
FYI:
I received an error message during compilation ("make" on Ubuntu 20.04 LTS, OpenFOAM-v1912) of qt-5.9.3 from this source Quote:
Code:
socketcanbackend : error: ‘SIOCGSTAMP’ was not declared in this scope; did you mean ‘SIOCSARP’? https://www.mail-archive.com/blfs-de.../msg08916.html this was successfully fixed by adding Code:
#include <linux/sockios.h> Code:
qt-everywhere-src-5.13.0/qtserialbus/src/plugins/canbus/socketcan/socketcanbackend.cpp A fix for a succeeding error Code:
Project ERROR: Building QtQml requires Python. failing to build Qt, Project ERROR: Building QtQml requires Python. - ubuntu |
||
July 25, 2023, 20:47 |
Hmm. Looks familiar.
|
#31 |
Member
Glenn Carlson, PE, PhD (ret)
Join Date: Oct 2012
Location: US
Posts: 49
Rep Power: 14 |
Wow. zhuanlan.zhihu.com stole my solution word-for-word that I posted here on CFD-online in 2019.
Qt5, OpenFOAM-7 and -v1906, and Ubuntu 18.04 https://zhuanlan.zhihu.com/p/82423956 Last edited by gcengineer; July 26, 2023 at 00:19. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM.com] Install OF1806 with system thirdparty packages | Bloerb | OpenFOAM Installation | 1 | October 5, 2018 06:49 |
[OpenFOAM.com] problem: compiling of1806 on ubuntu 14.04 | gian93 | OpenFOAM Installation | 2 | August 8, 2018 10:03 |