It looks like you're attempting to link object files built with different _ITERATOR_DEBUG_LEVEL (IDL) settings -- since the standard library / run-time libs versions linked with different IDL settings are not mutually compatible, this won't work. Try rebuilding the entire solution, making sure (in the configuration/properties) that the debug/release setting are consistent throughout all of its projects.

For more info on what _ITERATOR_DEBUG_LEVEL is and what it does, see: