Nevermind this post. I reran the linker and install and then it worked
fine. Not sure what happened earlier...
On 8/15/06, Joe Seeley <joiey.seeley at gmail.com>
wrote:>
> I was finally able to build wxruby2 yesterday. Today I tried switching an
> existing app over to wxruby2, but on running it I received a segmentation
> fault error.
>
> I then created a quick minimal script to see if the error still occurred.
> Here is the minimal script.
>
> # *** BEGIN SCRIPT ***
> require ''wx''
> include Wx
>
> class PPGui < App
> def on_init
> Frame.new(nil, -1, "The Bare Minimum").show()
> end
> end
>
> PPGui.new.main_loop
> # *** END SCRIPT ***
>
> And this is the error that is occurring.
>
> This application has requested the Runtime to terminate it in an unusual
> way.
> Please contact the application''s support team for more
information.
> Our Initialize was called
> C:/Documents and Settings/seeljo/user/Preprocessor/tmp.rb:10: [BUG]
> Segmentation fault
> ruby 1.8.4 (2005-12-24) [i386-mswin32]
>
> Process tmp.rb exited with code 3
>
> I also split the last line into two statements to narrow down where this
> was occurring.
>
> gui = Gui.new <-- works fine
> gui.main_loop <--- segmentation fault
>
> Any ideas?
>
> Thanks,
> Joe
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://rubyforge.org/pipermail/wxruby-users/attachments/20060815/6a2268a2/attachment.html