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: Park Heesob
Subject: Re: [Wxruby-dev] Corrections for Windows build error
Date: Sun, 20 Jul 2003 09:56:21 +0900

Hi,
----- Original Message ----- 
From: "Roy Varghese" <address@hidden>
To: <address@hidden>
Sent: Sunday, July 20, 2003 4:34 AM
Subject: Re: [Wxruby-dev] Corrections for Windows build error


>
> 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
>
I can see your error when $WXVERSION is '24d'(Debug DLL
version:wxmsw24d.lib)
Retry with  $WXVESION= '24' (Release DLL version:wxmsw24.lib) please.

Regards,
Park Heesob






reply via email to

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