CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   Wmake error (http://www.cfd-online.com/Forums/openfoam/60705-wmake-error.html)

murasaki January 29, 2009 00:07

Dear all I am trying to comp
 
Dear all
I am trying to compile a program using wmake. However when I compile I get the following long error message


c++/4.3.1/bits/postypes.h:50:35: error: stdint.h: No such file or directory
In file included from /home/steven/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux/bin/../lib/gcc/i686-p c-linux-gnu/4.3.1/../../../../include/c++/4.3.1/bits/char_traits.h:48,
from /home/steven/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux/bin/../lib/gcc/i686-p c-linux-gnu/4.3.1/../../../../include/c++/4.3.1/string:47,
from /home/steven/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/string.H:51,
from /home/steven/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/word.H:44,
from /home/steven/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/int.H:40,
from /home/steven/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/label.H:55,
from /home/steven/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/labelList.H:36,
from /home/steven/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/Pstream.H:45,
from /home/steven/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/OPstream.H:37,
from /home/steven/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/parRun.H:36,
from /home/steven/OpenFOAM/OpenFOAM-1.5/src/finiteVolume/lnInclude/fvCFD.H:4,
from setvelocity.C:34:


Does anyone one have any idea what is wrong ? The programs run ok so does foam installation. I am using. I am using gcc 4.3.1 Is it because of this is too old version ?



regards

Murasaki

mbeaudoin January 29, 2009 01:59

You are missing some basic dev
 
You are missing some basic development packages on your system.

The one providing the file stdint.h, among other things, is called libstdc++-devel.

On my OpenSUSE system, the complete name for this RPM is called libstdc++42-devel-4.2.1_20070724-17 .

Martin

murasaki February 10, 2009 05:59

Where can I download this pack
 
Where can I download this package ?
What other development pakages do I need ? Is there a list?

Murasaki

mbeaudoin February 10, 2009 12:52

> Where can I download this pa
 
> Where can I download this package ?

The person who did the installation of your workstation should have a pretty good idea...

Martin

robyn July 30, 2010 04:34

Let's say that person doesn't know where to get the package from for the installation where should that said person go? I also have the same problem but did the installation of OpenSUSE and am still knew to the programming world but have made my way through OpenFoam. Now I'm trying to implement a new solver such as simpleFoam with a heat gradient capability but have run into the problem listed above.

Would love to hear your thoughts!

Regards,

Robyn

wyldckat July 30, 2010 08:53

Greetings Robyn,

Got problems with OpenSUSE+OpenFOAM? Get them fixed here: http://www.cfd-online.com/Forums/ope...-2-11-3-a.html
In that thread, Alberto posted two links to his blog on How to install OpenFOAM 1.7 in OpenSUSE 11.2 and 11.3.

If that isn't enough, you'll have to be more specific with your questions ;)

Best regards,
Bruno

Linse August 9, 2010 14:03

Getting libraries
 
Else, the first thing I would try is to use YAST or YUM (depending on the system used) and look for this libstdc-thingy.

To my experience, most often I did find the file just somewhere in the normal repositories. The "devel"-packages just often are not installed, because they are needed only seldom for the daily user.

For YUM, something like
"yum install *libstdc*" might already give you something you desire, for YAST I do not know the commands. Though at both you will need to be Root or at least specific rights...


All times are GMT -4. The time now is 19:33.