I was attempting to load an image and I received this error:
Error 1 error LNK2019: unresolved external symbol __imp___CrtDbgReportW
referenced in function "public: char const & __thiscall
std::_String_const_iterator<class
std::_String_val<struct std::_Simple_types<char> > >::operator*(void)const "
(??D?$_String_const_iterator@V?$_String_val@U?$_Simple_types@D@std@@@std@@@std@@QBEABDXZ)
C:\Users\Name\Documents\Visual Studio 2012\Projects\ConsoleApplication4\
ConsoleApplication4\Terrain.obj
I've checked the MSDN forum and tried solve the problem by removing _DEBUG
from the preprocessor/ add /MTd
to the command line, but neither proposed solutions worked.
I've narrowed the problem down to the ImageLoader class, but have no idea on how to resolve the issue... I've been following THIS tutorial, which supplies the Image loading class.
Any suggestions as to how to resolve this error?