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

[Other] Compilation error for fluentMeshToFoam on Mac OS X

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 3, 2016, 15:22
Default Compilation error for fluentMeshToFoam on Mac OS X
  #1
Member
 
Join Date: Oct 2011
Posts: 34
Rep Power: 14
chittipo is on a distinguished road
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
chittipo is offline   Reply With Quote

Old   September 11, 2016, 12:19
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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='
__________________
wyldckat 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
[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


All times are GMT -4. The time now is 08:13.