fatal error LNK1109: cannot remove file 'C:\Users\xxxx\AppData\Local\Temp\2\lnk2B30.tmp'

Bala Smart 51 Reputation points
2021-12-31T12:08:06.293+00:00

Hi
I have message resource compilation project. When i compile our project by using Makefile. It fails sometime with below error code(Working most of the time)

> LINK : fatal error LNK1109: cannot remove file 'C:\Users\xxxxx\AppData\Local\Temp\2\lnk2B30.tmp'

> NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\link.exe"' : return code '0x455'

> Stop.

Is there any reason for failing.This article says it's due to AV Scanner holding the file.
is it true?

Developer technologies | C++
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.