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: Wed, 23 Jul 2003 00:59:25 -0700

----- Original Message ----- 
From: "Kevin Smith" <address@hidden>
To: "Roy Varghese" <address@hidden>;
<address@hidden>
Sent: Tuesday, July 22, 2003 7:58 PM
Subject: Re: [Wxruby-dev] Corrections for Windows build error


>
> I would very much appreciate a diff between what is now checked in, and
> what works for you.
My CVS snapshot is a couple of days old, but for what its worth, here it
is...
==========================================================
RCS file: /cvsroot/wxruby/wxruby/src/extconf.rb,v
retrieving revision 1.19
diff -r1.19 extconf.rb
18a19
> puts RUBY_PLATFORM
28c29
<     $CFLAGS += " `wx-config --cxxflags`"
---
>     $CFLAGS += " `wx-config --cxxflags` -DWXUSINGDLL=1"
78a80
> if File.exist?("depends")
92a95
> end
Index: install.rb
===================================================================
RCS file: /cvsroot/wxruby/wxruby/src/install.rb,v
retrieving revision 1.2
diff -r1.2 install.rb
8,9c8,9
<       File::install('wxmsw240.dll', CONFIG['bindir'], 0755, true)
<       File::install('wx.so', CONFIG['archdir'], 0755, true)
---
>       File::install('c:/apps/wx2/lib/wxmsw24.dll', CONFIG['bindir'], 0755,
true)
>       File::install('wxruby.so', CONFIG['archdir'], 0755, true)
Index: wx.h
===================================================================
RCS file: /cvsroot/wxruby/wxruby/src/wx.h,v
retrieving revision 1.13
diff -r1.13 wx.h
38c38
< #if RUBY_VERSION_CODE < 180
---
> #if RUBY_VERSION_CODE < 173
43a44
> #elif RUBY_VERSION_CODE < 180

This part was unnecessary, since it didnt compile with 1.7.3 anyway.

> Does the VC++ version work with the Pragmatic Ruby Installer? Does the
> Cygwin version work with it? Is there a reason we should distribute one
> binary vs. the other?

Only with the 1.8.0 version, I couldnt get it compiled with 1.6.8 or 1.7.3.
Dont have a record of what the error was, but upgrading to 1.8.0 fixed most
of them. I was also trying building on FreeBSD, and 1.6.8 (freebsd4) looks
like its missing
some header files, especially missing.h and definitions of "struct timeval"
used in
app.cpp was not found.

Thx
Roy





reply via email to

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