title: How can I resolve this link error in Visual Studio (LNK2005)?
body: <p>I keep having linker errors of the following form:</p>
  
  <blockquote>
    <p>libcmtd.dll msvmrtd.dll <strong>some element(ex: _mkdir )</strong> already
    defined...</p>
  </blockquote>
  
  <p>and I don't know how to resolve them.</p>
  
  <p>Here is a complete error message:</p>
  
  <blockquote>
    <p>private: __thiscall type_info::type_info(class type_info const &amp;)"
    (??0type_info@@AAE@ABV0@@Z) already defined in
    LIBCMTD.lib(typinfo.obj)</p>
    
    <p>MSVCRTD.lib(ti_inst.obj) : error LNK2005: "private: class type_info &amp;
    __thiscall type_info::operator=(class type_info const &amp;)" (??4type_info@@AAEAAV0@ABV0@@Z) already defined in
    LIBCMTD.lib(typinfo.obj)</p>
  </blockquote>
  
  <p>Can you help me solve this issue?</p>