473,326 Members | 2,090 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

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

Feb 27 '07 #1
2 5079
en********@gmail.com wrote:
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.
Feb 27 '07 #2

<en********@gmail.comwrote in message
news:11**********************@q2g2000cwa.googlegro ups.com...
>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.

Mar 2 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: jon rogers | last post by:
Hi I'm new to PHP. I have a RHLinux 9 box running Apache httpd 2.0.40 and MySQL Ver 12.18 Distrib 4.0.12. I downloaded PHP 4.3.4 (tar.gz) - 03 November 200 and tried $ ./configure...
0
by: Tom Heathcote | last post by:
Apologies for posting a flex++ question rather than a C++ question, but there does not appear to be a flex++ newsgroup... I am trying to rebuild some old lexical scanner / analyzer code, which I...
2
by: olig9 | last post by:
Hello, is there a way to feed an ifstream to a parser generated with flex and bison? I could see that flex wants a FILE* for reading, but I only have an ifstream (actually and ifstream*) for...
8
by: pavel.orehov | last post by:
Hi, I am using flex and bizon to write HTTP parser. I am passing well flex and bison tools but can't compile their output. ================= Flex file (http_parser.lpp) ============== %{...
6
by: Volker Hetzer | last post by:
Hi! We are finding ourselves in a situation where we have to parse several more or less free format text files. In the past, on linux, we had flex and bison for generating very fast parsers for...
13
by: jc | last post by:
I have written a parser using bison and flex to read ASAP2 file for CAN communications. entire development was done in an unix environment and now the code is ready to be integrated to an existing...
0
by: eng.sharif | last post by:
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...
1
by: eng.sharif | last post by:
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...
1
by: cwhite | last post by:
Hi! I've included some of my classes in the union in my grammar file: %union { int int_type; char* string_type; PNode* pNode; } %type <int_type> programs %type <pNode> program
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.