|
[Sponsors] |
October 6, 2006, 23:08 |
After I installed OpenFOAM on
|
#1 |
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 |
|
October 7, 2006, 05:15 |
That's not referring to OpenFO
|
#2 |
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. |
|
|
|
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 |