943,648 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Unsolved
  • Views: 3036
  • C++ RSS
Oct 22nd, 2008
0

How to remove the error Spawning 'link.exe' and 'cl.exe'

Expand Post »
Hi all guys,

I am using MS VC++.NET 2003
I have also installed MS VS++2005 and 2008 on the same computer.

Now when I ran the previous programs which are programed in VC++2003, now I am facing the following errors.

Error spawning 'link.exe'
Error spawning 'cl.exe'.

can any one tell me what I have to do, whats going wrong.
Wait for the responce
Many Thanks

Asif
Reputation Points: 10
Solved Threads: 0
Light Poster
asifjavaid is offline Offline
40 posts
since Oct 2006
Oct 22nd, 2008
0

Re: How to remove the error Spawning 'link.exe' and 'cl.exe'

Are you doing command-line builds or building in the IDEs ? If command-line builds then you have to set up the environment for each compiler by running the vcvars32.bat file in the compiler's bin directory.
Sponsor
Team Colleague
Featured Poster
Reputation Points: 5608
Solved Threads: 2282
Retired and Enjoying Life
Ancient Dragon is online now Online
21,948 posts
since Aug 2005
Oct 22nd, 2008
0

Re: How to remove the error Spawning 'link.exe' and 'cl.exe'

These two files are the compiler and linker. You probably have to restart your visual studio, or even reboot your pc, and try it again.

You can try to create a simple hello world application and compile, to see if this problem persist. If it persists, then the problem probably lies with the installation of your visual studio. You may need to reinstall it then.
Reputation Points: 118
Solved Threads: 15
Posting Pro in Training
Denniz is offline Offline
428 posts
since Sep 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: Printing array of characters backwards
Next Thread in C++ Forum Timeline: bucket or radix sort not sure but need help





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC