Click here to Skip to main content
15,893,588 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I'm having this error message all the time

LINK : fatal error LNK1104: cannot open file "Debug/main.exe"
what dose it mean? and how can I solve it?
Posted

1 solution

You can always google an error message. Google "LNK1104" and the first page you get is:

http://msdn.microsoft.com/en-us/library/ts7eyw4s(v=vs.71).aspx[^]

It basically means what it says.

More specifically it means it can't open the file with write permission.

The typical reason for that is the file is still open somewhere else.

Most likely your program is still running from the last time you ran it. Might be hung trying to dump debug information from the latest crash -- in which case you probably have to kill the process with task manager before you rebuild it.
 
Share this answer
 
Comments
Member 8475480 16-Oct-12 17:14pm    
thank you

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900