Here are my compiler settings:
/Od /I "." /I ".." /I "..\id3lib\include" /D "WIN32" /D "_WINDOWS" /D
"_DEBUG" /D "ID3LIB_LINKOPTION=1" /D "_UNICODE" /D "UNICODE" /Gm /EHsc /MTd
/GS /Gy /Zc:wchar_t /Yu"stdafx.h" /Fp".\debug/AppExample.pch" /Fo".\debug/"
/Fd".\debug/vc70.pdb" /W3 /nologo /c /Zi /TP
Here are my linker settings:
/OUT:".\debug/AppExample.exe" /INCREMENTAL /NOLOGO /NODEFAULTLIB
/DELAYLOAD:"gdiplus.dll" /DEBUG /PDB:".\debug/AppExample.pdb"
/SUBSYSTEM:WINDOWS /MACHINE:X86 version.lib winmm.lib ws2_32.lib gdiplus.lib
ADSIId.lib ..\zlib\debug\zlib.lib ..\crypto51\debug\cryptlib.lib
..\id3lib\libprj\id3libD.lib .\CxImage\debug\cximage.lib
..\ResizableLib\DebugUnicode\ResizableLib.lib DelayImp.lib DelayImp.lib
/NODEFAULTLIB is telling the linker to ignore default libraries. Try
removing this option, or explicitly specify the system libraries you
need.
It's possible that you added this to eliminate some other linker error
because of conflicting needs of linked libraries. Instead of
/NODEFAULTLIB, you can specify /NODEFAULTLIB:libname to exclude a
specific default library (such as a conflict between LIBMT and
LIBMTD).