On Tue, Apr 8, 2008 at 10:49 AM, Ryan Pusztai <[EMAIL PROTECTED]> wrote: > > On Mon, Apr 7, 2008 at 11:38 PM, John Labenski <[EMAIL PROTECTED]> wrote: > > Try to explain your problems. You are right that, currently we do not > > have a build to create a single monolithic wx.dll as I am not sure how > > to persuade Bakefile to generate something like that (at least not > > yet, but I do see the advantage of having that build so I will work on > > it). > > Another problem is using the default build files fail for me. It is the > OpenGL libraries that fail. Now you and I have talked a few times about this > and it just doesn't work for me. So I have actually created my own set of > build files that work exactly as I need (plus they include OpenGL too so I > don't know what is going wrong), except I am linking against the wxWidgets
I thought we fixed the OpenGL problem for the monolithic build? I see that it is handled correctly in the apps/build/msvc6/*.dsp files. The problem is the OpenGL lib is not put into the monolithic lib by wxWidgets. > dll as a monolithic target. I build with MinGW and not VC and I think this > is part of the reason the current build files don't work. I would rather > just have one dll instead, but having 4 dlls is OK for me right now. > > I am using Premake for this task and I just "plug" it in to the wxLua source > tree under the build directory and it works great. If I could get a few > ideas on what actually needed to be done to link a wx.dll as a single dll I > could probably add this to my solution. This could maybe help others as well > (including yourself ;) ) I could help you with how I set it up. I don't know > if they are ready for every bodies eyes just yet, but they are very close. I would try to build wxWidgets and wxLua staticly then link wx.dll to all those libs. I think it should work, but you may get a ton of warnings about not exporting any function other than luaopen_wx(), but they are harmless. > They give you build files for all of VC 6-2005, Code::Blocks, and GNU make > files. The GNU makefiles should work already, but the Code::Blocks ones would be nice. Someone else provided some, but I had then renamed all the files to handle breaking the bindings up by the wxWidgets libs and forgot to ask for them again. Regards, John ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ wxlua-users mailing list wxlua-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxlua-users