|
[Sponsors] |
March 8, 2009, 12:02 |
Good morning,
I'm experienc
|
#1 |
Senior Member
Pierre-Olivier Dallaire
Join Date: Mar 2009
Location: Montreal, Quebec, Canada
Posts: 192
Rep Power: 17 |
Good morning,
I'm experiencing some issues when compiling 1.5.x on Linux using gcc-4.3.1 (or gcc-4.3) with flex 2.5.35 : triSurface/interfaces/STL/readSTLASCII.L:60: error: no 'int yyFlexLexer::yywrap()' member function declared in class 'yyFlexLexer' lex.yy.cc: In member function 'int STLLexer::lex()': lex.yy.cc:5526: error: 'yy_buffer_stack' was not declared in this scope lex.yy.cc:5526: error: 'yy_buffer_stack_top' was not declared in this scope lex.yy.cc:5527: error: 'yyensure_buffer_stack' was not declared in this scope lex.yy.cc:5549: warning: use of old-style cast lex.yy.cc:5549: warning: use of old-style cast lex.yy.cc:5565: warning: use of old-style cast lex.yy.cc:5779: warning: use of old-style cast lex.yy.cc:5785: error: 'yy_buffer_stack' was not declared in this scope lex.yy.cc:5785: error: 'yy_buffer_stack_top' was not declared in this scope lex.yy.cc:5808: error: 'yy_buffer_stack' was not declared in this scope lex.yy.cc:5808: error: 'yy_buffer_stack_top' was not declared in this scope ... I had similar issues with the old flex version 2.5.4 and that is why I ent with flex 2.5.35 / anybody has an idea ? I found similar posts but nothing seems to help here. It looks that readSTLASCII.L already included the modifications proposed. Best regards, PO |
|
May 27, 2010, 13:22 |
|
#2 |
Member
kshitij neroorkar
Join Date: Mar 2009
Location: Michigan, USA
Posts: 32
Rep Power: 17 |
Hi
I am also getting this same error while compiling OF1.5-dev. Were you able to find a solution to this ? Regards Kshitij |
|
June 1, 2010, 18:00 |
hi
|
#3 |
Member
kshitij neroorkar
Join Date: Mar 2009
Location: Michigan, USA
Posts: 32
Rep Power: 17 |
I think I figured it out. This happens when you have a local install of flex
you need to modify the options file in triSurface/Make to point to the location where FlexLexer.h file is stored. The function yywrap() is defined in this header file. Kshitij |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
What is the difference between flex and foamFlex | allenzhao | OpenFOAM Installation | 1 | August 14, 2008 18:17 |
OpenFOAM 14 problem with file readSTLASCIIL | mbeaudoin | OpenFOAM Bugs | 2 | April 13, 2007 22:09 |
Flex vs foamFlex | lel | OpenFOAM Installation | 2 | October 11, 2006 07:23 |
Flex License Borrowing | Henry Oxted | Main CFD Forum | 5 | March 23, 2005 17:59 |
vig-o-flex | lipovetzky leonid | Main CFD Forum | 0 | October 6, 1998 11:48 |