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. > The wxLua build doesn't get past the "configure" stage since configure tries > to determine which wxWidgets port is in use and fails. The command > "wx-config --selected-config" returns "base-ansi-release-2.8", which doesn't > match any of the configurations that it checks for, so it bails with an > error message: > > ... > checking for wx-config... /home/.../bin/wx-config > > I'd like to be able to build and use wxLua with a non-GUI wxWidgets app, > mainly to take advantage of the binding generator in wxLua since obviously > I'm not using any of the GUI capabilities. 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. Regards, John ------------------------------------------------------------------------------ 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