OF 1.6 | Ubuntu 9.10 (64bit) | GLIBCXX_3.4.11 not found
Hi there,
I'm looking for some advice. I downloaded the newest version of OF-1.6 from http://www.opencfd.co.uk/openfoam/download.html, but that's obvious. Of course I've followed the installation instruction on the website, but I've met following errors: 1) Using command makeParaView, I've got: Code:
ParaView_DIR=/home/piotr/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/platforms/linux64Gcc Code:
Code:
+ [ -d /home/piotr/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/platforms/linux64Gcc -a -r /home/piotr/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/platforms/linux64Gcc ] Is there any one able to help me a bit? |
What do you think? May it be due to the version of gcc?
I have: Code:
piotr@quad:~$ gcc --version |
Hi Piotr,
It is indeed due to gcc, actually due to some libraries that are probably in your system's gcc, but not updated in openFOAM's gcc. The latter lives in ThirdParty. This can give problems with things like libstdc++.so.6 and its version. You might want to try to compile with your system compiler. For that change the following lines in lines 111-115 of $HOME/OpenFOAM/OpenFOAM-1.5/etc/settings.sh from Code:
# Select compiler installation Code:
# Select compiler installation Cheers, Gijsbert |
I thought that too, but it didn't worked as you or me could expect. First of all after the change of compiler to the given by the System as you suggested I've got critical error like this from the foamInstallationTest:
Code:
------------------------------------------------------------------------------- Code:
CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name. That's funny under Ubuntu 8.10 or 9.04 mostly I had problem with the right version of Qt :) here with compiler :) |
It actually looks like a cmake error
Quote:
|
Also, did you have a look at the cookbook discussion?
|
I'm trying to solve the installation problem on Ubuntu 9.10 64bit as well.
This is what happens when running ./Allwmake Code:
CMake Error: The following variables are used in this project, but they are set to NOTFOUND. |
Hi gwierink,
I've checked your advice, I mean this one about the cookbook but problem still occurs. I haven't check changing the gcc version to the older one yet, maybe this might be the solution. Quote:
|
Have you installed the mesa and openGL libraries (mesa-common-dev, libqt4-opengl and libqt4-opengl-dev)? And appearantly cmake wants you to set the path in the OPENGL_INCLUDE_DIR environment variable in $HOME/OpenFOAM/OpenFOAM-1.6/applications/utilities/postProcessing/graphics/PV3FoamReader/PV3FoamReader.
Quote:
Regards, Gijs |
I will give it a try. But set the OPENGL_INCLUDE_DIR to what?
|
So, I found the source of my problem. And there is even quite simple solution for it. The problem is not the lacking of some libraries but wrong linking. So what you need to do is just:
Code:
cd /home/USER_NAME/OpenFOAM/ThirdParty-1.6.x/gcc-4.3.3/platforms/linux64/lib64 Unfortunately after all, I still can't see anything in paraView ;/ I mean what I can see is Mesh Parts and Volume Fields pointed out, but after clicking Apply there is nothing going on. Just like on the picture: http://www.fotka.pl/duza_fotka.php?f...e=1&album_nr=2 http://www.fotka.pl/duza_fotka.php?f...e=1&album_nr=2 Any new advices? |
Quote:
|
nope, I don't use any desktop effects by default. That's why it's so strange...
The only one thing which is coming to my head now is maybe I use wrong version of Qt? Code:
QMake version 2.01a |
Just to answer the question above:
Quote:
Regards, Gijs |
Still no luck on my side. I was trying many things already, I've recompile paraView to the 4.3.5 version as suggested on the OF website I added some new OPENGL libraries, but I can't still see anything in the cavity case. I'm clueless...
I found something strange. Actually I wanted to see one of my older cases that I done on other hardware. And when I ran paraFoam for this I've got some picture of my object, which looks like here: http://www.fotka.pl/duza_fotka.php?f...e=1&album_nr=2 But it suppose to be the cylindrical shape, since it's kind of a tank/vessel!!! Maybe I still need some other library. What is even more interesting I've installed OF for windows from http://sourceforge.net/projects/openfoam-mswin/ . And my object looks properly as it should be. The only one problem is that I can't see the whole object due to allocation of memory under windows, but even though I wanna use Ubuntu for my calculations. What do you think? Do I need some special libraries? |
Quote:
But WHERE do I have to specify this OPENGL_INCLUDE_DIR variable? The location mentioned by you is a directory! |
Problem solved thanks to:
http://www.cfd-online.com/Forums/ope...-paraview.html one line can make a change. If you are using Ubuntu with different language support than english use this: Code:
export LC_ALL=C |
Quote:
|
Quote:
I have installed every library from the post! Are you sure I have to compile cmake? I'm sure this will cause trouble ... Will get back to you! |
Hmm, that's strange, I do have that directory. But anyways, I compiled cmake myself, without any problem. I'm sorry, but I'm not sure whether I can really help you further with this ....:o
|
All times are GMT -4. The time now is 09:29. |