From: Francesco M. <f18...@ya...> - 2006-05-21 09:35:39
|
Edgar GloWacki ha scritto: > * wxWidgets 2.6.3 Patch 2 compiled as multi DLL lib non-unicode > > * wxLua 2.6.2.0 using DLL Debug Multilib > > * WindowsXP > > *.NET 2003 (VC++ 7.1) > > > > Just downloaded wxLua and was trying to build it using wxLua.dsw project > from msw folder and I got allot of warnings and errors. Project > mod_lua_lib compiles cleanly but when it gets to mod_wxluadebug I get this: > > > > \ wxLua\ modules\ wxluadebug\ src\ staktree.cpp(110) : warning C4273: > 'ms_classInfo' : inconsistent dll linkage > > \ wxLua\ modules\ wxluadebug\ src\ staktree.cpp(110) : error C2491: > 'wxLuaStackDialog::ms_classInfo' : definition of dllimport static data > member not allowed > > \ wxLua\ modules\ wxluadebug\ src\ staktree.cpp(110) : warning C4273: > 'wxLuaStackDialog::GetClassInfo' : inconsistent dll linkage > > \ wxLua\ modules\ wxluadebug\ src\ staktree.cpp(112) : warning C4273: > 'sm_eventTable' : inconsistent dll linkage > > … > > And many more, which I will skip it for now, since it’s basically the > same. I hope I’m missing something very simple here. wxlua 2.6.2.0 does not compile with that config. Luckily, yesterday I've just worked on that and now it should compile fine; I suggest you to use the latest snapshot at http://wxlua.sourceforge.net/download/ using command-line makefiles (sorry I haven't tested DSW/DSP yet after last changes) or to compile in static mode. Thanks, Francesco |