Solved

How to avoid LNK6004-error ?

Posted on 1998-10-25
5
514 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
Comment Utility
Does the file referred to by the LNK6004 warning exist?
0
 
LVL 6

Expert Comment

by:thresher_shark
Comment Utility
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
Comment Utility
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
Comment Utility
oops - last line

>>The Build

should say

"Then Build (Rebuild) everything"
0
 
LVL 1

Author Comment

by:atari
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
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.
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

771 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now