|
[Sponsors] |
September 11, 2008, 00:32 |
hi,
I am using OF1.4,it is ru
|
#1 |
Senior Member
weihong yao
Join Date: Mar 2009
Posts: 117
Rep Power: 17 |
hi,
I am using OF1.4,it is run OK. But it can not compile applications, such as icoFoam.I domnload five files,they are OpenFOAM-1.4.General.GZ,OpenFOAM-1.4linuxGcc4DPOpt.gz,gcc-4.1.2.linux.tgz,j2sdk1 .4.2_05.linux.tgz,and paraview-2.4.4.linux.tgz.it is pass the foamInstallationTest. did I miss something?how can i do?would someone tell me the reason? it appear the error like that: /home/ivan/OpenFOAM/linux/gcc-4.1.2/bin/../lib/gcc/i686-pc-linux-gnu/4.1.2/../.. /../../include/c++/4.1.2/sstream:385: error: no type named 'off_type' in 'struct std::char_traits<wchar_t>' /home/ivan/OpenFOAM/linux/gcc-4.1.2/bin/../lib/gcc/i686-pc-linux-gnu/4.1.2/../.. /../../include/c++/4.1.2/sstream: In instantiation of 'std::basic_stringstream<wchar_t,>, std::allocator<wchar_t> >': /home/ivan/OpenFOAM/linux/gcc-4.1.2/bin/../lib/gcc/i686-pc-linux-gnu/4.1.2/../.. /../../include/c++/4.1.2/bits/sstream.tcc:265: instantiated from here /home/ivan/OpenFOAM/linux/gcc-4.1.2/bin/../lib/gcc/i686-pc-linux-gnu/4.1.2/../.. /../../include/c++/4.1.2/sstream:496: error: no type named 'int_type' in 'struct std::char_traits<wchar_t>' /home/ivan/OpenFOAM/linux/gcc-4.1.2/bin/../lib/gcc/i686-pc-linux-gnu/4.1.2/../.. /../../include/c++/4.1.2/sstream:498: error: no type named 'off_type' in 'struct std::char_traits<wchar_t>' /home/ivan/OpenFOAM/OpenFOAM-1.4/src/OpenFOAM/lnInclude/clock.H:56: error: 'time_t' does not name a type /home/ivan/OpenFOAM/OpenFOAM-1.4/src/OpenFOAM/lnInclude/clock.H:59: error: 'time_t' does not name a type /home/ivan/OpenFOAM/OpenFOAM-1.4/src/OpenFOAM/lnInclude/clock.H:62: error: 'time_t' does not name a type /home/ivan/OpenFOAM/OpenFOAM-1.4/src/OpenFOAM/lnInclude/clock.H:79: error: 'time_t' does not name a type /home/ivan/OpenFOAM/OpenFOAM-1.4/src/OpenFOAM/lnInclude/clock.H:91: error: 'time_t' does not name a type /home/ivan/OpenFOAM/OpenFOAM-1.4/src/OpenFOAM/lnInclude/clock.H:94: error: 'time_t' does not name a type /home/ivan/OpenFOAM/OpenFOAM-1.4/src/OpenFOAM/lnInclude/cpuTime.H:57: error: field 'startTime_' has incomplete type /home/ivan/OpenFOAM/OpenFOAM-1.4/src/OpenFOAM/lnInclude/cpuTime.H:58: error: field 'lastTime_' has incomplete type /home/ivan/OpenFOAM/OpenFOAM-1.4/src/OpenFOAM/lnInclude/cpuTime.H:59: error: field 'newTime_' has incomplete type /home/ivan/OpenFOAM/linux/gcc-4.1.2/bin/../lib/gcc/i686-pc-linux-gnu/4.1.2/../.. /../../include/c++/4.1.2/streambuf: In member function 'typename _Traits::pos_type std::basic_streambuf<_chart,>::seekpos(typename _Traits::pos_type, std::_Ios_Openmode) [with _CharT = char, _Traits = std::char_traits<char>]': /home/ivan/OpenFOAM/linux/gcc-4.1.2/bin/../lib/gcc/i686-pc-linux-gnu/4.1.2/../.. /../../include/c++/4.1.2/streambuf:252: instantiated from 'typename _Traits::pos_type std::basic_streambuf<_chart,>::pubseekpos(typename _Traits::pos_type, std::_Ios_Openmode) [with _CharT = char, _Traits = std::char_traits<char>]' /home/ivan/OpenFOAM/OpenFOAM-1.4/src/OpenFOAM/lnInclude/OStringStream.H:104: instantiated from here /home/ivan/OpenFOAM/linux/gcc-4.1.2/bin/../lib/gcc/i686-pc-linux-gnu/4.1.2/../.. /../../include/c++/4.1.2/streambuf:599: error: no type named 'off_type' in 'struct std::char_traits<char>' make: *** [Make/linuxGcc4DPOpt/fvMeshGeometry.o] error 1 |
|
March 28, 2015, 23:35 |
|
#2 |
Member
Karelke Yu
Join Date: Dec 2014
Posts: 96
Rep Power: 12 |
Hi, weihong.
i think i have got the same errors with you. may i konw how you solve the problem? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to handle it | ivanyao | OpenFOAM Pre-Processing | 6 | August 24, 2008 22:27 |
Is UDF the only way to handle particle melting? | marq | FLUENT | 3 | February 23, 2008 02:48 |
Can CFX handle local hex refinement? | JollyP | CFX | 2 | October 31, 2006 10:00 |
Libstdcso6 cannot handle TLS data | barryw | OpenFOAM Installation | 2 | September 7, 2006 03:02 |
Can ALE handle air bubble breakups? | Pei-Ying Hsieh | Main CFD Forum | 1 | May 29, 2003 11:54 |