[Wxruby-users] Compiling on WinXP, MSVC

Sean Long sean.m.long at gmail.com
Sat Jul 30 16:28:50 EDT 2005


> I really want to hear from other MSWin users about what the rakemswin.rb
> file should look like before I make any changes. I suspect part of the
> difference is that Sean is using a "monolithic" wx library, and you have
> the new-style modular version.

Actually if you look in extconf.rb on Windows the modular version is
used look for the lines like:

    $WXLIB =  "#$WXLIBDIR/wxbase26#{$DEBUG_BUILDPOSTFIX}.lib"       
    $WXLIB += " #$WXLIBDIR/wxbase26#{$DEBUG_BUILDPOSTFIX}_net.lib"

etc.

> I would love the rakefile to auto-detect
> which you have, and do the right thing. After all, part of the beauty of
> rakefiles is that they are ruby code, so detecting should be a snap.

The main problem with Windows is that it does not have the wx-config
script like OS X and Linux, so we will have to do this in a rakefile.

Sean



More information about the wxruby-users mailing list