CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Installation

Installation of OpenFOAM 1.7.0 on SLED10SP2

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

LinkBack Thread Tools Display Modes
Old   June 30, 2010, 08:36
Default Installation of OpenFOAM 1.7.0 on SLED10SP2
Oliver Lauer
Join Date: Mar 2009
Location: Coburg
Posts: 57
Rep Power: 8
olauer is on a distinguished road
Hello guys,

I am trying to install OpenFOAM 1.7.0 on SuSE Linux Enterprise Desktop 10SP3. I already managed to completely run Allwmake in OpenFOAM-1.7.0 directory after adding gcc-4.3 to my installation.

But now comes the next challenge: compiling Paraview 3.8. As stated in installation instructions you need at least qt4.5 so I decided to compile qt4.6.3 available from Nokia (

Now makeParaview can be run but ends up with

Linking CXX executable ../../../../bin/GraphicsCxxTests
cd /home/OpenFOAM/ThirdParty-1.7.0/platforms/build-linux64Gcc/paraview-3.8.0/VTK/Graphics/Testing/Cxx && /usr/bin/cmake -E cmake_link_script CMakeFiles/GraphicsCxxTests.dir/link.txt --verbose=1
/usr/bin/c++ -Wno-deprecated -Wno-deprecated -O3 -DNDEBUG -fPIC CMakeFiles/GraphicsCxxTests.dir/GraphicsCxxTests.cxx.o CMakeFiles/GraphicsCxxTests.dir/Mace.cxx.o CMakeFiles/GraphicsCxxTests.dir/expCos.cxx.o CMakeFiles/GraphicsCx
xTests.dir/BoxClipTriangulate.cxx.o CMakeFiles/GraphicsCxxTests.dir/CellLocator.cxx.o CMakeFiles/GraphicsCxxTests.dir/PointLocator.cxx.o CMakeFiles/GraphicsCxxTests.dir/FrustumClip.cxx.o CMakeFiles/GraphicsCxxTests.dir/RGrid.cxx.o CMak
eFiles/GraphicsCxxTests.dir/TestAppendSelection.cxx.o CMakeFiles/GraphicsCxxTests.dir/TestAssignAttribute.cxx.o CMakeFiles/GraphicsCxxTests.dir/TestBSPTree.cxx.o CMakeFiles/GraphicsCxxTests.dir/TestDensifyPolyData.cxx.o CMakeFiles/Grap
hicsCxxTests.dir/TestClipHyperOctree.cxx.o CMakeFiles/GraphicsCxxTests.dir/TestConvertSelection.cxx.o CMakeFiles/GraphicsCxxTests.dir/TestDelaunay2D.cxx.o CMakeFiles/GraphicsCxxTests.dir/TestExtraction.cxx.o CMakeFiles/GraphicsCxxTests
.dir/TestExtractSelection.cxx.o CMakeFiles/GraphicsCxxTests.dir/TestHyperOctreeContourFilter.cxx.o CMakeFiles/GraphicsCxxTests.dir/TestHyperOctreeCutter.cxx.o CMakeFiles/GraphicsCxxTests.dir/TestHyperOctreeDual.cxx.o CMakeFiles/Graphic
sCxxTests.dir/TestHyperOctreeSurfaceFilter.cxx.o CMakeFiles/GraphicsCxxTests.dir/TestHyperOctreeToUniformGrid.cxx.o CMakeFiles/GraphicsCxxTests.dir/TestPolyDataPointSampler.cxx.o CMakeFiles/GraphicsCxxTests.dir/TestSelectEnclosedPoints
.cxx.o CMakeFiles/GraphicsCxxTests.dir/TestTessellatedBoxSource.cxx.o CMakeFiles/GraphicsCxxTests.dir/TestTessellator.cxx.o CMakeFiles/GraphicsCxxTests.dir/TestUncertaintyTubeFilter.cxx.o -o ../../../../bin/GraphicsCxxTests -rdynamic
../../../../bin/ ../../../../bin/ ../../../../bin/ -lGL ../../../../bin/ ../../../../bin/ ../../../../bin/
v3.8 ../../../../bin/ ../../../../bin/ ../../../../bin/ -lm ../../../../bin/ -ldl -Wl,-rpath-link,/home/OpenFOAM/ThirdParty-1.7.0/platforms/build
../../../../bin/ undefined reference to `QPainter::drawImage(QPointF const&, QImage const&)'
../../../../bin/ undefined reference to `QTextDocument::setDocumentMargin(double)'
../../../../bin/ undefined reference to `QMapData::node_create(QMapData::Node**, int, int)'
../../../../bin/ undefined reference to `QMapData::createData(int)'
collect2: ld returned 1 exit status
make[2]: *** [bin/GraphicsCxxTests] Error 1
make[2]: Leaving directory `/home/OpenFOAM/ThirdParty-1.7.0/platforms/build-linux64Gcc/paraview-3.8.0'
make[1]: *** [VTK/Graphics/Testing/Cxx/CMakeFiles/GraphicsCxxTests.dir/all] Error 2
make[1]: Leaving directory `/home/OpenFOAM/ThirdParty-1.7.0/platforms/build-linux64Gcc/paraview-3.8.0'
make: *** [all] Error 2

Any ideas how to continue or what is the problem.

Thanks for any help

olauer is offline   Reply With Quote

Old   June 30, 2010, 09:25
Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,929
Blog Entries: 34
Rep Power: 92
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Hi Oliver,

Are you 100% certain that Qt 4.6.3 was properly built? And is it installed in your system or did you install it in the ThirdParty folder?

Either way, there should be an error that must have happened a lot sooner when building ParaView. And I think that pertinent error is related to a missing library or headers of X11 stuff. For example, in Ubuntu, we need to install and libXt-dev for building ParaView or Qt, I can't be certain right now

Anyhow, you can take a look at the following post that as a few suggestions on where to get information on how to build ParaView for using OpenFOAM: OpenFOAM 1.7.0 on OpenSUSE 11.1

Best regards,
wyldckat is offline   Reply With Quote

Old   June 30, 2010, 10:29
Oliver Lauer
Join Date: Mar 2009
Location: Coburg
Posts: 57
Rep Power: 8
olauer is on a distinguished road
Hi Bruno,

thank you for your quick response. Your answer points into the right direction. If I add
everything is fine. Perhaps I have to modify LD_LIBRARY_PATH

Thanks again
olauer is offline   Reply With Quote


Thread Tools
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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenFOAM 1.7.0 installation problem stevek OpenFOAM 14 December 1, 2010 16:30
Critical errors during OpenFoam installation in OpenSuse 11.0 amscosta OpenFOAM 5 May 1, 2009 14:06
Problem installing OpenFOAM 1.5 installation on RHEL 4. vwsj84 OpenFOAM Installation 4 April 23, 2009 04:48
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 18:07
Adventure of fisrst openfoam installation on Ubuntu 710 jussi OpenFOAM Installation 0 April 24, 2008 14:25

All times are GMT -4. The time now is 04:18.