CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   Installation Problem (https://www.cfd-online.com/Forums/openfoam-installation/57269-installation-problem.html)

velan December 15, 2008 12:11

Hi I installed openFOAM in FC
 
Hi
I installed openFOAM in FC8. I got the error message which is posted in http://www.cfd-online.com/OpenFOAM_D...tml?1227715756

+ cmake ../..
-- Loading ParaView CMake commands
-- Loading ParaView CMake commands - done
CMake Error: Error in cmake code at
================================================== ======================*/:458:
Unknown CMake command "QT4_WRAP_CPP".
CMake Error: Error in cmake code at
/home/vc/OpenFOAM/OpenFOAM-1.5/applications/utilities/postProcessing/graphics/PV 3FoamReader/PV3FoamReader/CMakeLists.txt:44:
A command failed during the invocation of macro "ADD_PARAVIEW_GUI_EXTENSION".
CMake Error: Error in cmake code at
================================================== ======================*/:562:
ADD_PARAVIEW_GUI_EXTENSION unknown error.
Current CMake stack: /home/vc/OpenFOAM/OpenFOAM-1.5/applications/utilities/postProcessing/graphics/PV 3FoamReader/PV3FoamReader/CMakeLists.txt;/home/vc/OpenFOAM/ThirdParty/cmake-2.4. 6/platforms/linux/share/cmake-2.4/Modules/CMakeCInformation.cmake;/home/vc/OpenF OAM/ThirdParty/cmake-2.4.6/platforms/linux/share/cmake-2.4/Modules/CMakeCXXInfor mation.cmake
CMake Error: Error in cmake code at
/home/vc/OpenFOAM/OpenFOAM-1.5/applications/utilities/postProcessing/graphics/PV 3FoamReader/PV3FoamReader/CMakeLists.txt:44:
A command failed during the invocation of macro "ADD_PARAVIEW_PLUGIN".
CMake Error: Error in cmake code at
/home/vc/OpenFOAM/OpenFOAM-1.5/applications/utilities/postProcessing/graphics/PV 3FoamReader/PV3FoamReader/CMakeLists.txt:43:
ADD_PARAVIEW_PLUGIN unknown error.
Current CMake stack: /home/vc/OpenFOAM/OpenFOAM-1.5/applications/utilities/postProcessing/graphics/PV 3FoamReader/PV3FoamReader/CMakeLists.txt;/home/vc/OpenFOAM/ThirdParty/cmake-2.4. 6/platforms/linux/share/cmake-2.4/Modules/CMakeCInformation.cmake;/home/vc/OpenF OAM/ThirdParty/cmake-2.4.6/platforms/linux/share/cmake-2.4/Modules/CMakeCXXInfor mation.cmake
-- Configuring done

$ cmake --version
cmake version 2.4-patch 6


Can you please suggest me what need to be do ?

gwierink December 16, 2008 03:06

Hi Velan, What recipe did y
 
Hi Velan,

What recipe did you follow? Did you try installing gcc and gcc-c++ and then install with "./configure", then "gmake", and finally "gmake install"?

Rgds, Gijs

velan December 16, 2008 03:56

Hi Gijs, I not tried as you s
 
Hi Gijs,
I not tried as you said. I did the following

cd OpenFOAM/OpenFOAM-1.5
./Allwmake

Before the end, it gave error.
Now i am working on how to resolve it. I thing problem might be in QT or cmake.
Earlier tried with QT 4.4 then changed to QT 4.3, Similarly changed cmake-2.6.* version and tried, But no vain.

Now changed QT 4.4 to QT 4.3 and cmake-2.6.* to cmake-2.4* , and resolving it. Let you know about the status of it once compilation done. Meanwhile please suggest me if i need to do someother way.

I am using FC8, 32-bit version.

velan December 16, 2008 04:17

Hi all, Finally after two d
 
Hi all,

Finally after two days (day & night struggle) i got it. Its simple if say it.

[vc@scram OpenFOAM-1.5]$ qmake --version
QMake version 2.01a
Using Qt version 4.3.3 in /usr/local/Trolltech/Qt-4.3.3/lib


The error came because of QT higher version. I used qt.4.3.3 and its works fine and parafoam is working now http://www.cfd-online.com/OpenFOAM_D...part/happy.gif.

Thanks for your help.


All times are GMT -4. The time now is 13:49.