|
[Sponsors] |
[Other] Compilation error for fluentMeshToFoam on Mac OS X |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
Member
Join Date: Oct 2011
Posts: 34
Rep Power: 13 ![]() |
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 |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,969
Blog Entries: 45
Rep Power: 127 ![]() ![]() ![]() ![]() ![]() ![]() |
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='
__________________
|
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[foam-extend.org] foam-extend-3.2 compilation on windows | kirmaks | OpenFOAM Installation | 7 | December 3, 2019 20:20 |
[OpenFOAM.org] A Mac OS X of23x Development Environment Using Docker | rt08 | OpenFOAM Installation | 1 | February 28, 2016 19:00 |
fatal error compiling OF-2.2.2 on Mac | camel_85 | OpenFOAM Installation | 0 | July 29, 2014 12:51 |
Compilation Error (V 1.7.1; Icc 12.1.0, OpenMPI 1.4.3) | floydfan | OpenFOAM Installation | 7 | December 20, 2011 05:56 |
Compilation Error.... | Arnab | Siemens | 4 | September 12, 2004 15:54 |