Solved

An error solving question.

Posted on 1998-07-25
5
189 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 10 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

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Suggested Solutions

Article by: SunnyDark
This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…

770 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