<div dir="ltr">Hi Martin,<br><div class="gmail_extra"><br></div><div class="gmail_extra">I think I ran into this recently. There was a commit in 2.6 [0] that apparently requires a newer version of flex or bison (bison 3.x, I think?) than is available with the GnuWin32 project as noted in INSTALL [1]. Instead I used the precompiled binaries available from the 'Win flex-bison' project [2] and specified the CMake paths:<br><br>-D BISON_EXECUTABLE=C:/path/to/win_flex_bison-latest/win_bison \<br>-D FLEX_EXECUTABLE=C:/path/to/win_flex_bison-latest/win_flex<br><br></div><div class="gmail_extra">Looks like the CMake find modules need updated to look for those binaries. I suppose you could also build the latest packages yourself.<br></div><div class="gmail_extra"><br>[0] <a href="https://github.com/qgis/QGIS/commit/2427546d8850c7f0b2ca191b238a77c49f648510">https://github.com/qgis/QGIS/commit/2427546d8850c7f0b2ca191b238a77c49f648510</a><br>[1] <a href="https://github.com/qgis/QGIS/blob/master/INSTALL#L583-L584">https://github.com/qgis/QGIS/blob/master/INSTALL#L583-L584</a><br>[2] <a href="http://sourceforge.net/projects/winflexbison/">http://sourceforge.net/projects/winflexbison/</a><br><br clear="all"></div><div class="gmail_extra"><div><div class="gmail_signature">Regards,<br></div><div class="gmail_signature"><br>Larry Shaffer<br>Dakota Cartography<br>Black Hills, South Dakota</div></div>
<br><div class="gmail_quote">On Wed, Nov 19, 2014 at 3:42 AM, Martin Landa <span dir="ltr"><<a href="mailto:landa.martin@gmail.com" target="_blank">landa.martin@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi all,<br>
<br>
building QGIS 2.6 on MS Windows fails (qgis_core) with<br>
<br>
Generating flex_qgsexpressionlexer.cpp<br>
"C:/OSGeo4W_qgis_vfk/usr/src/qgis_2_6/src/core/qgsexpressionlexer.ll",<br>
line 22: unrecognized %option: reentrant<br>
"C:/OSGeo4W_qgis_vfk/usr/src/qgis_2_6/src/core/qgsexpressionlexer.ll",<br>
line 24: unrecognized %option: bison-bridge<br>
Project : error PRJ0019: A tool returned an error code from<br>
"Generating flex_qgsexpressionlexer.cpp"<br>
<br>
No problem with QGIS 2.4 or 2.2. Any idea what could be wrong?<br>
<br>
Thanks, Martin<br>
<span class=""><font color="#888888"><br>
--<br>
Martin Landa<br>
<a href="http://geo.fsv.cvut.cz/gwiki/Landa" target="_blank">http://geo.fsv.cvut.cz/gwiki/Landa</a><br>
<a href="http://gismentors.eu/mentors/landa" target="_blank">http://gismentors.eu/mentors/landa</a><br>
_______________________________________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
</font></span></blockquote></div><br></div></div>