|
[Sponsors] |
[Other] Compilation error for fluentMeshToFoam on Mac OS X |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 3, 2016, 16:22 |
Compilation error for fluentMeshToFoam on Mac OS X
|
#1 |
Member
Join Date: Oct 2011
Posts: 34
Rep Power: 15 |
Hello guys, i recently installed openFoam on my mac. compilation is not successful for fluentMeshToFoam and fluent3DMeshToFoam. Following error message. Could somebody help me to resolve this please.
Undefined symbols for architecture x86_64: "yyFlexLexer::yywrap()", referenced from: vtable for yyFlexLexer in fluent3DMeshToFoam.o ld: symbol(s) not found for architecture x86_64 collect2: error: ld returned 1 exit status |
|
September 11, 2016, 13:19 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick answer: To fix this issue, run:
Code:
#Go into OpenFOAM's main source folder cd $WM_PROJECT_DIR #Change how the flex version is checked find src applications -name "*.L" -type f | xargs sed -i -e 's=\(YY\_FLEX\_SUBMINOR\_VERSION\)=YY_FLEX_MINOR_VERSION < 6 \&\& \1='
__________________
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[foam-extend.org] foam-extend-3.2 compilation on windows | kirmaks | OpenFOAM Installation | 7 | December 3, 2019 21:20 |
[OpenFOAM.org] A Mac OS X of23x Development Environment Using Docker | rt08 | OpenFOAM Installation | 1 | February 28, 2016 20:00 |
fatal error compiling OF-2.2.2 on Mac | camel_85 | OpenFOAM Installation | 0 | July 29, 2014 13:51 |
Compilation Error (V 1.7.1; Icc 12.1.0, OpenMPI 1.4.3) | floydfan | OpenFOAM Installation | 7 | December 20, 2011 06:56 |
Compilation Error.... | Arnab | Siemens | 4 | September 12, 2004 16:54 |