Error 2 Error Result 31 Returned From
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 179k35249486 asked Jan 13 '10 at 4:34 Alex 32.3k34118157 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
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 a bug in VS2005 beta http://stackoverflow.com/questions/2054427/vc-express-how-do-i-fix-this-error 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 release version, for more information, see: https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=101838 hope https://social.msdn.microsoft.com/Forums/vstudio/en-US/8ab65340-2002-49b5-86a2-185269560030/prj0002-error-result-31?forum=vcgeneral 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. Regards Kim Friday, September 07, 2007 6:43 AM Reply | Quote 0 Sign in to vote C
»reddit.comVisualStudiocommentsWant to join? Log in or sign up in seconds.|Englishlimit my search to /r/VisualStudiouse the following search https://www.reddit.com/r/VisualStudio/comments/3mw0jc/visual_studio_2005_problem_error_prj0002_error/ parameters to narrow your results:subreddit:subredditfind submissions in "subreddit"author:usernamefind submissions https://forum.thegamecreators.com/thread/135436 by "username"site:example.comfind submissions from "example.com"url:textsearch for "text" in urlselftext:textsearch error 2 for "text" in self post contentsself:yes (or self:no)include (or exclude) self postsnsfw:yes (or nsfw:no)include (or exclude) results marked as error 2 error NSFWe.g. subreddit:aww site:imgur.com dogsee the search faq for details.advanced search: by author, subreddit...this post was submitted on 29 Sep 20151 point (100% upvoted)shortlink: remember mereset passwordloginSubmit a new linkSubmit a new text postVisualStudiosubscribeunsubscribe815 readers~2 users here nowAnything VS related. Other subreddits: c# .NET XNA C++ C VB Channel 9 - Videos! created by [deleted]a community for 4 yearsmessage the moderatorsMODERATORSwhite_rob_about moderation team »discu
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 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 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. Search Forum Dark GDK / Compilation Error... Author Message Swift User Offline Joined: 17th Aug 2008 Location: Posted: 17th Aug 2008 17:54 Link Hey iv'e just goten GDK and have been playing around with it and visual C++ for a while now. Anyway I decided to make a simple pong game and everything seems to work ok. The only problem is I keep getting this compilation error. There appears to be no reason for it appearing and if i attempt to compile again it will dissapear and run just fine. However it is getting annoying as it tends to occur quite frequently when I compile and I dont like to have any errors in my game. Anway I am quite new to everything and am not sure entirely what is going on. I would like to fix whatever is causing this error but it is quite confusing as sometimes it is there and sometimes it is not, even though I have not touched the code in anyway. I have tried unsuccesfully to isolate what code is causing the error. Which leads me to believe something else is causing the error" + Code Snippet#include "darkSDK.h" // the main entry point for the application is this function void DarkGDK ( void ) { /// Set the window size dbSetDisplayMode ( 800, 600, 0) ; int ballx=128; // ball x pos int bally=64; // ball y pos int ballxspeed=-4; // ball speed int ballyspeed=4; int ballwidth=32; // the width of the ball, also used for height, as it is square int paddlewidth=32; /// the width of each paddle int paddleheight=96; /// the height of each paddle int PaddleSpeed=5; // speed with which the paddle moves int aX1=8, aX2=700, aY1=8, aY2=500; // set the boundary for the ball, i.e the play area, // also used for ball coll