Jump to content

  • Log In with Google      Sign In   
  • Create Account

Unresolved External Symbols with Debug Builds Only


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
1 reply to this topic

#1 Aiwendil   Members   -  Reputation: 158

Like
0Likes
Like

Posted 14 February 2010 - 08:31 PM

Hi everyone, My game compiles properly when I'm building in Release mode in Visual Studio 2008 Pro, but when I try to build in Debuge mode, I get several unresolved external symbols. Most seem to be centered around _CrtDbgReportW. error LNK2019: unresolved external symbol __CrtDbgReportW referenced in function "public: class Sprite & __thiscall std::vector<class Sprite,class std::allocator<class Sprite> >::operator[](unsigned int)" (??A?$vector@VSprite@@V?$allocator@VSprite@@@std@@@std@@QAEAAVSprite@@I@Z) error LNK2001: unresolved external symbol __CrtDbgReportW error LNK2001: unresolved external symbol __CrtDbgReport error LNK2001: unresolved external symbol __CrtDbgReportW 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) error LNK2001: unresolved external symbol __malloc_dbg 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) error LNK2001: unresolved external symbol __free_dbg error LNK2019: unresolved external symbol __calloc_dbg referenced in function __Getctype Most of these are listed as being in the libcpmtd.lib file. Any ideas on how to fix this? I recently upgraded from Vista to Windows 7 and had to reinstall everything. Could this have caused the problem? Thanks.

Sponsor:

#2 Aiwendil   Members   -  Reputation: 158

Like
0Likes
Like

Posted 16 February 2010 - 06:32 AM

Bump




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS