wxruby-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Wxruby-dev] Corrections for Windows build error


From: Roy Varghese
Subject: Re: [Wxruby-dev] Corrections for Windows build error
Date: Sat, 19 Jul 2003 02:07:16 -0700

----- Original Message ----- 
From: "Kevin Smith" <address@hidden>
To: <address@hidden>
Sent: Friday, July 18, 2003 7:59 AM
Subject: Re: [Wxruby-dev] Corrections for Windows build error


> On Fri, 2003-07-18 at 05:23, Park Heesob wrote:
> > Current wxRuby  mswin32 version supports only DLL wxWindows version.
> > You must build a DLL version of wxWindows.
> > Choose one of these build configurations:
> >    wxmsw24.lib  wxmsw24d.lib   ; ANSI DLL Release/Debug
> >    wxmsw24u.lib wxmsw24ud.lib  ; UNICODE DLL Release/Debug
> > Modify extconf.rb's $WXVERSION to one of these:
> >    $WXVERSION = '24'
> >    $WXVERSION = '24d'
> >    $WXVERSION = '24u'
> >    $WXVERSION = '24ud'
<snip>
>
> I think the VC++ section of extconf.rb could look something like this:
>
> elsif have_header("windows.h") and have_library("kernel32")
>     $WXDIR=ENV['WXWIN']
> #    $WXVERSION = '24'
>     $WXSRC="#$WXDIR/src/msw"
>     $WXINC="#$WXDIR/include"
>     $INCTEMP="#$WXDIR/lib/mswdll"
> #    $WXLIB="#$WXDIR/lib/wxmsw#$WXVERSION.lib"
>     $CFLAGS += " -I#$WXINC -I#$INCTEMP #$WINFLAGS #$EXTRADLLFLAGS
> -DSTRICT -DWIN32 -D__WIN32__ -D_WINDOWS -DWINVER=0x0400 /D__WIN95__
> /D__WXMSW__ /DWXUSINGDLL=1 /D__WINDOWS__ -D__WXMSW__  "
> #    $libs += " #$WXLIB"
>     $libs += `wx-config --libs`
>     $objs.push("wx.res")
>
> end
>
> Can you try it, Roy and Park?

I would gladly, but I dont have the 'wx-config' script. There is a
wx-config.in in my
WXWIN directory, but no .bat or .cmd files.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]