|
[Sponsors] |
October 15, 2012, 11:54 |
code compilation problem with wmake
|
#1 | ||
New Member
Blaž Mikuž
Join Date: Sep 2011
Location: Ljubljana
Posts: 29
Rep Power: 15 |
Hello everyone,
I tried to compile a "test" program with wmake in OpenFoam1.7.1 which is installed on SUSE LINUX enterprise server 11 SP1 operating system. When I applied the wmake command, the error was found: Quote:
Quote:
Blaz |
|||
October 16, 2012, 12:13 |
|
#2 |
New Member
Blaž Mikuž
Join Date: Sep 2011
Location: Ljubljana
Posts: 29
Rep Power: 15 |
To be more specific: the system has installed gcc version 4.3.4 and it seems that it uses GLIBCXX_3.4.10, which is too old. So we installed gcc version 4.5.0, which uses GLIBCXX_3.4.14, but I don't know how to switch openfoam from using the older to newer gcc and GLIBCXX?
Can anybody explain how switching the gcc (and GLIBCXX) is properly done? |
|
October 17, 2012, 10:30 |
|
#3 |
Senior Member
David Gaden
Join Date: Apr 2009
Location: Winnipeg, Canada
Posts: 437
Rep Power: 22 |
This sounds like that linking issue, but it started with GCC4.6. It has been fixed in 2.x.x and in 1.6-ext. Here's a 1.6-ext patch I threw into the repo a while back that addressed it. Maybe it will help...?
http://openfoam-extend.git.sourcefor...ed079f96c1c0b7 -Dave
__________________
~~~ Follow me on twitter @DavidGaden |
|
Tags |
wmake error |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem in k-eps turbulence code in complex geometry | sontukaku | Main CFD Forum | 2 | December 28, 2010 01:44 |
wmake compiling Problem with OF1.5 | openTom | OpenFOAM Installation | 4 | May 3, 2009 15:44 |
Wmake problem | thumthae | OpenFOAM Installation | 12 | December 3, 2008 10:30 |
Design Integration with CFD? | John C. Chien | Main CFD Forum | 19 | May 17, 2001 16:56 |
What is the Better Way to Do CFD? | John C. Chien | Main CFD Forum | 54 | April 23, 2001 09:10 |