similar to: Bus error in IRB when trying: require "fox16"

Displaying 20 results from an estimated 5000 matches similar to: "Bus error in IRB when trying: require "fox16""

2008 Jul 12
4
problem
Hi -- I just got your book FXRuby and am trying to get it working on Leopard -- I had no problems getting it to work on Vista or Ubuntu but when I tried to follow the post on your blog for Leopard I got the following error -- I don''t know enough about Leopard or Ruby for that matter to troubleshoot this myself so I was hoping someone may have run into this before and can offer a solution.
2008 Apr 13
3
fxruby gem install problem
Lyle, Following up on your suggestion... "You might want to follow-up on the fxruby-users mailing list at some point; sometimes FXRuby questions can get lost in the shuffle here due to the high volume of messages on ruby-talk!'' I''ve installed libfox-1.6-dev, and after that attempted install of fxruby, with this result: $ sudo gem install fxruby [sudo] password for
2009 May 06
3
Using ActiveRecord in FXRuby application
Hello, I am a newbie to FXRuby development. I like the fact that I can write the code in Ruby for cross-platform GUI development. I am developing a desktop application that needs to save some information to a database. I am using ActiveRecord for this purpose. My code works fine when I don''t require fox16 and include Fox. But once I do that I get a bunch of warnings. Here is the sample
2009 May 18
0
FxRuby failing on Ruby 1.9.1 windows
On May 17, 2009, at 12:40 PM, Janos Sebok wrote: > Hi all. > > I am new to FxRuby, and trying to install the toolkit. > > I''m running winXP > >ruby -v > ruby 1.9.1p0 (2009-01-30 revision 21907) [i386-mswin32] > > >gem -v > 1.3.3 > > >gem list > > *** LOCAL GEMS *** > > fxruby (1.6.19) > rubygems-update (1.3.3) > > --- >
2009 Mar 11
5
FXRuby-1.6.19 don''t run in ruby1.9.1 on windows.
I built fxruby-1.6.19 in win32 using msys + mingw tools. The process of doing it is ok and generate a file fox16.so in the directory ext\fox16. But when i require ''fox16'', it fails to work. it reports that "LoadError: 127. The specified procedure could not be found . - Init_fox16 C:/ruby_1.9.1/usr/local/lib/ruby/site_ruby/1.9.1/i386-msvcrt/fox16.so ". how can i
2007 Jul 28
1
Fxruby 1.6.11 installation error
Hi all, I''m trying to install fxruby 1.6.11 on my machine, but I obtain this error: [luca at mobilebox ~]$ sudo gem install fxruby Building native extensions. This could take a while... ERROR: While executing gem ... (RuntimeError) Error instaling fxruby: ERROR: Failed to build gem native extension. ruby extconf.rb install fxruby checking for sys/time.h... yes checking for
2009 Jun 06
2
FXRuby Installation failing
Hi Which is the most stable version of FXRuby that can be used with ruby 1.8.7 (2008-05-31 patchlevel 0)? I am having lots of trouble installing fxruby using gem. root at at91sam9263ek:~$ gem install fxruby-1.6.19.gem Building native extensions. This could take a while... ERROR: Error installing fxruby-1.6.19.gem: ERROR: Failed to build gem native extension. /usr/local/bin/ruby
2008 Aug 18
3
FXRuby FXScintilla question
Hello, I have started learning FXRuby about 2 weeks ago. Now I''m trying to launch the scintilla_test.rb from the fxruby-1.6 installation directory (/usr/lib/ruby/gems/1.8/gems/fxruby-1.6.16/examples) and get this error: /usr/lib/ruby/gems/1.8/gems/fxruby-1.6.16/lib/fox16/kwargs.rb:2007:in `old_initialize'': wrong number of arguments (8 for 0) (ArgumentError) from
2008 Jan 21
1
FXSplashWindow
I saw Jeroen''s suggestion on how to use FXSplashWindow on the foxgui-users list and thought I''d try it. My attempt was as follows: require ''fox16'' include Fox app = FXApp.new("App") icon = nil File.open(''icon.gif'', ''rb'') { |f| icon = FXGIFIcon.new(app, f.read) } splash =
2008 Jun 09
1
FX ruby program error EOF
Since a week or so I am getting this error in a program which has been running fine for 6 months or so. I have a hard time running debug on this error and finding the cause. As it seems that the error is in the middle of fxruby and not in my application. I click on button1 - the first time every works perfect. Handling the next record, pressing button1 leads to this error. Any help is
2005 Jul 31
1
Re: FXRuby on OpenBSD
On Aug 1, 2005, at 4:21 AM, brett s hallett wrote: > I''m having some problems installing FXRuby on OpenBSD 3.7 > > -- Note : OpenBSD supplied Ruby 1.8.1 and fox > version /mnt/cdrom/3.7/packages/i386/fox-1.1.41.tgz > > If I try to install any FXRuby against these I get the error message > " fox version is expiremental" ( something like that !) ,
2012 Mar 17
1
Slow loading with Ruby 1.9.3 and FXRuby 1.6.23
We have been using Ruby 1.8.6 and FXRuby 1.6.16 under Windows, from the old one step installer. The following code takes less than a second to load and execute on my five-year old Windows XP PC. puts ''Starting'' require ''fox16'' puts ''Done'' With Ruby 1.9.3 and FXRuby 1.6.23, it takes 12 or more seconds. Both tests are with all files on
2008 Sep 06
0
Tab control using FXRuby
In the sample program below I have a form of 6 text fields, in a scrolling window, followed by a row of function buttons. Problems: 1) For data entry purposes I''d like the function buttons NOT to be entered by pressing Tab keys, and retain their ''clickability'', but when the user Tab''s out of the last scrolling field (postcode) to have the form scroll to the
2006 Nov 21
0
FXPNGIcon.new not working
Hi: I am running Ubuntu 6.06 on an AMD64 box. I''m running Ruby 1.85 I downloaded and compiled and installed Fox-1.6.20. In the test directory I ran several of the test programs successfully. I used gems to install fxruby-1.6.2 I went to the examples directory and tried running hello.rb. This generated lots of warnings. I found a solution on the web. Basically it called for
2008 Apr 14
3
Copy-paste between FXTable and FXTextfield
Hi, I''m using FXRuby 1.6.13 under Windows XP / Ruby 1.8.6. I''ve noticed something strange when copying-pasting things between FXTable cells, and FXTextfields. ---------------------------------------------- 1) When copying the content of an FXTextfield, and pasting it into an FXTable cell, everything works fine. 2) When selecting an FXTable cell, issuing a "copy"
2008 Oct 27
2
Using BUTTON_TOOLBAR
Hi, folks. I''m trying to make a toolbar with buttons that change appearance when hovered over with the mouse. The docs on FXButton say that using BUTTON_TOOLBAR "causes the edge of the button to be raised when the cursor moves over it." What I''m getting is buttons without any frame, but they do not change appearance when the cursor moves over them. I''m
2009 Feb 17
2
install.rb:655:in `command'': system("make") failed (RuntimeError) (GatoLinux)
I am using ruby *1.8.4* (2005-12-24). I added this code: #define RARRAY_LEN(a) \ ((RBASIC(a)->flags & RARRAY_EMBED_FLAG) ? \ (long)((RBASIC(a)->flags >> RARRAY_EMBED_LEN_SHIFT) & \ (RARRAY_EMBED_LEN_MASK >> RARRAY_EMBED_LEN_SHIFT)) : \ RARRAY(a)->as.heap.len) #define RARRAY_PTR(a) \ ((RBASIC(a)->flags & RARRAY_EMBED_FLAG) ? \
2009 Jun 23
9
Learning FXRuby please help!
Hi all, I''m trying to get text on to the screen in response to pressing a button. This code doesn''t work, and I don''t know why. My puts command says that the window is shown, but it''s not displayed. Also, it seems to me that there should be an easier way to get text on a screen in response to pressing a button. Any hints? Thanks! Marlene require
2005 Sep 03
3
Re: FXRuby issues
On Sep 3, 2005, at 3:58 AM, Gonzalo Garramuno wrote: > Sorry to bother you personally, but after working with FXRuby for the > first time on a relatively medium-sized project, I collected a list of > things that seem to be broken in fxruby (or fox), and I thought it > would be good for you guys to be aware of. > Some of these things I consider them somewhat serious in term of
2005 Dec 25
0
ruby install.rb setup failed
Hi! I can''t run fxruby setup on FreeBSD 6 (amd64, 2x opteron) I had no problems with Fox ./configure --with-shape --enable-threadsafe --enable-cups \ --with-x --with-xft --with-xcursor --with-xrandr --with-xim \ --with-profiling --with-opengl && make && make install but I get errors when I try to setup fxruby: (config shows no errors) ruby install.rb config -- \