Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How to avoid LNK6004-error ?

Posted on 1998-10-25
5
Medium Priority
?
559 Views
Last Modified: 2013-11-20
Hi,
I'm working with VC++5.0 and since today a problem appeared when I compile my project, there always while linking the debug .exe and .dll-file the above error is shown in the message window of VC.

How can I avoid this ?
Bye,
atari
0
Comment
Question by:atari
  • 2
  • 2
5 Comments
 
LVL 6

Expert Comment

by:thresher_shark
ID: 1323830
Does the file referred to by the LNK6004 warning exist?
0
 
LVL 6

Expert Comment

by:thresher_shark
ID: 1323831
The given file was either deleted or changed since the last incremental linking session. LINK attempted to correct the problem by running a full link to recreate the incremental status (.ILK) file.

The file must either be getting modified by some external program or it does not exist (and is getting deleted by some outside program).

If you have any further questions, please feel free to ask.  Thanks!
0
 
LVL 8

Accepted Solution

by:
Answers2000 earned 400 total points
ID: 1323832
I started getting this warning on debug builds of a program that I was building last night...and am still building today.

The trigger appears to be the prompt for time change (you changed your clock right) - Windows 95 prompted me last night

This warning does no harm so it's okay to ignore

To fix: go into the DEBUG output directory (by default a sub-directory off where your source code is), and delete everything.  The build.  This fixed it on my system.
0
 
LVL 8

Expert Comment

by:Answers2000
ID: 1323833
oops - last line

>>The Build

should say

"Then Build (Rebuild) everything"
0
 
LVL 1

Author Comment

by:atari
ID: 1323834
Hi,
I think the problem was caused because yesterday finished summer time in europe, and I am programmer in germany. I followed your tip, deleted all files in the debug directory and now it is working without any LNK-error. What was also a problem is after pressing the F1-key for online-help Windows began a new run for owning the keywords of the online-help. That might also caused by the time change, I think.

Thanks to all,
bye,
atari
0

Featured Post

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Suggested Courses

824 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question