Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old February 27th, 2007, 01:25 AM
eng.sharif@gmail.com
Guest
 
Posts: n/a
Default problem in visual stdio 2005 with bison and flex

i 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

  #2  
Old February 27th, 2007, 01:45 AM
Ian Collins
Guest
 
Posts: n/a
Default Re: problem in visual stdio 2005 with bison and flex

eng.sharif@gmail.com wrote:
Quote:
i 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 "
>
Then you'd better ask on a VC++ group, this is off topic here.

--
Ian Collins.
  #3  
Old March 2nd, 2007, 12:35 AM
Peter
Guest
 
Posts: n/a
Default Re: problem in visual stdio 2005 with bison and flex


<eng.sharif@gmail.comwrote in message
news:1172538882.654536.286450@q2g2000cwa.googlegro ups.com...
Quote:
>i 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
>
I guess you did not install bison correctly.

install cygwin -- see www.cygwin.com
This is also helpful for other problems.
Make certain you install the developertools -- I think this is off by
default.

 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles