From: John L. <jla...@gm...> - 2014-12-12 04:23:10
|
On Thu, Dec 11, 2014 at 10:09 AM, Ulrich Schmidt <u.s...@gm...> wrote: > I compiled sucessfully wx.dll using wxWidgets 3.0 (mingw64/gcc4.8.1). > So far so good. > Now i want to compile the wx-lua-module as a static lib. Is this > possible using cmake? I got a libwx.dll.a but this points to wx.dll and > thats not what i want. > > It is not possible, Lua needs a shared library for require() to load. However, you can use wxLua.exe or wxLuaFreeze.exe to have a single executable that does the same thing as calling 'require("wx")' without the extra wx.dll lib since it's embedded in the exe. Regards, John Am 06.12.2014 um 08:20 schrieb Ulrich Schmidt: > >> Why are you not using a 3.x wxWidgets version? It should be better and > >> wxLua compiles against it. > > I wasnt shure wxlua compiles with wxwidgets 3.x. > > Now i will try 3.x, thanks. > >> Thanks for the reminder. What mingw are you using? It looks like > >> things have changed since I last installed it. > >> > >> One of these? > >> > http://sourceforge.net/projects/mingw/files/Installer/mingw-get/mingw-get-0.6.2-beta-20131004-1/ > > I use MinGW-64 (http://sourceforge.net/projects/mingw-w64/) gcc4.8.1 > > > > > ------------------------------------------------------------------------------ > > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > > with Interactivity, Sharing, Native Excel Exports, App Integration & more > > Get technology previously reserved for billion-dollar corporations, FREE > > > http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk > > _______________________________________________ > > wxlua-users mailing list > > wxl...@li... > > https://lists.sourceforge.net/lists/listinfo/wxlua-users > > > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > > http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk > _______________________________________________ > wxlua-users mailing list > wxl...@li... > https://lists.sourceforge.net/lists/listinfo/wxlua-users > |