|
From: Ryan P. <rpu...@gm...> - 2007-01-18 16:03:09
|
Hi I can't seem to build wxLua with Visual C++ 7.1 ToolKit or Visual C++ 2005 pro. I am really only tring to build wxLuaFreeze.exe using wxWidgets statically linked so I don't have any dependencies. I only get one error: ------ Rebuild All started: Project: app_wxluafreeze, Configuration: Release > Multilib Win32 ------ > 7>Deleting intermediate and output files for project 'app_wxluafreeze', > configuration 'Release Multilib|Win32' > 7>Compiling... > 7>wxluafreeze.cpp > 7>Compiling resources... > 7>Linking... > 7>wxlua_msw28_wxbind.lib(wx_bind.obj) : error LNK2019: unresolved external > symbol "__int64 __cdecl wxFileModificationTime(class wxString const &)" > (?wxFileModificationTime@@YA_JABVwxString@@@Z) referenced in function "int > __cdecl wxLua_function_wxFileModificationTime(struct lua_State *)" > (?wxLua_function_wxFileModificationTime@@YAHPAUlua_State@@@Z) > 7>..\..\..\bin\vc_lib\wxluafreeze.exe : fatal error LNK1120: 1 unresolved > externals > Please note: I changed 2 settings in all projects in VC 2005. 1) Using the multi-threaded run-time library NOT the DLL version 2) Set 'Treat wchar_t as built-in Type' to NO. (because my wxWidgets library is built using the VC 71. Toolkit and that is the default setting for VC7.1) -- Regards, Ryan RJP Computing |