On 1/18/07, Ryan Pusztai <[EMAIL PROTECTED]> wrote:
> 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)

Humm, that is strange. I just tried in VC 2005 with the default
include/wx/msw/setup0.h in debug multilib without a problem. The
changes you made should probably not matter. I have updated the
bindings files to take into account the wxWidgets wxUSE_DATETIME
#ifdef for these classes, but that shouldn't matter for you.

You may want to try to really clean things and rebuild or if you don't
think you'll use that function, just rem out the line in wx_bind.cpp
that calls wxFileModificationTime.

Regards,
    John Labenski

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to