Solved

How to avoid LNK6004-error ?

Posted on 1998-10-25
5
541 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 100 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

Get MongoDB database support online, now!

At Percona’s web store you can order your MongoDB database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card. Handle your MongoDB database support now!

Question has a verified solution.

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

Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
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.
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…

627 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