LNK 2020 error ...  
Author Message
Neshra





PostPosted: Thu Feb 05 19:26:16 CST 2004 Top

Visual Studio C++ >> LNK 2020 error ... Hi,

I got the following link error in my release build:
-----------------------------------------
Linking...
LINK : error LNK2020: unresolved token (0A000020) _CrtDbgReport
LINK : fatal error LNK1120: 1 unresolved externals
-----------------------------------------

KB 323307 is not helpful to me, because I couldn't find "_CrtDbgReport" in my code using search. It must be from somewhere else, such as dlls, lib files, etc. But how can I track it down? How to fix it?

The debug build is ok.

Thanks,
Peter

Visual Studio63  
 
 
William





PostPosted: Thu Feb 05 19:26:16 CST 2004 Top

Visual Studio C++ >> LNK 2020 error ... "Peter" <EMail@HideDomain.com> wrote in message
news:EMail@HideDomain.com...
> -----------------------------------------
> Linking...
> LINK : error LNK2020: unresolved token (0A000020) _CrtDbgReport
> LINK : fatal error LNK1120: 1 unresolved externals
> -----------------------------------------

This is a guess: Is there any chance that there could be a module compiled
with debug information in your release build?

Regards,
Will


 
 
anonymous





PostPosted: Thu Feb 05 20:06:06 CST 2004 Top

Visual Studio C++ >> LNK 2020 error ... Will

I am almost sure that I didn't include anything compiled with debug mode. The only 3rd party lib is zlibstat.lib, which I built with 'release' mode

Thanks
Pete

----- William DePalo [MVP VC++] wrote: ----

"Peter" <EMail@HideDomain.com> wrote in messag
news:EMail@HideDomain.com..
> ----------------------------------------
> Linking..
> LINK : error LNK2020: unresolved token (0A000020) _CrtDbgRepor
> LINK : fatal error LNK1120: 1 unresolved external
> ----------------------------------------

This is a guess: Is there any chance that there could be a module compile
with debug information in your release build

Regards
Wil