|
[Sponsors] |
[OpenFOAM.com] Error build a custom version of Qt 4.6.4 on ubuntu 12.04 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 15, 2016, 07:47 |
Error build a custom version of Qt 4.6.4 on ubuntu 12.04
|
#1 |
New Member
adhi makayasa
Join Date: Apr 2015
Posts: 20
Rep Power: 11 |
Hi Foamers
after trying several times to compile qt 4.6.4 from https://openfoamwiki.net/index.php/I...M-1.7.1/Ubuntu I still get an error message like on the attachment Iam using QMake version 2.01a Qt version 4.8.1 in /usr/lib/i386-linux-gnu How do i fix it? Thanks for your help |
|
March 20, 2016, 15:51 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick answer: Can you please try installing the packages listed here: http://doc.qt.io/qt-4.8/requirements-x11.html
Namely by running this command: Code:
sudo apt-get install libfontconfig1-dev libfreetype6-dev libx11-dev libxcursor-dev libxext-dev libxfixes-dev libxft-dev libxi-dev libxrandr-dev libxrender-dev
__________________
|
|
March 23, 2016, 12:18 |
|
#3 |
New Member
adhi makayasa
Join Date: Apr 2015
Posts: 20
Rep Power: 11 |
Bruno thanks for your help. Now qt 4.6.4 already installed. But after continuing the next step to the last , I can not run OpenFOAM and also paraview.
Take a look at the attachment. |
|
March 26, 2016, 11:25 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Makayasa,
Sorry, back when I wrote the instructions on the wiki, I failed to notice an important step. I've fixed the issue on the wiki page, but please do the following steps to solve the problem on your side:
edit: Please try running the following command, for installing Mesa's libGLU development package, which should provide at least the basis for the OpenGL drivers: Code:
sudo apt-get install libglu1-mesa-dev Code:
cd $WM_THIRD_PARTY_DIR ./makeParaView -qmake ${WM_THIRD_PARTY_DIR}/platforms/$WM_ARCH$WM_COMPILER/qt-4.6.4/bin/qmake > mkPV.log 2>&1 Best regards, Bruno
__________________
Last edited by wyldckat; March 26, 2016 at 13:11. Reason: see "edit:" |
|
March 29, 2016, 11:52 |
|
#5 |
New Member
adhi makayasa
Join Date: Apr 2015
Posts: 20
Rep Power: 11 |
Bruno, thank you very much. Now I can run openFOAM and paraview . I am attaching a result of the installation process , please check if there is an error. Happy foaming
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[foam-extend.org] error installing foam extend 1.6 in ubuntu 12.04 | christos | OpenFOAM Installation | 1 | May 9, 2016 18:20 |
paraview not working after installing OpenFOAM in Ubuntu 12.04 | Jackie Chen | OpenFOAM Installation | 5 | October 9, 2014 07:28 |
Problems installing OpenFOAM 1.6-ext on Ubuntu 12.04 | arashfluid | OpenFOAM Installation | 3 | July 21, 2013 07:36 |
OpenFOAM-1.6 install cookbook | MadsR | OpenFOAM Installation | 372 | November 20, 2010 12:57 |
paraFoam reader for OpenFOAM 1.6 | smart | OpenFOAM Installation | 13 | November 16, 2009 22:41 |