0

I'm running Visual Studio 2005 Pro, and have been getting the following error recently:

Error 1 Error result -1 returned from 'C:\Program Files\Microsoft Visual Studio 8\VC\bin\cl.exe'. 

Reading some of the other posts around here, I've learned that cl.exe is native to VS 2008. I do have an install of 2008 Express (but C# only), and recently I uninstalled VS 2010 Express. Could there be some sort of leftover compatibility issue going on here for me?

edit Ok, let's go with it isn't a compatibility issue. Any thoughts on how to fix the error?

4
  • What OS? Might be worth running "Repair" from the VS2005 Help menu. Commented Jul 12, 2010 at 13:47
  • Is it a regular project or a makefile project? Commented Jul 12, 2010 at 15:06
  • If you create a new Win32 console project via wizard and compile it, do you get the same error? Commented Jul 12, 2010 at 15:07
  • sorry guys, turns out its a failure of this stupid test suite we run...it wraps itself around MS' tools and replaces the default cl.exe...nothing to do with VS itself Commented Jul 12, 2010 at 15:54

3 Answers 3

1

cl.exe is the Microsoft C++ compiler, and has been named the same as far back as at least Visual Studio 6. The fact that it's in the Visual Studio 8 folder tells you too that it's VS2005, because VS2008 is VS9, and VS2010 is VS10.

Sign up to request clarification or add additional context in comments.

Comments

0

Possibly although, VS 2008 installed into a "Visual Studio 9.0" directory and Visual Studio into "Visual Studio 10.0". So on balance I wouldn't have thought so.

Comments

0

It turns out that the error is not with Visual Studio, but with the test suite that I'm ultimately working with. It replaces cl.exe and link.exe with its own executables, and moves them to different filenames. Fixing some issues with my test suite made it work again.

I didn't realize this until I ran cl.exe from the VS command line...thanks for the suggestions though!

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.