Thread: [Fxruby-users] glviewer.rb sample program error...
Status: Inactive
Brought to you by:
lyle
From: Jeff K. <tl...@co...> - 2004-07-11 12:14:45
|
Well I've got all my installation issues taken care of (I think). All the sample programs I've tried work fine, except the one I want to build on--naturally! Though I don't think this is an installation issue. Any help would be appreciated. --jeff jkoppe@linux:~/downloads/ruby/sample_programs> ruby glviewer.rb Xlib: extension "XFree86-DRI" missing on display ":0.0". /usr/local/lib/ruby/gems/1.8/gems/fxruby-1.2.0/lib/fox/glgroup.rb:67:in `bounds': undefined method `include' for #<Fox::FXRangef:0x410a5f7c> (NoMethodError) from /usr/local/lib/ruby/gems/1.8/gems/fxruby-1.2.0/lib/fox/ glgroup.rb:67:in `each' from /usr/local/lib/ruby/gems/1.8/gems/fxruby-1.2.0/lib/fox/ glgroup.rb:67:in `bounds' from /usr/local/lib/ruby/gems/1.8/gems/fxruby-1.2.0/lib/fox/ glgroup.rb:67:in `bounds' from /usr/local/lib/ruby/gems/1.8/gems/fxruby-1.2.0/lib/fox/ glgroup.rb:67:in `each' from /usr/local/lib/ruby/gems/1.8/gems/fxruby-1.2.0/lib/fox/ glgroup.rb:67:in `bounds' from glviewer.rb:509:in `create' from glviewer.rb:509:in `create' from glviewer.rb:509:in `create' from glviewer.rb:509:in `create' from glviewer.rb:509:in `create' from glviewer.rb:509:in `create' from glviewer.rb:509:in `create' from glviewer.rb:576:in `create' from glviewer.rb:576 jkoppe@linux:~/downloads/ruby/sample_programs> |
From: RLMuller <RLM...@Co...> - 2004-07-11 14:25:26
|
Hi Jeff, Here's what I did on my Windows2000 machine: 10:15 C:\>I: 10:16 I:\>cd "I:\Program Files\Ruby\samples\FXRuby" 10:16 I:\Program Files\Ruby\samples\FXRuby>ruby glviewer.rbw (Window opened with plenty of widgets. I clicked the "close" X) 10:17 I:\Program Files\Ruby\samples\FXRuby> I think the critical difference between what I did and what you did is I made the samples directory the current directory before executing ruby. HTH, Richard ----- Original Message ----- From: "Jeff Koppe" <tl...@co...> To: <fxr...@li...> Sent: Sunday, July 11, 2004 8:25 AM Subject: [Fxruby-users] glviewer.rb sample program error... > Well I've got all my installation issues taken care of (I think). All the > sample programs I've tried work fine, except the one I want to build > on--naturally! > > Though I don't think this is an installation issue. Any help would be > appreciated. > > --jeff > > jkoppe@linux:~/downloads/ruby/sample_programs> ruby glviewer.rb > Xlib: extension "XFree86-DRI" missing on display ":0.0". > /usr/local/lib/ruby/gems/1.8/gems/fxruby-1.2.0/lib/fox/glgroup.rb:67:in > `bounds': undefined method `include' for #<Fox::FXRangef:0x410a5f7c> > (NoMethodError) > from /usr/local/lib/ruby/gems/1.8/gems/fxruby-1.2.0/lib/fox/ > glgroup.rb:67:in `each' > from /usr/local/lib/ruby/gems/1.8/gems/fxruby-1.2.0/lib/fox/ > glgroup.rb:67:in `bounds' > from /usr/local/lib/ruby/gems/1.8/gems/fxruby-1.2.0/lib/fox/ > glgroup.rb:67:in `bounds' > from /usr/local/lib/ruby/gems/1.8/gems/fxruby-1.2.0/lib/fox/ > glgroup.rb:67:in `each' > from /usr/local/lib/ruby/gems/1.8/gems/fxruby-1.2.0/lib/fox/ > glgroup.rb:67:in `bounds' > from glviewer.rb:509:in `create' > from glviewer.rb:509:in `create' > from glviewer.rb:509:in `create' > from glviewer.rb:509:in `create' > from glviewer.rb:509:in `create' > from glviewer.rb:509:in `create' > from glviewer.rb:509:in `create' > from glviewer.rb:576:in `create' > from glviewer.rb:576 > jkoppe@linux:~/downloads/ruby/sample_programs> > > > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > _______________________________________________ > Fxruby-users mailing list > Fxr...@li... > https://lists.sourceforge.net/lists/listinfo/fxruby-users --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.713 / Virus Database: 469 - Release Date: 7/9/2004 |
From: Lyle J. <ly...@kn...> - 2004-07-11 18:04:28
|
Jeff & Richard, For some reason Jeff's original message never made it to my mailbox; I've only just seen Richard's *reply* to Jeff's message. But Jeff's problem (the undefined "include" method, coming out of glgroup.rb) is a known problem that will be fixed for the 1.2a2 release. Which is coming any second now. ;) Lyle |
From: Jeff K. <tl...@co...> - 2004-07-11 18:52:21
|
Thank you both for your quick responses. I just joined the list today and already I've pawned off a problem to someone else! Ain't this internet thingy grand? --jeff On Sunday 11 July 2004 13:59, Lyle Johnson wrote: > Jeff & Richard, > > For some reason Jeff's original message never made it to my mailbox; > I've only just seen Richard's *reply* to Jeff's message. > > But Jeff's problem (the undefined "include" method, coming out of > glgroup.rb) is a known problem that will be fixed for the 1.2a2 > release. Which is coming any second now. ;) > > Lyle |