Brian Dumas
asked on
Repository of C++ code that was compiling and running, now has compile error and run time errors
Hello All, I need help. Badly!
We have a Mercurial repo that keeps out source code for the last year. Yesterday, and error popped up when compiling one of the solutions (see compile_error.jpg). I then ran other projects from that same solution that did compile, and I get the runtime error seen in the file runtime_error.jpg. I then went back to a repo from September 2016, and I get the exact same compile time and runtime errors.
I have tried this on 4 systems. All four systems are Windows Pro 64 bit. I'm using VS2013 C++.
I don't suspect the code itself nor the repository. I'm thinking a Windows 7 update, or a VS update, or ???
Please help. I need ideas.
Thanks, Brian
compile_error.jpg
runtime_error.jpg
We have a Mercurial repo that keeps out source code for the last year. Yesterday, and error popped up when compiling one of the solutions (see compile_error.jpg). I then ran other projects from that same solution that did compile, and I get the runtime error seen in the file runtime_error.jpg. I then went back to a repo from September 2016, and I get the exact same compile time and runtime errors.
I have tried this on 4 systems. All four systems are Windows Pro 64 bit. I'm using VS2013 C++.
I don't suspect the code itself nor the repository. I'm thinking a Windows 7 update, or a VS update, or ???
Please help. I need ideas.
Thanks, Brian
compile_error.jpg
runtime_error.jpg
ASKER
Hello ZOPPO,
I've tried that, and even though is gets rid of the compile error, It then ends up having the same run time error.
I've tried that, and even though is gets rid of the compile error, It then ends up having the same run time error.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Run visual studio with admin previlege
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks all, I will give these suggestion a try right now.
MSDN tells about the error MSBuild Error MSB8011: "Failed to register output. Please try enabling Per-user Redirection or register the component from a command prompt with elevated permissions."
You should check your project's linker->Generel options, I guess the option Register Output is set to Yes - if so you should set the next option Per-user redirection to Yes too.
If this doesn't help you should check the possible solution shown at https://stackoverflow.com/questions/10477117/solving-error-msb8011-failed-to-register-output
Hope this helps,
ZOPPO