On 4 November 2010 16:45, John Labenski <jlaben...@gmail.com> wrote: > > On Thu, Nov 4, 2010 at 10:41 AM, Eric Rosenquist <e...@rosenquist.com> wrote: > > Has anyone succeeded in building wxLua if wxWidgets has been built with > > --disable-gui? > > I have not tried that and it's not really supported since there would > have to be quite a bit of extra logic to detect that and not build and > link to the GUI bindings, which are most of them. In the worst case > you can simply compile it with the GUI and simply not use those > functions.
That works OK on a platform like Windows where you've always got the GUI APIs present, but on *nix it causes your application to have dependencies on the X11 and GTK shared libraries (assuming you build wxWidgets for GTK). That's a problem since a lot of Linux/Solaris/AIX/HP-UX/etc. admins don't want any GUI libraries installed. > You may have better luck modifying the Makefiles located in the src/ > dirs. I assume that you want the loadable wxlua module? You can also > use wxLuaFreeze since that doesn't have a GUI either and can be used > as a replacement for the Lua executable. You will have to hack away at > these Makefiles and perhaps modify the > wxLua/build/Makefile_wx-config.* files too. I don't need the loadable wxlua module or wxLuaFreeze - all I really need is wxLuaState plus the compile and run-time stuff that supports the nice C++ binding generator. I've got a wxWidgets console app that embeds a Lua interpreter for extensions/scripting, and those wxLua items greatly simplify code vs. the plain old Lua C interface. In a pinch that's what I'll have to fall back to, but I'll take a look at the Makefiles and see if I can figure out a way to make it work. I wanted to check with the mailing list first to see if anyone else had been down that road just in case it's a waste of time :-) ------------------------------------------------------------------------------ The Next 800 Companies to Lead America's Growth: New Video Whitepaper David G. Thomson, author of the best-selling book "Blueprint to a Billion" shares his insights and actions to help propel your business during the next growth cycle. Listen Now! http://p.sf.net/sfu/SAP-dev2dev _______________________________________________ wxlua-users mailing list wxlua-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxlua-users