bison and flex in visual stdio 2005

E

eng.sharif

want use bison and flex in visual stdio 2005 for make small
compiler by use Custom Build Rules in Visual C++ 2005
"FlexBison.rules
file "

but when i compile "example.y" i get error
---------------------------------------------------------------------------­---------------
bison.simple: No such file or directory
bison: Project : error PRJ0019: A tool returned an error code from
bison
Project : error PRJ0002 : Error result 1 returned from 'C:\WINDOWS
\system32\cmd.exe'.
Build log was saved at "file://c:\Documents and Settings
\sharif.SYNRYU
\My Documents\Visual Studio 2005\Projects\example\example\Debug
\BuildLog.htm"
example - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped
==========
---------------------------------------------------------------------------­-----------------------
my question is where i will put "bison.exe , bison.simple ,
flex.exe"
files for use in cv++ 2005


plz help me
 
M

mclp

my question is where i will put "bison.exe , bison.simple ,
flex.exe"
files for use in cv++ 2005

You can put them wherever you like, but ensure the folder is listed in
Tools/Options/Projects and Solutions/VC++ Directories/Executable
Files.

M.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top