Click here to Skip to main content
12,691,702 members (30,892 online)
Rate this:
 
Please Sign up or sign in to vote.
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 13:31pm

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

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:14pm
   
thank you

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.170117.1 | Last Updated 15 Oct 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100