|
[Sponsors] |
[OpenFOAM.com] OF-1.4 Installation on Ubuntu 12.04 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 28, 2015, 09:44 |
OF-1.4 Installation on Ubuntu 12.04
|
#1 |
Member
Karelke Yu
Join Date: Dec 2014
Posts: 96
Rep Power: 11 |
HI, everyone.
I got my binary packages on http://sourceforge.net/projects/foam/files/foam/1.4/ . and i installed openfoam-1.4, gcc-4.1.2 and paraview-2.4.4 successfully with the help of the readme guide (STEP BY STEP). the foamInstallationTest scrip also told that everything is ok, so i tried to compile it. unfortunately, './Allwmake' always gives me lots of elusive errors that beyond my experience. partial like this: Code:
+ cd wmake + ./makeWmake make: Nothing to be done for `all'. + cd src + ./Allwmake + cd /home/wzy/OpenFOAM/OpenFOAM-1.4/src/OpenFOAM + wmakeLnInclude . + wmake libso zlib-1.2.1 SOURCE=crc32.c ; gcc -m64 -Dlinux64 -DDP -Wall -march=opteron -O3 -fno-gcse -IlnInclude -I. -I/home/wzy/OpenFOAM/OpenFOAM-1.4/src/OpenFOAM/lnInclude -fPIC -c $SOURCE -o Make/linux64Gcc4DPOpt/crc32.o In file included from /usr/include/string.h:27, from zutil.h:21, from crc32.c:21: /usr/include/features.h:324:26: error: bits/predefs.h: No such file or directory /usr/include/features.h:357:25: error: sys/cdefs.h: No such file or directory /usr/include/features.h:389:23: error: gnu/stubs.h: No such file or directory In file included from zutil.h:21, from crc32.c:21: /usr/include/string.h:42: error: expected =, ,, ;, asm or __attribute__ before __BEGIN_NAMESPACE_STD /usr/include/string.h: In function memmove: /usr/include/string.h:50: error: expected declaration specifiers before __THROW /usr/include/string.h:51: error: expected declaration specifiers before __END_NAMESPACE_STD /usr/include/string.h:63: error: expected declaration specifiers before __BEGIN_NAMESPACE_STD /usr/include/string.h:69: error: expected =, ,, ;, asm or __attribute__ before __THROW /usr/include/string.h:96: error: expected =, ,, ;, asm or __attribute__ before __THROW /usr/include/string.h:98: error: expected declaration specifiers before __END_NAMESPACE_STD ...... thanks for the attention. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] Swak4foam installation error with OF 2.2.0 (Ubuntu 12.04 LTS) | vbchris | OpenFOAM Community Contributions | 8 | March 25, 2021 20:11 |
FLUENT installation on UBUNTU 12.04 (LTS) | teymourj | FLUENT | 2 | March 1, 2017 22:24 |
[OpenFOAM.org] OpenFOAM 2.40 installation on Ubuntu 12.04 LTS | eddykendo | OpenFOAM Installation | 1 | July 18, 2015 17:38 |
Trouble shooting about OpenFOAM installation in Ubuntu 12.04 | Nait | OpenFOAM Installation | 2 | December 12, 2012 10:20 |
Openfoam 2.1 installation in ubuntu 12.04 | jsm | OpenFOAM Installation | 11 | May 7, 2012 04:56 |