CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Running, Solving & CFD

Gcc compiler

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

LinkBack Thread Tools Display Modes
Old   October 6, 2006, 22:08
Default After I installed OpenFOAM on
Posts: n/a
After I installed OpenFOAM on Ubuntu I tried to compile some C++ codes(not a part of OpenFOAM) but the computer keeps referring it to OpenFOAM for some strange reason.
/home/shuo/OpenFOAM/linux/gcc-4.1.0/bin/../lib/gcc/i686-pc-linux-gnu/4.1.0/../.. /../../include/c++/4.1.0/istream:762: error: no type named 'off_type' in 'struct std::char_traits<wchar_t>'

  Reply With Quote

Old   October 7, 2006, 04:15
Default That's not referring to OpenFO
Posts: n/a
That's not referring to OpenFOAM; that's referring to the GCC installation that you installed with OpenFOAM.

Remember, when you put the OpenFOAM bashrc (or cshrc) stuff in your .bashrc (or .cshrc) file? That also tells it to add things to your path, so that the copy of GCC that you installed with OpenFOAM comes earlier in your path than the system GCC. Thus, whenever you call GCC, regardless of whether or not you're doing OpenFOAM stuff, it runs that one.

In any case, it should work perfectly fine, except for any minor bugs that have been fixed between version 4.1.0 and the current version.
  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
Gcc compiler shuo OpenFOAM Running, Solving & CFD 5 October 15, 2006 05:43
set compiler f77 andromeda Main CFD Forum 0 July 9, 2006 08:35
Compiler for UDF Alamgir FLUENT 5 July 31, 2002 20:44
compiler stephanie FLUENT 2 June 19, 2002 07:49
C++ Compiler for UDF Dmitriy Makarov FLUENT 1 December 12, 2000 03:41

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