Error Result 31 Returned Mt 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 VC ++ express, how do I fix this error? up vote 5 down vote favorite I have experience programming in C#, but I'm taking a C++ class this semester, and I'm writing my second project, but I keep getting this error when I try to build a debug configuration of my program. My build log is below, any ideas on what's going on? I'm at a loss. Thanks everyone! 1>------ Rebuild All started: Project: Project_2, Configuration: Debug Win32 ------ 1>Deleting intermediate and output files for project 'Project_2', configuration 'Debug|Win32' 1>Compiling... 1>main.cpp 1>Linking... 1>LINK : C:\Users\Alex\Documents\Visual Studio 2008\Projects\Project_2\Debug\Project_2.exe not found or not built by the last incremental link; performing full link 1>Embedding manifest... 1>Project : error PRJ0002 : Error result 31 returned from 'C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\mt.exe'. 1>Build log was saved at "file://c:\Users\Alex\Documents\Visual Studio 2008\Projects\Project_2\Project_2\Debug\BuildLog.htm" 1>Project_2 - 1 error(s), 0 warning(s) ========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ========== c++ build-process build-error share|improve this question edited Jan 13 '10 at 10:25 jalf 180k35249486 asked Jan 13 '10 at 4:34 Alex 32.4k34118157 You need to show us the content of the build log: file://c:\Users\Alex\Documents\Visual Studio 2008\Projects\Project_2\Project_2\Debug\BuildLog.htm –Arve Jan 13 '10 at 4:43 Hmm, it seems the error has disappeared, I cleaned my project so I don't have the build log, but for future ref I will check the build log. –Alex Jan 13 '10 at 4:45 add a comment| 5 Answers 5 active oldest votes up vote 2 down vote accepted You should look at the buildlog.htm file that is given in the build output. It will give you more (useful) information about what has happened. share|improve this answer answered Jan 13 '10 at 4:41 brainiac 37416 The error has disappeared, but for future reference I will definitely check the build log, coming from C#, I didn't think about this. Thank you. –Alex Jan 13 '10 at 4:46 add a comment| up vote 5 down vote
Development > Visual C++ Question 1 Sign in to vote Hi, I'm getting the following error message when I build my release version of the application "Project : error PRJ0002 : Error result 31 returned from 'c:\Program Files\Microsoft Visual Studio 8\VC\bin\mt.exe" It never happenes when I build for debug version. Once on a blue moon, the build may be successul. I have uninstall and reinstall the VS 2005 and it does not help. My system is XP with service pack 2. Thank you, Stanley Friday, August 31, 2007 5:34 PM Reply | Quote Answers 0 Sign in to vote Hi Stanley, Which version of VS2005 are you using? It sounds like http://stackoverflow.com/questions/2054427/vc-express-how-do-i-fix-this-error a bug in VS2005 beta 2 version, if you are using this version, try upgrade to final release version, for more information, see: https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=101838 hope it helps rico Thursday, September 06, 2007 12:58 PM Reply | Quote Moderator All replies 0 Sign in to vote Hi Stanley, Which version of VS2005 are you using? It sounds like a bug in VS2005 beta 2 version, if you are using this version, try upgrade to final https://social.msdn.microsoft.com/Forums/vstudio/en-US/8ab65340-2002-49b5-86a2-185269560030/prj0002-error-result-31?forum=vcgeneral release version, for more information, see: https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=101838 hope it helps rico Thursday, September 06, 2007 12:58 PM Reply | Quote Moderator 0 Sign in to vote I have VS2005 professional edition version 8.0.50727.42 (RTM.050727-4200). I read the above link, kill the "mspdbsrv.exe" process and rebuilt the release version - still getting the same problem. Ingestivation notes, 1. I have another XP machine and installed the same VS version (plus all other applications found on the trouble machine). Check-out the same project from version control and it builds fine. tested many-many times, no problem. 2. I have replace the "mt.exe" file from the windows SDK installation - same problem. (window SDK is installed on other machine, I just copy the "mt.exe" to the trouble machine) 3. Import the VS's registery key from the GOOD machine - still same problem. Once in a "Blue Moon", if i'm luck I can get the build successful. - I really do not want to re-install my OS, there is no garantee the problem will go away. Stanley, Thursday, September 06, 2007 1:56 PM Reply | Quote 0 Sign in to vote Hi I'm getting the same error on vs 2005 sp1, and I had never installed any beta version. I got the error after I fixed another bug: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=725874&SiteID=1 And as Stanley wrote, sometimes there's no porblem. R
Sign in Pricing Blog Support Search GitHub This repository Watch 43 Star 269 https://github.com/dynamorio/dynamorio/issues/724 Fork 85 DynamoRIO/dynamorio Code Issues 783 Pull requests 3 Projects 0 Wiki Pulse Graphs New issue build error: "Error result 31 returned from mt.exe" #724 Open derekbruening opened this Issue Nov 28, 2014 · 0 comments Projects None yet Labels Component-Build Migrated OpSys-Windows Priority-Medium Milestone No error result milestone Assignees No one assigned 1 participant derekbruening commented Nov 28, 2014 From bruen...@google.com on April 09, 2012 12:19:32 happened in: http://dynamorio.org/CDash/buildSummary.php?buildid=9285#Stage2 Project: DynamoRIO Site: Windows.7_x64.BuildBot Build Name: debug-unit-tests-32 Build Time: 2012-04-09T01:34:25 MDT Type: Nightly Errors:1 Warnings:22 This is a weird error from mt.exe: 62>Embedding manifest... 62>Project : error result 31 error PRJ0002 : Error result 31 returned from 'C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\mt.exe'. 62>Build log was saved at "file://e:\b\build\slave\win_7_x64_dr_nightly_checkout\build\build_debug-unit-tests-32\suite\tests\security-win32.hooker_FLAKY.dir\Debug\BuildLog.htm" 62>security-win32.hooker_FLAKY - 1 error(s), 0 warning(s) My plan is to ignore it and see whether it happens again ;) But I'm recording it here so we recognize it later May want to upgrade to v7.0 SDK Original issue: http://code.google.com/p/dynamorio/issues/detail?id=724 derekbruening added Migrated Priority-Medium Type-Bug Component-Build OpSys-Windows labels Nov 28, 2014 derekbruening removed the Type-Bug label Apr 2, 2015 Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment Contact GitHub API Training Shop Blog About © 2016 GitHub, Inc. Terms Privacy Security Status Help You can't perform that action at this time. You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.