Linking...
LINK : warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library
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)
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)
libcpmtd.lib(stdthrow.obj) : error LNK2019: unresolved external symbol __CrtDbgReportW referenced in function "void __cdecl std::_Debug_message(wchar_t const *,wchar_t const *,unsigned int)" (?_Debug_message@std@@YAXPB_W0I@Z)
Debug\Lua Test.exe : fatal error LNK1120: 3 unresolved externals
i get that error when running
//First include dark GDK and the lua_plugin.h
#include "DarkGDK.h"
#include "lua_plugin.h"
//define some global variableness
int num;
void DarkGDK(void)
{
lua::make(); //initialization
lua::load_file("filename.file"); //load the config file
num=lua::get_int("moo");
while(LoopGDK()){
dbText(5,5,dbStr(num));
}
}
in GDK
i set the additional dependency to Barnski'sLuaPlugin_debug.lib
i made it MT
can anyone help me please? the files are in the right place too