title: LNK2001 Error on basic_istream, basic_ostream
body: <p>I'm trying to get around these link errors:</p>
  
  <pre><code>error LNK2001: unresolved external symbol "__declspec(dllimport) public void __thiscall std::basic_ostream(char,struc std::char_traits&lt;char&gt;&gt;::_0sfx(void)" 
  </code></pre>
  
  <p>I used Visual Studio C++ 2010, and tried with Visual Studio C++ 6.0, but still the same errors show up. </p>
  
  <p>The object file is found, so I am suspecting that it cannot find the implementation of the std library? I've tried /nodefaultlib option on a few libraries (libc.lib, libcmt.lib, msvcrt.lib, etc) but did not improve the situation at all. </p>
  
  <p>Could someone explain why the error occurs and where I should look ?</p>
  
  <p>Tried the solutions suggested in other similar questions but they either are not applicable or do not resolve the problem. </p>
  
  <p>Thanks</p>