문제

I'm trying to build a lexical analyzer (tokenizer) by flex on microsoft visual studio 2010, but it doesn't make the C-file (lex.yy.c) when I press Tools -> flex can any body help me?

도움이 되었습니까?

해결책

Flex does not normally come as part of visual studio, so it must have been downloaded and added.

The instructions for the addition of flex and bison with visual studio are here: http://sourceforge.net/p/winflexbison/wiki/Visual%20Studio%20custom%20build%20rules/

Have your read that documentation. It shows you how to get it working.

Many people find it easier to just use flex and bison in command prompt mode.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top