CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Installation (
-   -   Installation Problem with ParaView 3.12.0 on Scientific Linux 5.7 (

Wley September 26, 2012 06:57

Installation Problem with ParaView 3.12.0 on Scientific Linux 5.7
1 Attachment(s)
Dear All,

Being a newbie in Linux I am trying to install Openfoam-ParaView on Scientific Linux 5.7. I would be grateful to a forum member who could provide me with a hint to solve a problem with ParaView 3.12.0 installation.

I have to compile OpenFOAM and ParaView from source packages. After downloading OpenFOAM-2.1.1.tgz and ThirdParty-2.1.1.tgz, unpacking them I have finally succeeded in compiling OpenFOAM (after installing gcc-4.7.1).

Now, however, I am struggling with the compilation process of ParaView. First, I installed cmake (version 2.8.9) and Qt (version 4.7.3). Nevertheless, something is still wrong with the installation process of ParaView. I attach the make.log file and would be very grateful if someone could tell me what the problem is and how I can manage it.

Thank you!

treima September 26, 2012 09:53


perhaps this is no the answer you expected and I think there are others who can help you here.

But if you canīt manage it to install Paraview, you can download the binaries from the homepage and work with these.



wyldckat September 28, 2012 06:06

Greetings to all!

@Wley: I've been testing and writing instructions on how to build OpenFOAM and ParaView in several Linux Distributions. Last night I finished writing instructions for CentOS 5.8 + OpenFOAM 2.1.1 and ParaView 3.12.0:

But there are big differences in versions, at least related to Gcc and Qt. Since you're trying to build with Gcc 4.7.1, ParaView needs a small fix:

sed -i -e 's/ClearAndSelect = Clear | Select/ClearAndSelect = static_cast<int>(Clear) | static_cast<int>(Select)/' \

I got this from the instructions for Fedora 17:

As for Qt: it's better to use Qt 4.6.4, because there is a very annoying bug in Qt 4.7.3:

You'll find on the first link on this post instructions for easily getting and building Qt 4.6.4 and ParaView with. Along with the fix I mentioned afterwards, you should get a working installation after a few hours of compiling ;)

Best regards,

All times are GMT -4. The time now is 02:34.