On 3/17/07, klaas.holwerda <[EMAIL PROTECTED]> wrote:
> Hi,
>
> There are several problems with VC2005
>
> The next empty array is not allowed
>
> // Map Lua Class Methods to C Binding Functions
> WXLUAMETHOD wxXmlResourceHandler_methods[] = {
> };

I fixed this in CVS by just remming it out in the bindings since there
aren't any methods so you couldn't do anything with it anyway.

> static int LUACALL wxLua_wxFileDialogDefault_constructor(lua_State *L)
> {
>    wxLuaState wxlState(L);
>    wxFileDialog *returns;
>    // call constructor
>    returns = new wxFileDialog(NULL);
>
> Here the NULL is required.

Oops, there's no default constructor for the wxFileDialog in MSW so
again I just remmed it out in the binding file and also remmed out the
Create function since the only available constructor automatically
creates it.

> The next linking errors i don't understand yet.
>
>        link /NOLOGO /OUT:..\..\..\bin\vcd_lib\wxlua.exe
> /LIBPATH:D:\soft\wxwin
> \wxWidgets-2.8.0\lib\vc_lib /DEBUG  /LIBPATH:..\..\..\lib\vc_lib
> /LIBPATH:..\..\
> ..\modules\lua\lib /SUBSYSTEM:WINDOWS
> @C:\DOCUME~1\klaas\LOCALS~1\Temp\nm34.tmp
> LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other
> libs; us
> e /NODEFAULTLIB:library

See Ryan's message.

> wxlua_msw28d_wxbind.lib(wxbind_lib_wx_bind.obj) : error LNK2019:
> unresolved exte
> rnal symbol "public: static class wxCursor const __cdecl
> wxBusyCursor::GetBusyCu
> rsor(void)" ([EMAIL PROTECTED]@@SA?BVwxCursor@@XZ) referenced
> in funct
> ion "public: __thiscall
> wxBusyCursorSuspender::~wxBusyCursorSuspender(void)" (??
> 1wxBusyCursorSuspender@@[EMAIL PROTECTED])
> wxlua_msw28d_wxbind.lib(wxbind_lib_defsutil.obj) : error LNK2019:
> unresolved ext
> ernal symbol "public: static class wxCursor const & __cdecl
> wxBusyCursor::GetSto
> redCursor(void)" ([EMAIL PROTECTED]@@SAABVwxCursor@@XZ)
> referenced i
> n function "public: __thiscall
> wxBusyCursorSuspender::wxBusyCursorSuspender(void
> )" (??0wxBusyCursorSuspender@@[EMAIL PROTECTED])

This is a problem with wxWidgets I guess? They have not implemented
wxBusyCursorSuspender correctly in MSW?

Again I remmed this class out in the bindings since it's not
particularly useful because the lua garbage collector will not
automatically delete this when it goes out of scope so you would have
to call Delete() on it which is just as must work as using
wxBeginBusyCursor()
...
wxEndBusyCursor()

Thank you for posting this stuff since my MSW build machine using 2005
is broken after installing service pack 1. It's still broken after
uninstalling it, deleting the directories and reinstalling. I wonder
if the service pack ruined the platform SDK and I have to reinstall
that too?

    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