|
[Sponsors] |
June 29, 2010, 10:03 |
Problems when compiling OF1.7.0 on CentOS
|
#1 |
Member
Bjorn H. Hjertager
Join Date: Mar 2009
Posts: 72
Rep Power: 17 |
Hi,
I have problems compiling OF1.7.0 on CentOS. My system is: CentOS-5.4 32 bit operating system (Red Hat Enterprise Linux 5.4) c++ version is 4.4.0. The problems may be viewed in the attached screenshots. Can anybody help? rgds Bjorn |
|
June 29, 2010, 10:26 |
install correct gcc
|
#2 |
Senior Member
Eelco van Vliet
Join Date: Mar 2009
Location: The Netherlands
Posts: 124
Rep Power: 19 |
Hi,
I had the same problem, and solved it by downloading and installing the correct versions of cmake and gcc. I used cmake 2.6.4 and gcc 4.3.3. Make sure you set the path and LD_LIBRARY_PATH variables to your gcc executable and library path, resp. If you want to include python; there is a bug when you set the PYTHON_PATH variable in the makeParaview script. Fix it by editing the tools/makeParaViewFunctions file with pythonInclude and pythonBin to with your path to your python include dir and library dir. Eelco |
|
June 29, 2010, 10:32 |
|
#3 |
Senior Member
Laurence R. McGlashan
Join Date: Mar 2009
Posts: 370
Rep Power: 23 |
The first one looks like you don't have Cmake installed. You can just do 'yum install cmake', or download it and install it in your userspace.
The second screenshot doesn't give much information; it looks like it failed very early on, because it cannot find the openfoam library. You could have a problem with cpp and separators, which has just been fixed. If you look in the file OpenFOAM-1.7.0/wmake/rules/linux64Gcc/general. Does CPP have the option traditional-cpp?
__________________
Laurence R. McGlashan :: Website |
|
June 30, 2010, 03:53 |
|
#4 |
Member
Bjorn H. Hjertager
Join Date: Mar 2009
Posts: 72
Rep Power: 17 |
Hi Laurence aand Eelco,
Thanks for your help. I downloaded cmake and I moved somwhat foreward, but now it complains about the qt version I have 4.3.3 and it needs version 4..5.0 or higher. Any suggestion how to install this? rgds Bjorn |
|
June 30, 2010, 05:41 |
|
#5 |
Senior Member
Laurence R. McGlashan
Join Date: Mar 2009
Posts: 370
Rep Power: 23 |
What does it say? Qt-4.3.* should work fine?
You can either download qt-x11-opensource-src-4.5.3 from here: ftp://ftp.trolltech.no/qt/source/ Or if you can yum: yum install libqt4-devel If you install it in your userspace, you'll have to add qt to your path I guess.
__________________
Laurence R. McGlashan :: Website |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
problems with compiling self defined class | Victor | OpenFOAM | 6 | June 21, 2010 03:54 |
Problems in compiling paraview in Suse 10.3 platform | chiven | OpenFOAM Installation | 3 | December 1, 2009 08:21 |
Dissimilarity in compiling new BC in 32bit OpenSuSE 103 versus 64bit CentOS 50 versus 64bit SLED 100 | sponiar | OpenFOAM Running, Solving & CFD | 3 | February 26, 2008 07:31 |
Problems compiling UDFs under SuSE 10.2 | George | FLUENT | 1 | February 21, 2007 09:36 |
Problems on Compiling UDF in FLUENT | Strawberi-KeatKeat | FLUENT | 1 | October 4, 2006 02:50 |