Click here to Skip to main content
Rate this: bad
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 12:31pm

1 solution

Rate this: bad
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:[^]
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.
Member 8475480 at 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
0 OriginalGriff 530
1 Sergey Alexandrovich Kryukov 330
2 BillWoodruff 299
3 PIEBALDconsult 230
4 CPallini 220
0 Sergey Alexandrovich Kryukov 10,615
1 Maciej Los 5,354
2 OriginalGriff 5,254
3 CPallini 3,719
4 BillWoodruff 3,476

Advertise | Privacy | Mobile
Web02 | 2.8.141029.1 | Last Updated 15 Oct 2012
Copyright © CodeProject, 1999-2014
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