OpenFoam 2.1.x /2.2.0 compilation failed on Ubuntu 12.04/10 64bit
I have been using OpenFOAM 2.1.1 for a while, now I wanna install OpenFOAM on a thinkpad x200 laptop.
So far I tried:
1) Fresh installed Ubuntu 12.10 64bit
Both OF 2.1.1 and OF 2.2.0 compilation failed according to the following installation guide:
2) So I removed the latest Ubuntu 12.10 system and replaced it with the Ubuntu 12.04.2 LTS (x64), which is same as the OS of my Desktop PC in which OF 2.1.1 is already installed from source pack
here is the first error for OF 2.2.0 compilation:
Any hints or recommendation will be appreciated.
Are you using gcc 4.7?
I had to add the flag "-fpermissive" to the file wmake/rules/linux64Gcc/c++.
This was in Ubuntu 12.10 64 bit.
but this time I just update the system and then Install OF without installing any other software.
Hoping it works.
PS: the gcc version is 4.6.3.
|All times are GMT -4. The time now is 10:26.|