Just a quick question. I got Darknet working on release mode, but debug gets me a number of errors. I am trying to track down a memory leak I created.
This is what I get in the compiling process
1>Generating Code...
1>Linking...
1>LINK : warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library
1>Main.obj : error LNK2019: unresolved external symbol __CrtDbgReportW referenced in function "public: struct clLANServer & __thiscall std::vector<struct clLANServer,class std::allocator<struct clLANServer> >::operator[](unsigned int)" (??A?$vector@UclLANServer@@V?$allocator@UclLANServer@@@std@@@std@@QAEAAUclLANServer@@I@Z)
1>libcpmtd.lib(stdthrow.obj) : error LNK2001: unresolved external symbol __CrtDbgReportW
1>libcpmtd.lib(xdebug.obj) : 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)
1>libcpmtd.lib(xdebug.obj) : 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)
1>Debug\ServerTestandCleint.exe : fatal error LNK1120: 3 unresolved externals
1>Build log was saved at "file://c:\Documents and Settings\Owner\My Documents\Visual Studio 2008\Projects\ServerTestandCleint\ServerTestandCleint\Debug\BuildLog.htm"
1>ServerTestandCleint - 5 error(s), 1 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Other than I am starting to get the handle on it.
There are many answers but just one question" ~ Jerilith the Mad