CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

[OpenFOAM.org] Error: cannot find qmake either at $QMAKE_PATH or in current $PATH

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 14, 2020, 11:14
Default Error: cannot find qmake either at $QMAKE_PATH or in current $PATH
  #1
New Member
 
Join Date: Jul 2020
Posts: 2
Rep Power: 0
Saszalez is on a distinguished road
I have CentOS 7.8.2003 installed. I am trying to compile with Intel compilers, version 18.0.5 20180823. When I run ./makeParaView the following message is printed:

Code:
ParaView-5.6.0 exists. Not downloading ...
*** Error: cannot find qmake either at $QMAKE_PATH or in current $PATH
I installed qt5 and its dependencies:

Code:
Instalando:
 qt5-qtbase-devel                                x86_64                             5.9.7-2.el7                                  base                             3.9 M
Instalando para las dependencias:
 cups-libs                                       x86_64                             1:1.6.3-43.el7                               base                             358 k
 glx-utils                                       x86_64                             8.3.0-10.el7                                 base                              34 k
 pcre2-utf16                                     x86_64                             10.23-2.el7                                  base                             189 k
 qt5-qtbase                                      x86_64                             5.9.7-2.el7                                  base                             3.3 M
 qt5-qtbase-common                               noarch                             5.9.7-2.el7                                  base                              26 k
 qt5-qtbase-gui                                  x86_64                             5.9.7-2.el7                                  base                             5.2 M
 qt5-rpm-macros                                  noarch                             5.9.7-2.el7                                  base                              27 k
 xcb-util                                        x86_64                             0.4.0-2.el7                                  base                              16 k
 xcb-util-image                                  x86_64                             0.4.0-2.el7                                  base                              15 k
 xcb-util-keysyms                                x86_64                             0.4.0-1.el7                                  base                              10 k
 xcb-util-renderutil                             x86_64                             0.3.9-3.el7                                  base                              12 k
 xcb-util-wm                                     x86_64                             0.4.1-5.el7                                  base                              25 k
I have indicated the path where `qmake-qt5` (/usr /lib64) is installed, but it did not work either.
Saszalez is offline   Reply With Quote

Old   July 16, 2020, 02:29
Default
  #2
Member
 
Join Date: Mar 2016
Posts: 33
Rep Power: 6
mahmoodn is on a distinguished road
The actual command is qmake-qt5 but OpenFoam uses "qmake" in scripts. So, a soft link will fix the error.


You have to run the following commands too:


Code:
yum install qt5-qtbase-devel.x86_64 cmake3.x86_64 libXt-devel.x86_64 qt5-qtx11extras-devel.x86_64 qt5-qttools-devel.x86_64 qt-devel.x86_64
ln -s /usr/bin/qmake-qt5 /usr/bin/qmake
ln -s /usr/bin/cmake3 /usr/bin/cmake
mahmoodn is offline   Reply With Quote

Old   July 17, 2020, 06:04
Default
  #3
New Member
 
Join Date: Jul 2020
Posts: 2
Rep Power: 0
Saszalez is on a distinguished road
The solution worked perfectly.

Thank you very much.
Saszalez is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[OpenFOAM.org] Error: cannot find qmake either at $QMAKE_PATH or in current $PATH achinta OpenFOAM Installation 6 June 8, 2012 17:37
CFX-Pre problem, pls help!!! cth_yao CFX 0 February 17, 2012 00:52
OpenFOAM 1.6-ext git installation on Ubuntu 11.10 x64 Attesz OpenFOAM Installation 45 January 13, 2012 12:38
Problem Building OF on Centos cluster (no admin rights) CKH OpenFOAM Installation 5 November 13, 2011 06:32
Errors running allwmake in OpenFOAM141dev with WM_COMPILE_OPTION%3ddebug unoder OpenFOAM Installation 11 January 30, 2008 20:30


All times are GMT -4. The time now is 19:55.