|
[Sponsors] |
[OpenFOAM.com] OpenFoam2112 compile error in Ubuntu 20.04 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 7, 2022, 17:38 |
OpenFoam2112 compile error in Ubuntu 20.04
|
#1 |
New Member
TX
Join Date: May 2022
Posts: 3
Rep Power: 4 |
Hi Expert,
I followed online instruction and got an error when run "./Allwmake -s -l" /usr/include/c++/9/cstring:106:16: note: Initializing argument 1 of 'char* std::strchr(char*, int)' 106 | strchr(char* __s, int __n) | make: *** [/home/user/src/OpenFoam-v2112/wmake/rules/General/transoform:35: /home/user/src/OpenFoam-v2112/build/linux64GccDPInt320pt/src/OSspecfic/POSIX/POSIX.o] Error 1 Done logging to 'log.linux64GccDPInt320pt' Any idea how to fix this? The only difference I noticed is gcc version in ubuntu. Current Ubuntu 20.04 gcc version is 9.4.0, while the gcc version mentioned in documentation is 9.3.0. Is this the root cause? any comments are appreciated. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM.com] Installing OpenFOAM 2.4.0 on Ubuntu 20.04 for Windows | RKyle | OpenFOAM Installation | 5 | January 25, 2022 11:45 |
[OpenFOAM.org] Compile ParaView-5.4-0 (from OpenFOAM-6) using Ubuntu 20.04 | GerhardHolzinger | OpenFOAM Installation | 7 | November 14, 2021 09:57 |
[OpenFOAM.com] Unable to compile Paraview 5.9.1 for OpenFOAM v2106 (Ubuntu 20.04) | keepfit | OpenFOAM Installation | 8 | July 9, 2021 08:43 |
[OpenFOAM.com] Ofoam 1912+ compile error in ubuntu 20.04 | fpena | OpenFOAM Installation | 4 | May 12, 2020 08:05 |
Can someone PLEASE document the development version installation | bernd | OpenFOAM Installation | 76 | November 14, 2008 22:51 |