warning LNK4098

  • Thread starter Thread starter Bill Burris
  • Start date Start date
B

Bill Burris

How do I find what is causing this warning from the Linker? If I use
/NODEFAULTLIB I get hundreds of undefined symbols.

LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other
libs; use /NODEFAULTLIB:library

Here is the compiler options:

/Od /I "C:\DriverX4\Include" /I "..\ThreadLib" /AI "..\Utility\bin\Debug"
/AI "..\Logging\bin\Debug" /AI "Debug" /D "WIN32" /D "_DEBUG" /D "_WINDLL"
/D "_MBCS" /FD /EHsc /MDd /GS /Fo"Debug/" /Fd"Debug/vc70.pdb" /W3 /nologo /c
/Zi /clr /TP

Here is the linker options:

/OUT:"Debug/DAQCPP.dll" /INCREMENTAL /NOLOGO /LIBPATH:"C:\MCC\CWIN"
/LIBPATH:"C:\DriverX4\lib" /DLL /INCLUDE:"__DllMainCRTStartup@12" /DEBUG
/PDB:"Debug/DAQCPP.pdb" /NOENTRY /FIXED:No mdxdrtl.lib winmm.lib cbw32.lib
msvcrtd.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

Here is the linker output with /VERBOSE:LIB

Linking...
Searching libraries
Searching C:\DriverX4\lib\mdxdrtl.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\winmm.lib:
Searching C:\MCC\CWIN\cbw32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\lib\msvcrtd.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\lib\kernel32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\user32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\gdi32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\winspool.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\comdlg32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\advapi32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\shell32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\ole32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\oleaut32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\uuid.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\odbc32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\odbccp32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\lib\msvcprtd.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\lib\OLDNAMES.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\SDK\v1.1\lib\MSCOREE.LIB:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\lib\MSVCRT.lib:
Searching C:\DriverX4\lib\mdxdrtl.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\winmm.lib:
Searching C:\MCC\CWIN\cbw32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\lib\msvcrtd.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\lib\kernel32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\user32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\gdi32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\winspool.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\comdlg32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\advapi32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\shell32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\ole32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\oleaut32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\uuid.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\odbc32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\odbccp32.lib:
Finished searching libraries
Searching libraries
Searching C:\DriverX4\lib\mdxdrtl.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\winmm.lib:
Searching C:\MCC\CWIN\cbw32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\lib\msvcrtd.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\lib\kernel32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\user32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\gdi32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\winspool.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\comdlg32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\advapi32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\shell32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\ole32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\oleaut32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\uuid.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\odbc32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\odbccp32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\lib\msvcprtd.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\lib\OLDNAMES.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\SDK\v1.1\lib\MSCOREE.LIB:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\lib\MSVCRT.lib:
Searching C:\DriverX4\lib\mdxdrtl.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\winmm.lib:
Searching C:\MCC\CWIN\cbw32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\lib\msvcrtd.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\lib\kernel32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\user32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\gdi32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\winspool.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\comdlg32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\advapi32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\shell32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\ole32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\oleaut32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\uuid.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\odbc32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\odbccp32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\lib\msvcprtd.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\lib\OLDNAMES.lib:
Finished searching libraries
LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other
libs; use /NODEFAULTLIB:library
Searching libraries
Searching C:\DriverX4\lib\mdxdrtl.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\winmm.lib:
Searching C:\MCC\CWIN\cbw32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\lib\msvcrtd.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\lib\kernel32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\user32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\gdi32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\winspool.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\comdlg32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\advapi32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\shell32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\ole32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\oleaut32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\uuid.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\odbc32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\odbccp32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\lib\msvcprtd.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\lib\OLDNAMES.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\SDK\v1.1\lib\MSCOREE.LIB:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\lib\MSVCRT.lib:
Searching C:\DriverX4\lib\mdxdrtl.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\winmm.lib:
Finished searching libraries
Build log was saved at "file://c:\bill\alta33\Daqcpp\Debug\BuildLog.htm"
DAQCPP - 0 error(s), 1 warning(s)

thanks

Bill
 
Bill Burris said:
How do I find what is causing this warning from the Linker? If I use
/NODEFAULTLIB I get hundreds of undefined symbols.

LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other
libs; use /NODEFAULTLIB:library

Here is the compiler options:

/Od /I "C:\DriverX4\Include" /I "..\ThreadLib" /AI "..\Utility\bin\Debug"
/AI "..\Logging\bin\Debug" /AI "Debug" /D "WIN32" /D "_DEBUG" /D "_WINDLL"
/D "_MBCS" /FD /EHsc /MDd /GS /Fo"Debug/" /Fd"Debug/vc70.pdb" /W3 /nologo /c
/Zi /clr /TP

Here is the linker options:

/OUT:"Debug/DAQCPP.dll" /INCREMENTAL /NOLOGO /LIBPATH:"C:\MCC\CWIN"
/LIBPATH:"C:\DriverX4\lib" /DLL /INCLUDE:"__DllMainCRTStartup@12" /DEBUG
/PDB:"Debug/DAQCPP.pdb" /NOENTRY /FIXED:No mdxdrtl.lib winmm.lib cbw32.lib
msvcrtd.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

Here is the linker output with /VERBOSE:LIB


As you can see below, you are linking with both, the release as well
as the debug version of crt library. I am not sure which one you
really intended to use, but just remove msvcrtd.lib from the linker
input and you should be ok I think.
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\lib\msvcrtd.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\lib\MSVCRT.lib:

hth
-Vinayak
 
I had msvcrtd.lib as an additional dependency because I was following the
procedure in the "Converting Managed Extensions for C++ Projects from Pure
Intermediate Language to Mixed Mode" document which I found by searching for
Warning LNK4243.

Now I have remove msvcrtd.lib from the additional dependencies list. I
still receive Warning LNK4098 on the debug build but not on the release
build. Maybe one of the commercial libraries I am using is causing the
problem. cbw32.lib is the Universal Library from Measurement Computing
which is used for talking to a Digital I/O card. There is only one version
of this library. mdxdrtld.lib is the DriverX library form Tetradyne which I
use for talking to how custom made ISA I/O card. DriverX comes with source
for the lib, so I have compiled the release & debug versions with VS 2003.
I also have winmm.lib in the Additional Dependencies list. Is there a debug
version of winmm?

Looks like I need to write test programs which use thes libraries one at a
time to see what happens.

Since this is a warning and only happens on the debug build, can I saftly
ignore it?

thanks

Bill


Build Log ------- Build started: Project: DAQCPP, Configuration:
Debug|Win32 -------

Command Lines Creating temporary file
"c:\bill\alta33\Daqcpp\Debug\RSP000007.rsp" with contents
[
/Od /I "C:\DriverX4\Include" /I "..\ThreadLib" /AI "..\Utility\bin\Debug"
/AI "..\Logging\bin\Debug" /AI "Debug" /D "WIN32" /D "_DEBUG" /D "_WINDLL"
/D "_MBCS" /FD /EHsc /MDd /GS /Fo"Debug/" /Fd"Debug/vc70.pdb" /W3 /c /Zi
/clr /TP
..\Win32Port.cpp
..\TimeTag.cpp
..\Temperature.cpp
..\Sync.cpp
..\Stdafx.cpp
..\Rs232.cpp
..\PersistAlta.cpp
..\PciDevice.cpp
..\MTemperatureModule.cpp
..\MTemperature.cpp
..\MHistogramGroup.cpp
..\MHistogram.cpp
..\MHighVoltageModule.cpp
..\MHighVoltage.cpp
..\MGetCrate.cpp
..\MFpgaModule.cpp
..\MFPGA.cpp
..\MessageDispatcher.cpp
..\MDAQ.cpp
..\MCrateModule.cpp
..\MCrate.cpp
..\MCoincidenceModule.cpp
..\MCoincidence.cpp
..\MCalibrationModule.cpp
..\MCalibration.cpp
..\MAnalogModule.cpp
..\MAnalog.cpp
..\ManagedWrapper.cpp
..\IsaDevice.cpp
..\HistogramGroup.cpp
..\Histogram.cpp
..\HighVoltage.cpp
..\GpsUt.cpp
..\GPSPort.cpp
..\GpsMt.cpp
..\GPSDecode.cpp
..\GPS.cpp
..\FPGA.cpp
..\DxDevice.cpp
\bill\alta33\ThreadLib\Delay.cpp
..\Debug.cpp
..\Dcb32.cpp
..\DAQControl.cpp
..\CrateModule.cpp
..\Crate.cpp
..\Coincidence.cpp
..\Calibration.cpp
..\AssemblyInfo.cpp
..\Analog.cpp
..\AltaDecoder.cpp
]
Creating command line "cl.exe @c:\bill\alta33\Daqcpp\Debug\RSP000007.rsp
/nologo"
Creating temporary file "c:\bill\alta33\Daqcpp\Debug\RSP000008.rsp" with
contents
[
/OUT:"Debug/DAQCPP.dll" /INCREMENTAL /NOLOGO /LIBPATH:"C:\MCC\CWIN"
/LIBPATH:"C:\DriverX4\lib" /DLL /INCLUDE:"__DllMainCRTStartup@12" /DEBUG
/PDB:"Debug/DAQCPP.pdb" /NOENTRY /FIXED:No /VERBOSE:LIB mdxdrtld.lib
winmm.lib cbw32.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\AltaDecoder.obj
..\Debug\Analog.obj
..\Debug\AssemblyInfo.obj
..\Debug\Calibration.obj
..\Debug\Coincidence.obj
..\Debug\Crate.obj
..\Debug\CrateModule.obj
..\Debug\DAQControl.obj
..\Debug\Dcb32.obj
..\Debug\Debug.obj
..\Debug\Delay.obj
..\Debug\DxDevice.obj
..\Debug\FPGA.obj
..\Debug\GPS.obj
..\Debug\GPSDecode.obj
..\Debug\GpsMt.obj
..\Debug\GPSPort.obj
..\Debug\GpsUt.obj
..\Debug\HighVoltage.obj
..\Debug\Histogram.obj
..\Debug\HistogramGroup.obj
..\Debug\IsaDevice.obj
..\Debug\ManagedWrapper.obj
..\Debug\MAnalog.obj
..\Debug\MAnalogModule.obj
..\Debug\MCalibration.obj
..\Debug\MCalibrationModule.obj
..\Debug\MCoincidence.obj
..\Debug\MCoincidenceModule.obj
..\Debug\MCrate.obj
..\Debug\MCrateModule.obj
..\Debug\MDAQ.obj
..\Debug\MessageDispatcher.obj
..\Debug\MFPGA.obj
..\Debug\MFpgaModule.obj
..\Debug\MGetCrate.obj
..\Debug\MHighVoltage.obj
..\Debug\MHighVoltageModule.obj
..\Debug\MHistogram.obj
..\Debug\MHistogramGroup.obj
..\Debug\MTemperature.obj
..\Debug\MTemperatureModule.obj
..\Debug\PciDevice.obj
..\Debug\PersistAlta.obj
..\Debug\Rs232.obj
..\Debug\Stdafx.obj
..\Debug\Sync.obj
..\Debug\Temperature.obj
..\Debug\TimeTag.obj
..\Debug\Win32Port.obj
]
Creating command line "link.exe @c:\bill\alta33\Daqcpp\Debug\RSP000008.rsp"
Output Window Compiling...
Win32Port.cpp
c:\bill\alta33\DAQCPP\MTDeque.h(116) : warning C4018: '<' : signed/unsigned
mismatch
c:\bill\alta33\DAQCPP\MTDeque.h(189) : warning C4018: '>' : signed/unsigned
mismatch
TimeTag.cpp
Temperature.cpp
Sync.cpp
Stdafx.cpp
Rs232.cpp
PersistAlta.cpp
PciDevice.cpp
MTemperatureModule.cpp
MTemperature.cpp
MHistogramGroup.cpp
MHistogram.cpp
MHighVoltageModule.cpp
MHighVoltage.cpp
MGetCrate.cpp
MFpgaModule.cpp
MFPGA.cpp
MessageDispatcher.cpp
MDAQ.cpp
MCrateModule.cpp
Generating Code...
Compiling...
MCrate.cpp
MCoincidenceModule.cpp
MCoincidence.cpp
MCalibrationModule.cpp
MCalibration.cpp
MAnalogModule.cpp
MAnalog.cpp
ManagedWrapper.cpp
IsaDevice.cpp
HistogramGroup.cpp
Histogram.cpp
HighVoltage.cpp
GpsUt.cpp
c:\bill\alta33\DAQCPP\MTDeque.h(116) : warning C4018: '<' : signed/unsigned
mismatch
c:\bill\alta33\DAQCPP\MTDeque.h(189) : warning C4018: '>' : signed/unsigned
mismatch
GPSPort.cpp
c:\bill\alta33\DAQCPP\MTDeque.h(116) : warning C4018: '<' : signed/unsigned
mismatch
c:\bill\alta33\DAQCPP\MTDeque.h(189) : warning C4018: '>' : signed/unsigned
mismatch
GpsMt.cpp
c:\bill\alta33\DAQCPP\MTDeque.h(116) : warning C4018: '<' : signed/unsigned
mismatch
c:\bill\alta33\DAQCPP\MTDeque.h(189) : warning C4018: '>' : signed/unsigned
mismatch
GPSDecode.cpp
GPS.cpp
c:\bill\alta33\DAQCPP\MTDeque.h(116) : warning C4018: '<' : signed/unsigned
mismatch
c:\bill\alta33\DAQCPP\MTDeque.h(189) : warning C4018: '>' : signed/unsigned
mismatch
FPGA.cpp
DxDevice.cpp
Delay.cpp
Generating Code...
Compiling...
Debug.cpp
Dcb32.cpp
DAQControl.cpp
c:\bill\alta33\DAQCPP\MTDeque.h(116) : warning C4018: '<' : signed/unsigned
mismatch
c:\bill\alta33\DAQCPP\MTDeque.h(189) : warning C4018: '>' : signed/unsigned
mismatch
CrateModule.cpp
Crate.cpp
Coincidence.cpp
Calibration.cpp
AssemblyInfo.cpp
Analog.cpp
AltaDecoder.cpp
Generating Code...
Linking...
Searching libraries
Searching C:\DriverX4\lib\mdxdrtld.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\winmm.lib:
Searching C:\MCC\CWIN\cbw32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\lib\kernel32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\user32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\gdi32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\winspool.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\comdlg32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\advapi32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\shell32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\ole32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\oleaut32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\uuid.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\odbc32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\odbccp32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\lib\msvcprtd.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\lib\MSVCRTD.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\lib\OLDNAMES.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\SDK\v1.1\lib\MSCOREE.LIB:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\lib\LIBCMTD.lib:
Searching C:\DriverX4\lib\mdxdrtld.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\winmm.lib:
Searching C:\MCC\CWIN\cbw32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\lib\kernel32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\user32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\gdi32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\winspool.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\comdlg32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\advapi32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\shell32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\ole32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\oleaut32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\uuid.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\odbc32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\odbccp32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\lib\msvcprtd.lib:
Finished searching libraries
Searching libraries
Searching C:\DriverX4\lib\mdxdrtld.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\winmm.lib:
Searching C:\MCC\CWIN\cbw32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\lib\kernel32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\user32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\gdi32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\winspool.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\comdlg32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\advapi32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\shell32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\ole32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\oleaut32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\uuid.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\odbc32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\odbccp32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\lib\msvcprtd.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\lib\MSVCRTD.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\lib\OLDNAMES.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\SDK\v1.1\lib\MSCOREE.LIB:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\lib\LIBCMTD.lib:
Searching C:\DriverX4\lib\mdxdrtld.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\winmm.lib:
Searching C:\MCC\CWIN\cbw32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\lib\kernel32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\user32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\gdi32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\winspool.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\comdlg32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\advapi32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\shell32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\ole32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\oleaut32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\uuid.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\odbc32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\odbccp32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\lib\msvcprtd.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\lib\MSVCRTD.lib:

Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\lib\OLDNAMES.lib:
Finished searching libraries
LINK : warning LNK4098: defaultlib 'LIBCMTD' conflicts with use of other
libs; use /NODEFAULTLIB:library
Searching libraries
Searching C:\DriverX4\lib\mdxdrtld.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\winmm.lib:
Searching C:\MCC\CWIN\cbw32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\lib\kernel32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\user32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\gdi32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\winspool.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\comdlg32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\advapi32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\shell32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\ole32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\oleaut32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\uuid.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\odbc32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\odbccp32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\lib\msvcprtd.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\lib\MSVCRTD.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\lib\OLDNAMES.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\SDK\v1.1\lib\MSCOREE.LIB:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\lib\LIBCMTD.lib:
Searching C:\DriverX4\lib\mdxdrtld.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\winmm.lib:
Searching C:\MCC\CWIN\cbw32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\lib\kernel32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\user32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\gdi32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\winspool.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\comdlg32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\advapi32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\shell32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\ole32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\oleaut32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\uuid.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\odbc32.lib:
Searching C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\lib\odbccp32.lib:
Finished searching libraries
Results Build log was saved at
"file://c:\bill\alta33\Daqcpp\Debug\BuildLog.htm"
DAQCPP - 0 error(s), 13 warning(s)
 
Looks like I lied in that last message.

I just recompiled the DriverX library mdxdrtld.lib and the warning
LNK4098 went away. Looks like it was compiled with VS 2002 and I am now
using VS 2003.

Bill
 
Back
Top