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 12:34:54 -0700

Hi,
> ----- Original Message ----- 
> From: "Roy Varghese" <address@hidden>
> To: <address@hidden>
> Sent: Saturday, July 19, 2003 6:35 PM
> Subject: Re: [Wxruby-dev] Corrections for Windows build error
<snip>
> >
> I have no error for calendar.rb or your test2.rbw in Ruby 1.8.0.
> I think it is due to ruby 1.7.3 bug.
> Would you try again with Ruby version to 1.8.0?
Same error with 1.8.0 Preview 3. I deleted all the .objs and .lib
and .so files and ran "nmake" and "install.rb"

C:\Temp>irb test2.rbw
test2.rbw(main):001:0> require 'wxruby'
=> true
test2.rbw(main):002:0> include Wx
=> Object
test2.rbw(main):003:0>
test2.rbw(main):004:0* class MyFrame < Frame
test2.rbw(main):005:1>  def initialize(title,point,size)
test2.rbw(main):006:2>          super(nil,-1,title,point,size)
test2.rbw(main):007:2>  end
test2.rbw(main):008:1> end
=> nil
test2.rbw(main):009:0> class MyApp < App
test2.rbw(main):010:1>  def OnInit()
test2.rbw(main):011:2>          f = MyFrame.new("Hello
World",Point.new(50,50),Size.new(200,300))
test2.rbw(main):012:2>          f.show(TRUE);
test2.rbw(main):013:2*  end
test2.rbw(main):014:1> end
=> nil
test2.rbw(main):015:0>
test2.rbw(main):016:0* a = MyApp.new
=> #<MyApp:0x3201de0>
test2.rbw(main):017:0> a.main_loop()
test2.rbw:17: [BUG] Segmentation fault
ruby 1.8.0 (2003-06-23) [i386-mswin32]


This application has requested the Runtime to terminate it in an unusual
way.
Please contact the application's support team for more information.

======
The test window briefly flickers and goes away. Any suggestions appreciated.

Thx
Roy






reply via email to

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