Error Result 128 Returned From Cl Exe
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Error compiling Visual Studio C++ project - error with cl.exe up vote 0 down vote favorite 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? c++ visual-studio share|improve this question edited Jul 12 '10 at 14:02 asked Jul 12 '10 at 13:33 espais 2,25742344 What OS? Might be worth running "Repair" from the VS2005 Help menu. –Ben Voigt Jul 12 '10 at 13:47 Is it a regular project or a makefile project? –atzz Jul 12 '10 at 15:06 If you create a new Win32 console project via wizard and compile it, do you get the same error? –atzz Jul 12 '10 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 –espais Jul 12 '10 at 15:54 add a comment| 3 Answers 3 active oldest votes up vote 1 down vote 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. share|improve this answer answered Jul 12 '10 at 13:41 Billy ONeal 63k25206428 add a comment| up vote 0 down vote 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. share|improve this answer answered Jul 12 '10 at 13:42 ChrisBD 6,28811227 add a comment| up vote 0 down vote accepted It turns out that the error is not with
May 21, 2008 01:16 None I'm trying to set up a BuildAgent and I keep getting the error:"Project error PRJ0002: Error result 128 http://stackoverflow.com/questions/3229012/error-compiling-visual-studio-c-project-error-with-cl-exe returned from 'C:\Program Files\Microsoft Visual Studio 8\vc\bin\cl.exe'"From what I've been able to determine via Google, this happens because my path doesn't contain the appropriate directories. Where exactly should I https://teamcity-support.jetbrains.com/hc/en-us/community/posts/206975045-Path-Variable-in-BuildAgent-using-sln2005- put the various values from VCVARS32.BAT (assuming this is my problem).Thanks for any pointers - Jonathan Facebook Twitter LinkedIn Google+ Date Votes 1 comment 0 Eugene Petrenko May 22, 2008 10:52 There are several solutions to your ussue: - The first way is to register all of those variables in the system - update ]]>\conf\buildagent.properties. All properties that starts from 'env.' prefix will be set to environment variables of the build ('env.' prefix will be cut off)Thanks! Permalink Please sign in to leave a comment.
am trying to install Visual C++ 2005 Express Edition and I am having a problem that prevents the compiler from starting. I have tried multiple uninstalls/reinstalls and the problem http://www.databaseforum.info/30/1182137.aspx persists. I am completely out of ideas and would appreciate a suggestion. I am running Windows 2000 5.00.2195 service pack 4.What I did:Uninstalled old versions of VC++ and .NET (I had been able to use other versions of the VC++ compiler successfully)Installed Express Edition and the Platform SDK (these installs also install ,.NET 2.0)Installed SP1 for Express Edition from Windows UpdateInstalled all other error result updates for my machine from Windows UpdatePerformed the steps described in this page to complete the setup http://www.hide-link.com/ When I run the test in Step 5 of the SDK setup, I get the errors shown in the build log below.When I try to run the compiler from the command line by typing C:\MSDEV80\VC\bin\cl.exe, I get a dialog box saying that it cannot find the error result 128 entry __security_error_handler in mscvr80.dll.I examined my system and found 22 copies of this DLL. Using the "which" command in an MKS Korn shell indicated that the copy in WINNT/system 32 was being used (I get the same error if I try running the compiler form a Korn shell). Based on comments and suggestions in the MSDN forum, I renamed all the other copies so that they could not be found. This did not fix the error.I discovered that among the 22 copies of the DLL, there were three different versions, so I decided to try all three versions by placing each one in system32. I get an error for all three, although they complain about different things they can't find. Specifically,if I use Version 8.0.50727.42 or Version 8.0.50727.762, then I get a message that the entry __security_error_handler could not be found in msvcr80.dll. If I use version 8.0.40310.39, then I get the message that entry _initterm_e could not be found. I have no ideas about what to try next. Any suggestions Build Log Build started: Project: InstallTest, Configuration: Debug|Win32 Command Lines Creating temporary file "c:\Documents and Settings\rsimon\My Documents\Visual Studio 2005\Proje