MSVCRTD.lib(MSVCR90D.dll) : error LNK2005: __write already defined in LIBCMTD.lib(write.obj)
Basic knowledge that will help you debug
| Library types and related compiler switches | Basic C Runtime library / Standard C++ library |
|---|---|
| Multithreaded (/MT) | LIBCMT.LIB / LIBCPMT.LIB |
| Debug Multithreaded (/MTd) | LIBCMTD.LIB / LIBCPMTD.LIB |
| Multithreaded DLL (/MD) | MSVCRT.LIB / MSVCPRT.LIB |
| Debug Multithreaded DLL (/MDd) | MSVCRTD.LIB / MSVCPRTD.LIB |
Note The /ML and /MLd library compiler options for static single-threaded libraries have been removed in Visual C++ 2005 and in later versions of Visual C++.
Recent Comments