Click here to Skip to main content
Sign Up to vote bad
good
See more: C++
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 15 Oct '12 - 12:31


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.
  Permalink  
Comments
Member 8475480 - 16 Oct '12 - 17:14
thank you

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

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 Sergey Alexandrovich Kryukov 470
1 OriginalGriff 273
2 Dave Kreskowiak 165
3 Mayur_Panchal 154
4 Mohammed Hameed 145
0 Sergey Alexandrovich Kryukov 8,123
1 OriginalGriff 6,173
2 CPallini 3,482
3 Rohan Leuva 2,703
4 Maciej Los 2,234


Advertise | Privacy | Mobile
Web01 | 2.6.130516.1 | Last Updated 15 Oct 2012
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid