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 |
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 |
Where can I download this pack
Where can I download this package ?
What other development pakages do I need ? Is there a list? Murasaki |
> 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 |
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 |
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 |
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 22:32. |