472,127 Members | 1,794 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,127 software developers and data experts.

How to fix Incremental Link Error in VS2005?

yabansu
14
Hi all,

I implemented a basic client application. It communicates with server and works properly. Building processes succeed just by giving the following warning:

LINK : D:\DOC\Visual Studio 2005\Projects\Client01\Debug/Client01.exe not found or not built by the last incremental link; performing full link

This warning occurs when building/rebuilding the project after cleaning the intermediate and output files. If the project is once built then this warning is not given.

In the solution, I have only one project consisting of the following files(I also added wsock32.lib to Project configuration as the Linker Input in order to use the socket functions):

main.cpp
MyMessage.h
MyMessage.cpp
MyConnection.h
MyConnection.cpp

What is the reason behind this warning? It is really disturbing!

I hope someone helps me..
Thanks,
yabansu

The build log is the following:

Build Log
Build started: Project: Client01, Configuration: Debug|Win32

Command Lines
Creating temporary file "d:\DOC\Visual Studio 2005\Projects\Client01\Client01\Debug\RSP000001396 43532.rsp" with contents[
/Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_UNICODE" /D "UNICODE" /Gm /EHsc /RTC1 /MDd /Fo"Debug\\" /Fd"Debug\vc80.pdb" /W3 /c /Wp64 /ZI /TP
".\MyMessage.cpp"
".\main.cpp"
".\MyConnection.cpp"
]
Creating command line "cl.exe @"d:\DOC\Visual Studio 2005\Projects\Client01\Client01\Debug\RSP000001396 43532.rsp" /nologo /errorReport:prompt"
Creating temporary file "d:\DOC\Visual Studio 2005\Projects\Client01\Client01\Debug\TMP000002396 43532.tmp" with contents
[
1 /* CREATEPROCESS_MANIFEST_RESOURCE_ID */ 24 /* RT_MANIFEST */ ".\\Debug\\Client01.exe.embed.manifest"
]
Creating command line "rc.exe /fo".\Debug\Client01.exe.embed.manifest.res" "d:\DOC\Visual Studio 2005\Projects\Client01\Client01\Debug\TMP000002396 43532.tmp""
Creating temporary file "d:\DOC\Visual Studio 2005\Projects\Client01\Client01\Debug\RSP000003396 43532.rsp" with contents
[
/OUT:"D:\DOC\Visual Studio 2005\Projects\Client01\Debug\Client01.exe" /INCREMENTAL /MANIFEST /MANIFESTFILE:"Debug\Client01.exe.intermediate.mani fest"
/DEBUG /PDB:"d:\DOC\Visual Studio 2005\Projects\Client01\debug\Client01.pdb" /SUBSYSTEM:CONSOLE
/MACHINE:X86 wsock32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib"
.\Debug\MyConnection.obj""
.\Debug\main.obj""
.\Debug\MyMessage.obj"
".\Debug\Client01.exe.embed.manifest.res"
]
Creating command line "link.exe @"d:\DOC\Visual Studio 2005\Projects\Client01\Client01\Debug\RSP000003396 43532.rsp" /NOLOGO /ERRORREPORT:PROMPT"
Creating temporary file "d:\DOC\Visual Studio 2005\Projects\Client01\Client01\Debug\RSP000004396 43532.rsp" with contents
[
/out:".\Debug\Client01.exe.embed.manifest" /notify_update /manifest
".\Debug\Client01.exe.intermediate.manifest"
]
Creating command line "mt.exe @"d:\DOC\Visual Studio 2005\Projects\Client01\Client01\Debug\RSP000004396 43532.rsp" /nologo"
Creating temporary file "d:\DOC\Visual Studio 2005\Projects\Client01\Client01\Debug\BAT000005396 43532.bat" with contents
[
@echo Manifest resource last updated at %TIME% on %DATE% > ".\Debug\mt.dep"
]
Creating command line """d:\DOC\Visual Studio 2005\Projects\Client01\Client01\Debug\BAT000005396 43532.bat"""
Creating temporary file "d:\DOC\Visual Studio 2005\Projects\Client01\Client01\Debug\TMP000006396 43532.tmp" with contents
[
1 /* CREATEPROCESS_MANIFEST_RESOURCE_ID */ 24 /* RT_MANIFEST */ ".\\Debug\\Client01.exe.embed.manifest"
]
Creating command line "rc.exe /fo".\Debug\Client01.exe.embed.manifest.res" "d:\DOC\Visual Studio 2005\Projects\Client01\Client01\Debug\TMP000006396 43532.tmp""
Creating temporary file "d:\DOC\Visual Studio 2005\Projects\Client01\Client01\Debug\RSP000007396 43532.rsp" with contents
[
/OUT:"D:\DOC\Visual Studio 2005\Projects\Client01\Debug\Client01.exe" /INCREMENTAL /MANIFEST /MANIFESTFILE:"Debug\Client01.exe.intermediate.mani fest"
/DEBUG /PDB:"d:\DOC\Visual Studio 2005\Projects\Client01\debug\Client01.pdb" /SUBSYSTEM:CONSOLE
/MACHINE:X86 wsock32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib"
.\Debug\MyConnection.obj"
".\Debug\main.obj"
".\Debug\MyMessage.obj"
".\Debug\Client01.exe.embed.manifest.res"
]
Creating command line "link.exe @"d:\DOC\Visual Studio 2005\Projects\Client01\Client01\Debug\RSP000007396 43532.rsp" /NOLOGO /ERRORREPORT:PROMPT"

Output Window
Compiling...
MyConnection.cpp
main.cpp
MyMessage.cpp
Generating Code...
Compiling manifest to resources...
Linking...
LINK : D:\DOC\Visual Studio 2005\Projects\Client01\Debug\Client01.exe not found or not built by the last incremental link; performing full link
Embedding manifest...

Results
Build log was saved at "file://d:\DOC\Visual Studio 2005\Projects\Client01\Client01\Debug\BuildLog.htm "
Client01 - 0 error(s), 0 warning(s)
Dec 26 '06 #1
1 21635
Banfa
9,065 Expert Mod 8TB
OK basically you can ignore this error becaus in fact it is a warning.

In an incremental link the linker just replaces the code for the objects in the exe that have changed, it is quicker than a full link which is why it is done.

In a full link the executeable is create from the ground up.

This warning message is issued when you have deleted objects or other files that mean that the linker can not perform an incremental link. It can always do a full link. The warning message is just telling you that the information required for an incremental link is missing so the linker has opted to do a full link.
Dec 26 '06 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

6 posts views Thread by Rudy Ray Moore | last post: by
reply views Thread by Rudy Ray Moore | last post: by
3 posts views Thread by Alex Shturm | last post: by
reply views Thread by Steve McLellan | last post: by
7 posts views Thread by Michael Reinschmiedt | last post: by
5 posts views Thread by news.microsoft.com | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.