Error Spawning Rc.exe 2008
Contents |
13, 20093 0 0 0 Well, when you write your first win32 console application in Visual Studio 2008, you probably just want to error prj0003 error spawning rc exe click F5 and test if it runs or not. rc.exe download windows 7 Unfortunately, probably you will get some trouble as I did. I collected three "confusing" errors
Rc.exe Not Found
here. Error spawning ‘rc.exe' Work-around: use Windows SDK Configuration Tool to change the headers/libs that Visual Studio 2008 refers to v6.0A. Error1fatal error LNK1181: cannot open input file ‘kernel32.lib' Work-around: use Windows SDK Configuration Tool to change the headers/libs that Visual Studio 2008 refers to v6.0A. Error result 1 returned from ‘c:\program files\Microsoft SDKs\windows\v6.0A\bin\rc.exe' Work-around: turn off "Incremental Linking" I am not sure if there are other scenarios which caused these errors. Just for my experience, because my computer was installed with Windows SDK partially.
Tags Visual Studio 2008 Comments (3) Cancel reply Name * Email * Website Owyn says: July 10, 2011 at 1:28 pm 3rd problem. >>Work-around: turn off "Incremental Linking" - doesn't help. Reply CharlesG says: September 6, 2012 at 3:01 pm Yes the last one doesn't work for me either. See http://www.codeproject.com/…/Visual-Cplusplus-build-debugging-error for some other suggestions on this one Reply CharlesG says: September 6, 2012 at 3:05 pm Also look in output window for more information It probably can't find your .rc file Reply Follow UsPopular TagsVisual Studio 2008 Windows Installer C# strategy pattern Visual Studio 2010 Refactoring switch statements Update multiple records Backward compatiblitity Full Screen set up Remote Debugging Windows Frame Margin Windows 7 64-bit machine MFC LaunchCondition Orca Registry Archives October 2009(1) July 2009(2) June 2009(4) August 2008(1) June 2008(2) May 2008(2) April 2008(2) FSQL Server 2014 Express resources Windows Server 2012 resources Programs MSDN subscriptions Overview Benefits Administrators Students Microsoft Imagine Microsoft Student Partners ISV Startups TechRewards Events Community Magazine Forums Blogs Channel 9 Documentation APIs and reference Dev centers Retired content Samples We’re sorry. The content you requested has been removed. You’ll be auto redirected in 1 second. Ask a question Quick access Forums home Browse forums users FAQ Search related threads Remove From My Forums Asked by: Error spawning 'rc.exe' Archived Forums https://blogs.msdn.microsoft.com/pusu/2009/07/13/confusing-errors-in-building-win32-application-in-vs-2008/ C-D > Developer Documentation and Help System Question 1 Sign in to vote Hello, I have downloaded the trial version of VS 2008 and I have written my first simplistic c++/CLI console app. When i build and try to run it i get this error message:Unable to start program "C:\Documents and settings\MyName\My Documents\Visual Studio https://social.msdn.microsoft.com/Forums/en-US/0c2ea8d2-954a-47c3-afc9-af669c04dcf4/error-spawning-rcexe?forum=devdocs 2008\Projects\Test1\Debug\Test1.exe"The system cannot find the path specifiedError spawning 'rc.exe'.Any ideas why this happens? I Checked the Debug folder and there is no Test1 executable. Whats wrong.Thanks for great forum!Tim Monday, March 31, 2008 8:58 PM All replies 0 Sign in to vote I have the exact issue.I have searched my entire computer, and rc.exe does not exist anywhere on my system, which is, I believe, what is needed in order for the system to create the .EXE file.Not sure if it matters, however, I am running a 90-Day trial of Visual Studio 2008.I also have re-installed VS 08 multiple times with AV turned off, still no luck.... Wednesday, October 29, 2008 11:35 AM 1 Sign in to vote This is probably because rc.exe is not in your path Search your drive for rc.exe and add that location to your path, then restart Visual Studio. I personally was able to find rc.exe in these paths; C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin C:\Program Files\Microsoft Visual Studio\VB98
hints (like missing links in the Registry http://netcult.ch/elmue/error_spawning_rc.exe.htm and other bullshit)? You could not find rc.exe in the CAB files on the VS2008 Install DVD ? Thanks to ElmüSoft here is the solution: (I give you support for Microsoft products for free) It seems that a bug in the VS2008 installer does not install rc.exe if error spawning another version of Visual Studio (or the framework?) has already been installed before. Analyzing what msdev.exe does with SysInternals ProcessMonitor I found that Visual Studio searches the entire world to find rc.exe: C:\Program Files\Microsoft Visual Studio 9\VC\bin\rc.exe C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin\rc.exe C:\Program Files\Microsoft Visual Studio 9\Common7\Tools\bin\rc.exe C:\Program Files\Microsoft Visual Studio error spawning rc 9\Common7\Tools\rc.exe C:\Program Files\Microsoft Visual Studio 9\Common7\IDE\rc.exe C:\Program Files\HTML Help Workshop\rc.exe C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin\rc.exe C:\Windows\Microsoft.NET\Framework\v2.0.50727\rc.exe C:\Program Files\Microsoft Visual Studio 9\rc.exe C:\Windows\SysWow64\rc.exe C:\Windows\System32\rc.exe C:\Windows\rc.exe C:\Windows\System32\wbem\rc.exe C:\Windows\System32\WindowsPowerShell\v1.0\rc.exe If it is not there in none of these folders then it spits out "Error spawning RC.exe". So my solution was simple: I copied rc.exe and rcdll.dll from my VS2005 installation into one of the above folders. After that the error disappeared and I saw another error: "Error spawning MT.exe" So I also copied mt.exe into the same folder and it compiled without error! It's so easy. If you don't have another Visual Studio installation where to take these files from, I offer my files here (they are from VS2005 but work also on VS2008): ErrorSpawningRcExe.zip If you don't trust me, upload the file to www.virustotal.com to see that there is no trojan in them. Elmü Back to ElmüSoft Start page