?
Solved

An error solving question.

Posted on 1998-07-25
5
Medium Priority
?
197 Views
Last Modified: 2010-04-02
When I try to compile my application written in Microsoft Visual C++... it gaves me this error message:
"Error spawning cl.exe"
What does the above error message mean?
How do I go about solving this error?

For your informations, my platform is Windows98 and using Microsoft Visual C++ 5.0.

Any help offered is very much appreciated!
0
Comment
Question by:justinng
  • 3
5 Comments
 
LVL 22

Expert Comment

by:nietod
ID: 1168614
cl.exe is the compiler executable.  
Is this a new install or were you able to compile before and something happened?
Can you find cl.exe yourself? It should be in the VC\BIN directory?
0
 
LVL 22

Expert Comment

by:nietod
ID: 1168615
You might check that the VC\BIN directory (or the one that has the cl.exe file) is listed in your workspace's executable directory list.  To do so go to the "tools" menu->"Options" menu item  Press the "Directories" tab.  Under "Show directories for" select "Executables" and mak sure it lists the directory with the cl.exe file (posssibly among others.)
0
 

Author Comment

by:justinng
ID: 1168616
YES! You're absolutely right nietod!!! I followed your instructions and the error was solved!!! Thanks a lot!!!
By the way.. how can I transfer the points to you then???
0
 
LVL 22

Accepted Solution

by:
nietod earned 40 total points
ID: 1168617
I have to answer.  I didn't answer before because it was a pure guess and I wanted to leave the question open incase it was a bad one..
0
 
LVL 8

Expert Comment

by:trestan
ID: 1168618
The point for an easy question is 50. What's your question's level?
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.

588 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question