CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Gcc compiler

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 6, 2006, 23:08
Default After I installed OpenFOAM on
  #1
shuo
Guest
 
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.
ie.
/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>'

Shuo
  Reply With Quote

Old   October 7, 2006, 05:15
Default That's not referring to OpenFO
  #2
brooksmoses
Guest
 
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

Reply


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 Off
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 06:43
set compiler f77 andromeda Main CFD Forum 0 July 9, 2006 09:35
Compiler for UDF Alamgir FLUENT 5 July 31, 2002 21:44
compiler stephanie FLUENT 2 June 19, 2002 08:49
C++ Compiler for UDF Dmitriy Makarov FLUENT 1 December 12, 2000 03:41


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