LNK2019 unresolved external symbol __imp___CrtDbgReportW after adding a vector

Full error code:Error LNK2019
unresolved external symbol __imp___CrtDbgReportW referenced in function "void * __cdecl std::_Allocate(unsigned int,unsigned int,bool)" (?_Allocate@std@@YAPAXII_N@Z)

After adding a vector to my project I got that link error. I am using "Debug" as the active config. My run time library debug configuration is set to Multi-threaded Debug DLL (/MDd). I also have a _DEBUG define in my preprocessor definitions.
show us the exact code that you added that caused this.

smallest reproducible example.
Topic archived. No new replies allowed.