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: Kevin Smith
Subject: Re: [Wxruby-dev] Corrections for Windows build error
Date: 17 Jul 2003 23:26:52 -0700

On Thu, 2003-07-17 at 22:19, Roy Varghese wrote:
> > Roy: Can you find out what RUBY_VERSION_CODE is set to on your system?
> > We can at least use that as a value for now.
> 
> Is it in version.h? It so, it is 173.
> 
> $WXDIR\lib\ruby\1.7\i386-mswin32\version.h
> =====
> #define RUBY_VERSION "1.7.3"
> #define RUBY_RELEASE_DATE "2002-11-17"
> #define RUBY_VERSION_CODE 173

Looks right. Please try replacing the 180 with 173 in wx.h. That should
solve it for you. If it does, let me know so I can update the real
source.

> and StringValue _is_ defined in ruby.h in the same directory as
> #define StringValue(v) if (TYPE(v) != T_STRING) rb_string_value(&(v))
> which seems to be different from what the wx.h definition.

Park originally wrote wxRuby assuming the Ruby 1.8 features were
available, including StringValue. I use Ruby 1.6.8, and it wasn't
working for me, so Park created macros in wx.h that provide more-or-less
the same functionality. So it's ok that they're different.

Kevin






reply via email to

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