Hi all As you might now, there''s been a long-running debate about the future of the One-Click Installer for Ruby on Windows. A central contentious question has been which compiler to use: Microsoft''s Visual C or gcc on Windows, known as MingW. Finally Luis Lavena has moved things forward by providing an actual ruby build based on MingW: http://groups.google.com/group/comp.lang.ruby/browse_thread/thread/4056d40003e05728 This is really good news for wxRuby, as we''ve long had to rely on withdrawn, unsupported compilers and good luck to provide Windows builds using VC7.1. I''ve checked in some changes to SVN that mean that MingW can now be used to compile wxRuby. A few classes (OpenGL, Graphics*, Media*) don''t yet work in wxWidgets + MingW, but on the other hand, this new ruby build is 20-50% faster, and I''ve found wxRuby-mingw to be perceptibly quicker than our current Windows release. We''ll need to keep providing VC mswin32 builds for some time yet, but from the next release I''ll supply a mingw gem as well. Luis has also provided a sandboxed MingW+MSys compiler environment that can simply be unpacked and is ready to go - it''s smaller and easier to set up than Microsoft''s SDK as a wxRuby dev environment. I''m happy to maintain this port for the time being, but if anyone is interested in working on this, get in touch. cheers alex
Hi Alex, 2008/3/28, Alex Fenton <alex at pressure.to>:> I''ve checked in some changes to SVN that mean that MingW > can now be used to compile wxRuby. A few classes (OpenGL, Graphics*, > Media*) don''t yet work in wxWidgets + MingW, but on the other hand, this > new ruby build is 20-50% faster, and I''ve found wxRuby-mingw to be > perceptibly quicker than our current Windows release. >Very interesting ! I just installed MinGW yesterday to try Ruby on MinGW. I haven''t build Ruby yet but I built wxWidgets just to try my MinGW installation. And it works great.> We''ll need to keep providing VC mswin32 builds for some time yet, but > from the next release I''ll supply a mingw gem as well.Did you contact Luis for that ? I think that he will be very interested to know that wxRuby will support MinGW.> I''m happy to maintain this port for the time being, but if anyone is > interested in working on this, get in touch.Have you written some "wxRuby on MinGW" howto ? I''d be happy to try building a full Ruby + wxRuby on MinGW. Cheers. Chauk-Mean.
Chauk-Mean P wrote:> Very interesting ! > I just installed MinGW yesterday to try Ruby on MinGW. > I haven''t build Ruby yet but I built wxWidgets just to try my MinGW > installation.I just used the precompiled ruby binary that Luis provided and it worked well with my build of wxWidgets and SVN head, after creating a mingw rakefile and a few small changes to the SWIG files (including to fix compatibility with wxWidgets --enable-stl builds). I think he had to make some changes to the standard 1.8.6 source package to get it to compile esp the add-ons like openssl, readline.>> We''ll need to keep providing VC mswin32 builds for some time yet, but >> from the next release I''ll supply a mingw gem as well. >> > > Did you contact Luis for that ? > I think that he will be very interested to know that wxRuby will support MinGW. >Yes, we''ve been in touch; I think he''s planning to draw up a list of gems that support mingw.>> I''m happy to maintain this port for the time being, but if anyone is >> interested in working on this, get in touch. >> > > Have you written some "wxRuby on MinGW" howto ? > I''d be happy to try building a full Ruby + wxRuby on MinGW. >My very brief notes from yesterday are here: http://wxruby.rubyforge.org/wiki/wiki.pl?NotesOnMingW Feel free to add anything you find... best alex
This is great news! I can''t wait to delete VC7.1 from my VM image. As it is now I am afraid to change anything for fear that I will no longer be able to compile a Windows gem. So how long do you think we will need to maintain the mswin32 build? Sean On Fri, Mar 28, 2008 at 4:28 AM, Alex Fenton <alex at pressure.to> wrote:> Hi all > > As you might now, there''s been a long-running debate about the future of > the One-Click Installer for Ruby on Windows. A central contentious > question has been which compiler to use: Microsoft''s Visual C or gcc on > Windows, known as MingW. Finally Luis Lavena has moved things forward by > providing an actual ruby build based on MingW: > http://groups.google.com/group/comp.lang.ruby/browse_thread/thread/4056d40003e05728 > > This is really good news for wxRuby, as we''ve long had to rely on > withdrawn, unsupported compilers and good luck to provide Windows builds > using VC7.1. I''ve checked in some changes to SVN that mean that MingW > can now be used to compile wxRuby. A few classes (OpenGL, Graphics*, > Media*) don''t yet work in wxWidgets + MingW, but on the other hand, this > new ruby build is 20-50% faster, and I''ve found wxRuby-mingw to be > perceptibly quicker than our current Windows release. > > We''ll need to keep providing VC mswin32 builds for some time yet, but > from the next release I''ll supply a mingw gem as well. Luis has also > provided a sandboxed MingW+MSys compiler environment that can simply be > unpacked and is ready to go - it''s smaller and easier to set up than > Microsoft''s SDK as a wxRuby dev environment. > > I''m happy to maintain this port for the time being, but if anyone is > interested in working on this, get in touch. > > cheers > alex > > > _______________________________________________ > wxruby-development mailing list > wxruby-development at rubyforge.org > http://rubyforge.org/mailman/listinfo/wxruby-development >
This is freaking great news! I so am going to look at Luis'' package for Ruby, and the source code. I so want this, cause I know MingW does such a better job on Ruby then MSVC Ever did. And it removes that nasty dependency on the msvc* dlls. On Fri, Mar 28, 2008 at 11:36 AM, Sean Long <sean.m.long at gmail.com> wrote:> This is great news! I can''t wait to delete VC7.1 from my VM image. As > it is now I am afraid to change anything for fear that I will no > longer be able to compile a Windows gem. So how long do you think we > will need to maintain the mswin32 build?Unfortunately Sean, we would have to atleast wait till the MingW version becomes popular enough, to show that the MSVC Version is no longer supported by the Ruby 1 Click Installer team, then we can start phasing it out ourselvs.> On Fri, Mar 28, 2008 at 4:28 AM, Alex Fenton <alex at pressure.to> wrote: > > Hi all > > > > As you might now, there''s been a long-running debate about the future > of > > the One-Click Installer for Ruby on Windows. A central contentious > > question has been which compiler to use: Microsoft''s Visual C or gcc on > > Windows, known as MingW. Finally Luis Lavena has moved things forward > by > > providing an actual ruby build based on MingW: > > > http://groups.google.com/group/comp.lang.ruby/browse_thread/thread/4056d40003e05728 > > > > This is really good news for wxRuby, as we''ve long had to rely on > > withdrawn, unsupported compilers and good luck to provide Windows > builds > > using VC7.1. I''ve checked in some changes to SVN that mean that MingW > > can now be used to compile wxRuby. A few classes (OpenGL, Graphics*, > > Media*) don''t yet work in wxWidgets + MingW, but on the other hand, > this > > new ruby build is 20-50% faster, and I''ve found wxRuby-mingw to be > > perceptibly quicker than our current Windows release. > > > > We''ll need to keep providing VC mswin32 builds for some time yet, but > > from the next release I''ll supply a mingw gem as well. Luis has also > > provided a sandboxed MingW+MSys compiler environment that can simply be > > unpacked and is ready to go - it''s smaller and easier to set up than > > Microsoft''s SDK as a wxRuby dev environment. > > > > I''m happy to maintain this port for the time being, but if anyone is > > interested in working on this, get in touch. >Alex, I''ll be more then happy to dedicate a Full Build environment for this, as I want to be able to do my own Compiles of wxRuby on my Windows Computer. So if you want, give me the ok, and I''ll flag a full build environment setup in less then 3 seconds, ready to get wxWidgets compiled, and wxRuby compiled.> cheers > alex-- Mario Steele http://www.trilake.net http://www.ruby-im.net http://rubyforge.org/projects/wxruby/ http://rubyforge.org/projects/wxride/ http://rubyforge.org/projects/vwmc/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/wxruby-development/attachments/20080328/cb9f37ec/attachment-0001.html
Sean Long wrote:> This is great news!I''m glad you guys feel as positive about this as me.> I can''t wait to delete VC7.1 from my VM image. As > it is now I am afraid to change anything for fear that I will no > longer be able to compile a Windows gem.Like you I can''t wait to get rid of all the VC stuff off my PC, but I''m scared that coincidence will strike and as a team we''ll be left unable to build on Windows.> So how long do you think we > will need to maintain the mswin32 build? >Unfortunately, a little while yet; a few things that would seem to need to be in place: * A well-accepted OCI production release based on mingw has been out for a while - say a few months whilst other compiled libraries catch up * The mingw build of wxRuby includes all the features of the VC build. At the moment mingw can''t build the wxWidgets Graphics* classes out the box, but I know wxPython and wxPerl are interested in this too. I don''t know about MediaCtrl, and I haven''t tried OpenGL as I''ve never actually tried GLCanvas * We get to 2.0, so at least we can say that there is a stable VC-based build available. I think we should test the events-related memory leak and crasher stuff in SVN in another beta, but I imagine at the moment that 1.9.6 will be the last release before 2.0 alex
Mario Steele wrote:> Alex, I''ll be more then happy to dedicate a Full Build environment for > this, as I want to be able to do my own Compiles of wxRuby on my > Windows Computer. So if you want, give me the ok, and I''ll flag a > full build environment setup in less then 3 seconds, ready to get > wxWidgets compiled, and wxRuby compiled.Thanks; I''d say go right ahead. It should be straightforward. If you''re so inclined, you might try building a debug version of wxWidgets on mingw as I have no space left on my PC. And if you wanted to tackle any of the missing classes (by adding --enable-mediactrl / --enable-graphics_ctx / --with-opengl to the wx configure flags), even better. cheers alex
Since I''ve not had a workable environment for compiling with MSVC, I''m destroying those compiler installs off my computer as I write this, so that I can be ready when I drop the Sandbox environment onto here, and start running the tests. I will be happy to look at the missing stuff, and see what is going wrong, and go from there. On Fri, Mar 28, 2008 at 12:51 PM, Alex Fenton <alex at pressure.to> wrote:> Mario Steele wrote: > > Alex, I''ll be more then happy to dedicate a Full Build environment for > > this, as I want to be able to do my own Compiles of wxRuby on my > > Windows Computer. So if you want, give me the ok, and I''ll flag a > > full build environment setup in less then 3 seconds, ready to get > > wxWidgets compiled, and wxRuby compiled. > Thanks; I''d say go right ahead. It should be straightforward. If you''re > so inclined, you might try building a debug version of wxWidgets on > mingw as I have no space left on my PC. And if you wanted to tackle any > of the missing classes (by adding --enable-mediactrl / > --enable-graphics_ctx / --with-opengl to the wx configure flags), even > better. > > cheers > alex > _______________________________________________ > wxruby-development mailing list > wxruby-development at rubyforge.org > http://rubyforge.org/mailman/listinfo/wxruby-development >-- Mario Steele http://www.trilake.net http://www.ruby-im.net http://rubyforge.org/projects/wxruby/ http://rubyforge.org/projects/wxride/ http://rubyforge.org/projects/vwmc/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/wxruby-development/attachments/20080328/9070d0f0/attachment.html
Hey Alex, I was successful in getting my environment setup, and getting things together, compiling wxWidgets, and such. My question for you is, was you able to compile STC and have the rake task compile it in with the rest of wxRuby? Or did you just do the standard rake, without the STC being included? Also, I made some slight changes to rakemingw.rb, as I use the linux method of compiling wxWidgets, under the build directory, instead of the top level directory. I have the mods, and will be committing them today when I get home, around 4:30 to 5:00 pm CST. Other then that, as soon as you answer me about STC, I can start investigating something with that, as when I try to compile it into wxRuby, it errors out, with a bunch of C++ compiler errors for StyledTextCtrl.cpp. L8ers, Mario Steele On Fri, Mar 28, 2008 at 1:03 PM, Mario Steele <mario at ruby-im.net> wrote:> Since I''ve not had a workable environment for compiling with MSVC, I''m > destroying those compiler installs off my computer as I write this, so that > I can be ready when I drop the Sandbox environment onto here, and start > running the tests. > > I will be happy to look at the missing stuff, and see what is going wrong, > and go from there. > > > On Fri, Mar 28, 2008 at 12:51 PM, Alex Fenton <alex at pressure.to> wrote: > > > Mario Steele wrote: > > > Alex, I''ll be more then happy to dedicate a Full Build environment for > > > this, as I want to be able to do my own Compiles of wxRuby on my > > > Windows Computer. So if you want, give me the ok, and I''ll flag a > > > full build environment setup in less then 3 seconds, ready to get > > > wxWidgets compiled, and wxRuby compiled. > > Thanks; I''d say go right ahead. It should be straightforward. If you''re > > so inclined, you might try building a debug version of wxWidgets on > > mingw as I have no space left on my PC. And if you wanted to tackle any > > of the missing classes (by adding --enable-mediactrl / > > --enable-graphics_ctx / --with-opengl to the wx configure flags), even > > better. > > > > cheers > > alex > > _______________________________________________ > > wxruby-development mailing list > > wxruby-development at rubyforge.org > > http://rubyforge.org/mailman/listinfo/wxruby-development > > > > > > -- > Mario Steele > http://www.trilake.net > http://www.ruby-im.net > http://rubyforge.org/projects/wxruby/ > http://rubyforge.org/projects/wxride/ > http://rubyforge.org/projects/vwmc/ >-- Mario Steele http://www.trilake.net http://www.ruby-im.net http://rubyforge.org/projects/wxruby/ http://rubyforge.org/projects/wxride/ http://rubyforge.org/projects/vwmc/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/wxruby-development/attachments/20080330/67d358c7/attachment.html
Hey Guys, Sorry about the message earlier. It could have been a couple of things, needing to copy the folder contrib/include/wx/stc over to include/wx, or the fact that I previously used the directory to attempt a compile of wxWidgets using MSVC. I''ve completely removed the previous directory, and re-installed using the wxWidgets install, copied the folder, and stc.h into include/wx, and now it''s compiling like it''s suppose to. So, progress at last, one step closer to getting a wxRuby MinGW compile going. I belive I have a way to get GDIPlus enabled, and needs a little backtracking to see what needs to be done. If successful, I''ll add to the NotesOnMingW on the wiki. Also, I''ll see about compiling with OpenGL, what errors it gives me, and see if I can possibly transpose the OpenGL and Glut used with Dev-CPP, to MinGW, which shouldn''t be to hard, as Dev-CPP uses MinGW. L8ers, Mario Steele On Sun, Mar 30, 2008 at 8:56 AM, Mario Steele <mario at ruby-im.net> wrote:> Hey Alex, > > I was successful in getting my environment setup, and getting things > together, compiling wxWidgets, and such. My question for you is, was you > able to compile STC and have the rake task compile it in with the rest of > wxRuby? Or did you just do the standard rake, without the STC being > included? > > Also, I made some slight changes to rakemingw.rb, as I use the linux > method of compiling wxWidgets, under the build directory, instead of the top > level directory. I have the mods, and will be committing them today when I > get home, around 4:30 to 5:00 pm CST. > > Other then that, as soon as you answer me about STC, I can start > investigating something with that, as when I try to compile it into wxRuby, > it errors out, with a bunch of C++ compiler errors for StyledTextCtrl.cpp. > > L8ers, > > Mario Steele > > > On Fri, Mar 28, 2008 at 1:03 PM, Mario Steele <mario at ruby-im.net> wrote: > > > Since I''ve not had a workable environment for compiling with MSVC, I''m > > destroying those compiler installs off my computer as I write this, so that > > I can be ready when I drop the Sandbox environment onto here, and start > > running the tests. > > > > I will be happy to look at the missing stuff, and see what is going > > wrong, and go from there. > > > > > > On Fri, Mar 28, 2008 at 12:51 PM, Alex Fenton <alex at pressure.to> wrote: > > > > > Mario Steele wrote: > > > > Alex, I''ll be more then happy to dedicate a Full Build environment > > > for > > > > this, as I want to be able to do my own Compiles of wxRuby on my > > > > Windows Computer. So if you want, give me the ok, and I''ll flag a > > > > full build environment setup in less then 3 seconds, ready to get > > > > wxWidgets compiled, and wxRuby compiled. > > > Thanks; I''d say go right ahead. It should be straightforward. If > > > you''re > > > so inclined, you might try building a debug version of wxWidgets on > > > mingw as I have no space left on my PC. And if you wanted to tackle > > > any > > > of the missing classes (by adding --enable-mediactrl / > > > --enable-graphics_ctx / --with-opengl to the wx configure flags), even > > > better. > > > > > > cheers > > > alex > > > _______________________________________________ > > > wxruby-development mailing list > > > wxruby-development at rubyforge.org > > > http://rubyforge.org/mailman/listinfo/wxruby-development > > > > > > > > > > > -- > > Mario Steele > > http://www.trilake.net > > http://www.ruby-im.net > > http://rubyforge.org/projects/wxruby/ > > http://rubyforge.org/projects/wxride/ > > http://rubyforge.org/projects/vwmc/ > > > > > > -- > Mario Steele > http://www.trilake.net > http://www.ruby-im.net > http://rubyforge.org/projects/wxruby/ > http://rubyforge.org/projects/wxride/ > http://rubyforge.org/projects/vwmc/ >-- Mario Steele http://www.trilake.net http://www.ruby-im.net http://rubyforge.org/projects/wxruby/ http://rubyforge.org/projects/wxride/ http://rubyforge.org/projects/vwmc/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/wxruby-development/attachments/20080331/89c8e285/attachment-0001.html
Mario Steele wrote:> Also, I made some slight changes to rakemingw.rb, as I use the linux > method of compiling wxWidgets, under the build directory, instead of > the top level directory. I have the mods, and will be committing them > today when I get home, around 4:30 to 5:00 pm CST.I found using the Windows method of compiling wxWidgets using ./configure in the base directory of the install creates the stc library file (lib_mswu_stc.a on my system) in the right place to start with. The only error I had to work around is because the header file isn''t found. I''ve just committed a patch to rake/rakemingw which should fix this and STC now compiles cleanly. It assumes the Windows-style compile; if you want to support Linux-style builds with mingw and it can be done without making the rakefile too messy or breaking the other one, please do so. I updated the notes page a bit as well: http://wxruby.rubyforge.org/wiki/wiki.pl?NotesOnMingW cheers alex
Hey Alex, The modifications I did to rakemingw, isn''t that much at all. So it wouldn''t be that complicated. I''ve made it to the point, where your linking the object files together into the single lib, but it''s erroring out, and I know why now, cause of the lib_mswu_stc.a not being created, I will look at fixing that, and add that to the rakemingw.rb, I don''t see that this will be that big of a change, so I will get everything together, and see about committing it tonight/morning time. I''ll let ya know. Mario On 3/31/08, Alex Fenton <alex at pressure.to> wrote:> > Mario Steele wrote: > > Also, I made some slight changes to rakemingw.rb, as I use the linux > > method of compiling wxWidgets, under the build directory, instead of > > the top level directory. I have the mods, and will be committing them > > today when I get home, around 4:30 to 5:00 pm CST. > I found using the Windows method of compiling wxWidgets using > ./configure in the base directory of the install creates the stc library > file (lib_mswu_stc.a on my system) in the right place to start with. The > only error I had to work around is because the header file isn''t found. > > I''ve just committed a patch to rake/rakemingw which should fix this and > STC now compiles cleanly. It assumes the Windows-style compile; if you > want to support Linux-style builds with mingw and it can be done without > making the rakefile too messy or breaking the other one, please do so. > > I updated the notes page a bit as well: > http://wxruby.rubyforge.org/wiki/wiki.pl?NotesOnMingW > > cheers > alex > _______________________________________________ > wxruby-development mailing list > wxruby-development at rubyforge.org > http://rubyforge.org/mailman/listinfo/wxruby-development >-- Mario Steele http://www.trilake.net http://www.ruby-im.net http://rubyforge.org/projects/wxruby/ http://rubyforge.org/projects/wxride/ http://rubyforge.org/projects/vwmc/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/wxruby-development/attachments/20080331/04ecfdb5/attachment.html
Hey Alex, I''ve just committed revision 1648, which in rakemingw.rb will detect to see if the user compiled from the build directory, by checking for $WXDIR/lib/wx/include/msw-unicode-release-static-2.8/wx/setup.h, and if it is not there, it''ll check $WXDIR/build/lib/wx/include/msw-unicode-release-static-2.8/wx/setup.h and adjust $WXLIBDIR and $WXSETUPINCDIR accordingly. I''ve been able to get STC compiled in with wxRuby perfectly fine this way, and with the mods you did as well. I''ve just found some instructions on the web, for how to get GDIPlus setup, and have ran through the instructions. I''m now trying to compile against wxWidgets with --enable-graphics_ctx, to see if that will work. If it does, I''ll update NotesOnMingW with the new instructions on how to enable ContextGraphics. L8ers, Mario Steele On Mon, Mar 31, 2008 at 10:09 PM, Mario Steele <mario at ruby-im.net> wrote:> Hey Alex, > > The modifications I did to rakemingw, isn''t that much at all. So it > wouldn''t be that complicated. I''ve made it to the point, where your linking > the object files together into the single lib, but it''s erroring out, and I > know why now, cause of the lib_mswu_stc.a not being created, I will look at > fixing that, and add that to the rakemingw.rb, I don''t see that this will > be that big of a change, so I will get everything together, and see about > committing it tonight/morning time. > > I''ll let ya know. > Mario > > > On 3/31/08, Alex Fenton <alex at pressure.to> wrote: > > > > Mario Steele wrote: > > > Also, I made some slight changes to rakemingw.rb, as I use the linux > > > method of compiling wxWidgets, under the build directory, instead of > > > the top level directory. I have the mods, and will be committing them > > > today when I get home, around 4:30 to 5:00 pm CST. > > I found using the Windows method of compiling wxWidgets using > > ./configure in the base directory of the install creates the stc library > > file (lib_mswu_stc.a on my system) in the right place to start with. The > > only error I had to work around is because the header file isn''t found. > > > > I''ve just committed a patch to rake/rakemingw which should fix this and > > STC now compiles cleanly. It assumes the Windows-style compile; if you > > want to support Linux-style builds with mingw and it can be done without > > making the rakefile too messy or breaking the other one, please do so. > > > > I updated the notes page a bit as well: > > http://wxruby.rubyforge.org/wiki/wiki.pl?NotesOnMingW > > > > cheers > > alex > > _______________________________________________ > > wxruby-development mailing list > > wxruby-development at rubyforge.org > > http://rubyforge.org/mailman/listinfo/wxruby-development > > > > > > -- > Mario Steele > http://www.trilake.net > http://www.ruby-im.net > http://rubyforge.org/projects/wxruby/ > http://rubyforge.org/projects/wxride/ > http://rubyforge.org/projects/vwmc/ >-- Mario Steele http://www.trilake.net http://www.ruby-im.net http://rubyforge.org/projects/wxruby/ http://rubyforge.org/projects/wxride/ http://rubyforge.org/projects/vwmc/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/wxruby-development/attachments/20080401/1058c813/attachment.html
Mario Steele wrote:> I''ve just committed revision 1648, which in rakemingw.rb will detect > to see if the user compiled from the build directory, by checking for > $WXDIR/lib/wx/include/msw-unicode-release-static-2.8/wx/setup.h, and > if it is not there, it''ll check > $WXDIR/build/lib/wx/include/msw-unicode-release-static-2.8/wx/setup.h > and adjust $WXLIBDIR and $WXSETUPINCDIR accordingly. I''ve been able > to get STC compiled in with wxRuby perfectly fine this way, and with > the mods you did as well. I''ve just found some instructions on the > web, for how to get GDIPlus setup, and have ran through the > instructions. I''m now trying to compile against wxWidgets with > --enable-graphics_ctx, to see if that will work. If it does, I''ll > update NotesOnMingW with the new instructions on how to enable > ContextGraphics.Good stuff, thanks. Sorry to nag about this again, but please can you set your editor to indent with two real spaces when committing to existing files so the indentation doesn''t get messed up. alex
Hey Alex, On Tue, Apr 1, 2008 at 4:08 AM, Alex Fenton <alex at pressure.to> wrote:> Good stuff, thanks. Sorry to nag about this again, but please can you > set your editor to indent with two real spaces when committing to > existing files so the indentation doesn''t get messed up. > > alex >Yeah, sorry, I was using SciTE when editing it, and I have several installations everywhere, I forget which ones have tabs fixed, and tabs not. I''ll keep them fixed one way or another. BTW, I have a bead on GraphicsContext, and GDI+, however, it means some modifications to the wxWidgets graphics.cpp file, in order to work with the modified headers for GDI+ that are setup for MinGW Environment. What is your opinion on this? They are very minor patches, and just ensure that the work with the new headers. Oviously this will need to be noted on MinGW, but I''m not finished yet testing, to see if the new patch will work with Compiling wxWidgets. Let me know what you think about modifying wxWidgets source to work with the MinGW''ized GDI+ Library. L8ers, -- Mario Steele http://www.trilake.net http://www.ruby-im.net http://rubyforge.org/projects/wxruby/ http://rubyforge.org/projects/wxride/ http://rubyforge.org/projects/vwmc/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/wxruby-development/attachments/20080402/d6c04f31/attachment.html
Mario Steele wrote:> I have a bead on GraphicsContext, and GDI+, however, it means some > modifications to the wxWidgets graphics.cpp file, in order to work > with the modified headers for GDI+ that are setup for MinGW > Environment. What is your opinion on this? They are very minor > patches, and just ensure that the work with the new headers. Oviously > this will need to be noted on MinGW, but I''m not finished yet testing, > to see if the new patch will work with Compiling wxWidgets.Not a problem as far as I''m concerned. It''s mainly for our purposes providing binary builds. The default build (without --graphics_ctx and without the modifications) should still work fine, yes? It would be good to see if the patches are in WxWidget''s tracker so it gets fixed in a later release. thanks alex