title: C++ Linking release built library with my debug build
body: <p>I've downloaded a 3rd party library, and built the .lib file in 'release' mode.
  After adding the lib to my project, if i run my project in release mode, it's fine. But if i run my project in debug mode, i get an error:</p>
  
  <pre><code>_iterator_debug_level value '0' doesn't match value '2;
  </code></pre>
  
  <p>I could rebuild the library in debug mode, but I don't think I'll need to be debugging the library itself? And I've downloaded prebuilt 3rd party libraries before which only come with a release build (i assume?) that link fine whether my project is in debug or release. I'm wondering how that is done.</p>