Hi Martin, 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:
-D BISON_EXECUTABLE=C:/path/to/win_flex_bison-latest/win_bison \ -D FLEX_EXECUTABLE=C:/path/to/win_flex_bison-latest/win_flex Looks like the CMake find modules need updated to look for those binaries. I suppose you could also build the latest packages yourself. [0] https://github.com/qgis/QGIS/commit/2427546d8850c7f0b2ca191b238a77c49f648510 [1] https://github.com/qgis/QGIS/blob/master/INSTALL#L583-L584 [2] http://sourceforge.net/projects/winflexbison/ Regards, Larry Shaffer Dakota Cartography Black Hills, South Dakota On Wed, Nov 19, 2014 at 3:42 AM, Martin Landa <landa.mar...@gmail.com> wrote: > Hi all, > > building QGIS 2.6 on MS Windows fails (qgis_core) with > > Generating flex_qgsexpressionlexer.cpp > "C:/OSGeo4W_qgis_vfk/usr/src/qgis_2_6/src/core/qgsexpressionlexer.ll", > line 22: unrecognized %option: reentrant > "C:/OSGeo4W_qgis_vfk/usr/src/qgis_2_6/src/core/qgsexpressionlexer.ll", > line 24: unrecognized %option: bison-bridge > Project : error PRJ0019: A tool returned an error code from > "Generating flex_qgsexpressionlexer.cpp" > > No problem with QGIS 2.4 or 2.2. Any idea what could be wrong? > > Thanks, Martin > > -- > Martin Landa > http://geo.fsv.cvut.cz/gwiki/Landa > http://gismentors.eu/mentors/landa > _______________________________________________ > Qgis-developer mailing list > Qgis-developer@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/qgis-developer >
_______________________________________________ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer