lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi!

I'm trying to compile this binding under Mingw32 (GCC 3.3.1) (using own makefile) and got an error:

wxLuaSplitTree.cpp
../../lib/wx/wxWidgets-2.5.3/include/wx/msw/dc.h: In member function `virtual
   void wxRemotelyScrolledTreeCtrl::PrepareDC(wxDC&)':
../../lib/wx/wxWidgets-2.5.3/include/wx/msw/dc.h:256: error: `wxDC&
   wxDC::operator=(const wxDC&)' is private
wxLua26.253/wxLua/wxLua/Library/wxLuaSplitTree.cpp:224: error: within this
   context
make[1]: *** [obj/wxLuaSplitTree.o] Error 1

In the other hand when I use original makefile provided by authors of wxLua I got error in wxLuaDebug.cpp:62:

definition of static data member 'wxClassInfo wxLuaDebugEvent::ms_classInfo' of dllimport'd class.

How to compile this binding? I want wxLua.dll linked dynamically with lua.dll and wxWidgets 2.5.3 libraries which I can load with loadlib() through require(). It is workable?

--
Regards,
Adam Dziendziel, Poland