CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

[OpenFOAM.com] OpenFoam2112 compile error in Ubuntu 20.04

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 7, 2022, 16:38
Default OpenFoam2112 compile error in Ubuntu 20.04
  #1
wdm
New Member
 
TX
Join Date: May 2022
Posts: 3
Rep Power: 3
wdm is on a distinguished road
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.
wdm is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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 10:45
[OpenFOAM.org] Compile ParaView-5.4-0 (from OpenFOAM-6) using Ubuntu 20.04 GerhardHolzinger OpenFOAM Installation 7 November 14, 2021 08:57
[OpenFOAM.com] Unable to compile Paraview 5.9.1 for OpenFOAM v2106 (Ubuntu 20.04) keepfit OpenFOAM Installation 8 July 9, 2021 07:43
[OpenFOAM.com] Ofoam 1912+ compile error in ubuntu 20.04 fpena OpenFOAM Installation 4 May 12, 2020 07:05
Can someone PLEASE document the development version installation bernd OpenFOAM Installation 76 November 14, 2008 21:51


All times are GMT -4. The time now is 02:37.