Thursday, October 28, 2010

mt.exe Access is Denied

This is just a quick note so that web searches for a similar problem find a solution. Seemingly out of the blue, I started getting random errors of the form below when compiling C++ applications in Windows:

                mt.exe : general error c101008d: Failed to write the updated manifest to the resource of file "c:/mvcompile/bin/win32_debug/wavenis.exe". Access is denied.

It didn’t happen with every link, but with every second or so attempt. The problem was tracked down to the Anti-virus program. The solution was to exclude the build output directory within the Anti-virus advanced settings.

http://apolon.torqsoftware.net/

0 comments: