I am using this windows version of flex (lex) and bison (yacc) to port my query compiler from linux to Windows.
The output files, lex.yy.c, y.tab.c and y.tab.h are getting generated properly.
However, I am getting the following link error.
Error 29 error LNK2001: unresolved external symbol _yylval G:\Project\lex.yy.obj QC
Error 30 error LNK1120: 1 unresolved externals G:\Project\QC.exe QC
I tried copying the above files generated by the original linux versions of flex and yacc to Visual studio project folder. But that too gives the same link error.