Error Spawning 'mt.exe
trying to compile C++ projects User Name Remember Me? Password Register Blogs Community FAQ Projects General Questions & Help General & Advanced Orbiter flight questions, Orbiter installation questions, to all other help topics here. Site Information Rules & Guidelines Terms of Service Privacy Policy Forum How-To F.A.Q. Orbiter F.A.Q. Bulletin Board F.A.Q. Project Tools F.A.Q. Blog F.A.Q. Search Search F.A.Q. Bugs, Features, Feedback View All Projects ORBITER 2010-P1 Site Support Community Links About Us Social Groups Photo Gallery Contacts Orbinauts List Forum Arcade Orbiter Links ORBITER Bug Reports Orbiter F.A.Q. Orbiter Download Orbiter Tutorials Recommended Addons Orbiter Website OrbiterWiki Go to Page... Thread Tools 06-21-2010, 09:06 PM #1 Columbia42 Orbinaut "Error spawning mt.exe/rc.exe" when trying to compile C++ projects I've been trying to compile some C++ projects (mine and Orbitersdk samples) but I keep getting one of two error messages; "error spawning mt.exe" or "error spawning rc.exe." Does anyone know how to fix this? Columbia42 View Public Profile Find More Posts by Columbia42 06-21-2010, 09:49 PM #2 orb O-F Administrator You may not have properly set paths to "Microsoft Windows SDK" directories. The "mt.exe" and "rc.exe" comes from "bin" directory in there. Those paths should be set automatically when you installed the Windows SDK. You can try to run "SetEnv.cmd" batch file, that is also located in the "bin" folder of Microsoft Windows SDK, which should set all the needed paths. Thanked by: Columbia42 orb View Public Profile Find More Posts by orb View Blog 06-22-2010, 12:39 AM #3 Columbia42 Orbinaut I ran SetEnv.cmd and it didn't fix the problem. It might be worth mentioning that I just reinstalled Microsoft Windows SDK and since then this problem has occured. Before that everything worked fine. Columbia42 View Public Profile Find More Posts by Columbia42 06-22-2010, 01:01 PM #4 orb O-F Administrator This may mean that SetEnv.cmd didn't set the "WindowsSdkDir" environment variable for all processes and users, and this variable could be set to path, where Microsoft Windows SDK was previously installed. You can try to run it in command console as Administrator, or add/change WindowsSdkDir environment variable
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 1>Project : error PRJ0003 : Error spawning 'rc.exe' up vote 6 down vote favorite 2 1>Project : error PRJ0003 : Error spawning 'rc.exe'.. http://www.orbiter-forum.com/showthread.php?t=16524 this is the error i get when i try to run this small practice program of reading and writing files which i cant do because of the reason of me not being able to get the files to open correctly. i use microsoft visual c++ 2008 and i have used the file path to try to open the file as well and i cant can someone help? #include
Explorer 10+ or Microsoft Edge. Forum Home Login developer forums TheGameCreators Latest News V1.132 and Expansion Pack Released Hi Fellow Game Makers,Today we are very pleased to announce https://forum.thegamecreators.com/thread/160041 the launch of V1.132 update and most significantly, the new Expansion Pack DLC which contains over 2.8 GB of game making assets for you to enjoy. This DLC is completely free to GameGuru users http://netcult.ch/elmue/error_spawning_rc.exe.htm and you can download it any time you like, bringing your tally of stock media to over 6000 megabytes of content. Posted on Friday, 30th September 2016 5:37 PM Thanks, I've read this. error spawning Search Forum Dark GDK / Error spawning 'mt.exe'. Author Message Novaguy User Offline Joined: 1st Apr 2009 Location: Posted: 29th Oct 2009 03:30 Edited at: 29th Oct 2009 06:25 Link I've been trying to get GDK to work properly for a while now. When I first installed it, the demos worked great. I then got cocky and started screwing around with stuff, and none of it error spawning 'mt.exe has worked since. I've reinstalled GDK multiple times, along with c++ and the august 2007 SDK as well. Nothing seems to work. Whenever I compile the demo, this is the error I get: 1>Project : error PRJ0003 : Error spawning 'mt.exe'. I tried another c++ program I made a while back, and it works perfectly still (thank god...). So what do I need to do? Windows Vista 64bit Visual C++ Express 2008 Whatever other specs you need just ask. edit: Fixed with reinstalling Microsoft's SDK Back to top Profile PM prasoc User Offline Joined: 8th Oct 2008 Location: Posted: 29th Oct 2009 11:51 Link Turn off the manifest. Project properties -> Linker -> Manifest File -> Generate manifest NO Your signature has been erased by a mod Back to top Profile PM Website Novaguy User Offline Joined: 1st Apr 2009 Location: Posted: 29th Oct 2009 19:40 Link What's the manifest do? I can program stuff in c++, but I don't know all of the project properties and doo-hickies yet. Back to top Profile PM Back to top Login to post a reply Server time is: 2016-10-14 18:53:42Your offset time is: 2016-10-14 18:53:42 © Copyright 2016 Acceptable Usage Policy
hints (like missing links in the Registry 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 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 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