I am to use the functionality of some useful debugging routines in a library I found and tried defining _DEBUG on my application. Apparently this has some wide-reaching effects for some other things and causes the use of debug allocation routines and whatever. If that wasn't giving me errors, this would not be a problem to me. But, they are giving me linker errors.
Code:
Warning 1 warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library Pong
Error 2 error LNK2019: unresolved external symbol __CrtDbgReportW referenced in function "public: __thiscall std::_Vector_const_iterator<class C3D,class std::allocator<class C3D> >::_Vector_const_iterator<class C3D,class std::allocator<class C3D> >(class C3D *,class std::_Container_base const *)" (??0?$_Vector_const_iterator@VC3D@@V?$allocator@VC3D@@@std@@@std@@QAE@PAVC3D@@PBV_Container_base@1@@Z) CThing.obj
Error 3 error LNK2001: unresolved external symbol __CrtDbgReportW libcpmtd.lib
Error 4 error LNK2019: unresolved external symbol __malloc_dbg referenced in function "void * __cdecl operator new(unsigned int,struct std::_DebugHeapTag_t const &,char *,int)" (??2@YAPAXIABU_DebugHeapTag_t@std@@PADH@Z) libcpmtd.lib
Error 5 error LNK2019: unresolved external symbol __free_dbg referenced in function "void __cdecl operator delete(void *,struct std::_DebugHeapTag_t const &,char *,int)" (??3@YAXPAXABU_DebugHeapTag_t@std@@PADH@Z) libcpmtd.lib
Error 6 fatal error LNK1120: 3 unresolved externals C:\Documents and Settings\Tonto\My Documents\Visual Studio 2005\Projects\Pong\Debug\Pong.exe