Solved

An error solving question.

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
Templates For Beginners Or How To Encourage The Compiler To Work For You Introduction This tutorial is targeted at the reader who is, perhaps, familiar with the basics of C++ but would prefer a little slower introduction to the more ad…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

930 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now