LNK1104 intermittantly when building

951阅读 0评论2011-07-04 meteorm
分类:C/C++

Occasionally when rebuilding a C++ project with map file requested I get the following error:

LinkEmbedManifest:
3>     Creating library C:\projects\MYSolution\Windows\Debug\MYProject.lib and object C:\projects\MYSolution\Windows\Debug\MYProject.exp
3>LINK : fatal error LNK1104: cannot open file 'C:\projects\MYSolution\Windows\Debug\MYProject.map'
3>
3>Build FAILED.

Deleting the map file and rebuilding fixes the problem.

Comments:


Posted by Microsoft on 3/26/2010 at 1:31 PM
Thank you for reporting this issue. This is now fixed and should be shipped in a future release. Meanwhile, disabling incremental linking should prevent the error in most cases.

Igor Savelzon
Dev - Visual C++

上一篇:修改linux hostname
下一篇: DOS批处理中%cd%和%~dp0的异同