|
[Sponsors] |
January 11, 2012, 12:55 |
paraFoam not compilet due to QT4 not found
|
#1 |
New Member
Join Date: Jan 2012
Posts: 2
Rep Power: 0 |
Hi,
I am trying the installation of OpenFoam 2.0.1 on CentOS. I have strictly followed the installation steps, and solved a lot of problems with XML, openGL, cmake, ... I am in the final step compiling the VTK plugins for paraview and have paraFoam running. When I execute $FOAM_INST_DIR/applications/utilities/postProcessing/graphics/PV3Readers/Allwmake the script gives the following output: ... + cmake ../.. -- The C compiler identification is GNU -- The CXX compiler identification is GNU -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ -- Check for working CXX compiler: /usr/bin/g++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Loading ParaView CMake commands -- Loading ParaView CMake commands - done -- Could NOT find Qt4 (missing: QT_QMAKE_EXECUTABLE QT_MOC_EXECUTABLE QT_RCC_EXECUTABLE QT_UIC_EXECUTABLE QT_INCLUDE_DIR QT_LIBRARY_DIR QT_QTCORE_LIBRARY) CMake Error at CMakeLists.txt:43 (QT4_WRAP_CPP): Unknown CMake command "QT4_WRAP_CPP". -- Configuring incomplete, errors occurred! I have tried the following: 1) Include /usr/lib63/qt4/bin in the PATH. 2) Recompiling cmake. 3) Recompiling qmake. Nothing of above has been useful. It seems QT4 location must be declared somewhere but I don't know where. Any idea somebody? |
|
January 12, 2012, 08:52 |
Finally solved
|
#2 |
New Member
Join Date: Jan 2012
Posts: 2
Rep Power: 0 |
I finally fixed the problem following the instructions contained in the thread HowTo Make paraFoam from OpenFOAM15 work on OpenSuse11 by installing Qt435 in home directory.
So I reinstalled QT4 by executing: $FOAM_INST_DIR/../Thirdparty-2.0.1/qt-everywhere-opensource-src-4.6.4/make confclean $FOAM_INST_DIR/../Thirdparty-2.0.1/qt-everywhere-opensource-src-4.6.4/.configure $FOAM_INST_DIR/../Thirdparty-2.0.1/qt-everywhere-opensource-src-4.6.4/gmake (it took 4 h, more or less) $FOAM_INST_DIR/../Thirdparty-2.0.1/qt-everywhere-opensource-src-4.6.4/gmake install (it took 0.5 h, more or less) A difference with the Post "How to make...": When I modified PATH within $FOAM_INST_DIR/etc/bashrc, ParaView did not work properly: the fonts were not displayed. So I kept it unmodified. Then, reinstalled ParaView: $FOAM_INST_DIR/../Thirdparty-2.0.1/makeParaview And finally built paraFoam plugins: $FOAM_INST_DIR/applications/utilities/postProcessing/graphics/PV3Readers/Allclean $FOAM_INST_DIR/applications/utilities/postProcessing/graphics/PV3Readers/Allwmake And I got paraFoam working fine !!! Last edited by agavino; January 12, 2012 at 12:01. Reason: Update |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM] Paraview command not found | hardy | ParaView | 7 | September 18, 2008 04:59 |
Error starting paraFoam line 67 paraview command not found | jango | OpenFOAM Installation | 4 | July 19, 2007 01:39 |
Problems of running the parallel computations | lorraine | FLUENT | 17 | July 6, 2007 08:08 |
[OpenFOAM] ParaFoam OF 14 decomposed cases | philippose | ParaView | 4 | April 18, 2007 05:17 |
Problem running paraFoam paraview command not found | spdracer22 | OpenFOAM Pre-Processing | 2 | December 7, 2005 05:32 |