[Qgis-developer] problem compiling with qmake and visual studio 2005

godofredo contreras frdcn at hotmail.com
Fri Oct 13 13:32:02 EDT 2006


Yes, I have flex and bison installed and in path. I added unistd.h from flex 
and bison installation directory.

this is the error I get:

qgssearchstringparser_yacc.cpp
e:\qgis_devel\qgis\src\core\qgssearchstringparser.yy(160) : error C3861: 
'qgssea
rchstringparserparse': identifier not found
e:\qgis_devel\qgis\src\core\y.tab.c(298) : error C2365: 
'qgssearchstringparserpa
rse' : redefinition; previous definition was 'formerly unknown identifier'
qgssearchstringlexer_lex.cpp
e:\qgis_devel\qgis\src\core\qgssearchstringlexer.ll(57) : error C2065: 
'yylval'
: undeclared identifier
e:\qgis_devel\qgis\src\core\qgssearchstringlexer.ll(57) : error C2228: left 
of '
.op' must have class/struct/union
        type is ''unknown-type''
e:\qgis_devel\qgis\src\core\qgssearchstringlexer.ll(58) : error C2228: left 
of '
.op' must have class/struct/union
        type is ''unknown-type''
e:\qgis_devel\qgis\src\core\qgssearchstringlexer.ll(59) : error C2228: left 
of '
.op' must have class/struct/union
        type is ''unknown-type''
e:\qgis_devel\qgis\src\core\qgssearchstringlexer.ll(60) : error C2228: left 
of '
.op' must have class/struct/union
        type is ''unknown-type''
e:\qgis_devel\qgis\src\core\qgssearchstringlexer.ll(61) : error C2228: left 
of '
.op' must have class/struct/union
        type is ''unknown-type''
e:\qgis_devel\qgis\src\core\qgssearchstringlexer.ll(62) : error C2228: left 
of '
.op' must have class/struct/union
        type is ''unknown-type''
e:\qgis_devel\qgis\src\core\qgssearchstringlexer.ll(63) : error C2228: left 
of '
.op' must have class/struct/union
        type is ''unknown-type''
e:\qgis_devel\qgis\src\core\qgssearchstringlexer.ll(64) : error C2228: left 
of '
.op' must have class/struct/union
        type is ''unknown-type''
e:\qgis_devel\qgis\src\core\qgssearchstringlexer.ll(65) : error C2228: left 
of '
.op' must have class/struct/union
        type is ''unknown-type''
e:\qgis_devel\qgis\src\core\qgssearchstringlexer.ll(71) : error C2228: left 
of '
.number' must have class/struct/union
        type is ''unknown-type''

I also tried "byacc" instead of "bison -y" with no success, I also update  
qgssearchstringlexer.ll and qgssearchstringlexer.yy from svn today.





More information about the Qgis-developer mailing list