search for: fox16

Displaying 20 results from an estimated 24 matches for "fox16".

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 resolve it? thanks...
2007 Feb 03
0
Bus error in IRB when trying: require "fox16"
...Just curious: Why still running Ruby 1.8.1? > FXRuby 1.6.5 > Fox 1.6.21 > RubyGems 0.9.1 > > Fox and FXRuby, when compiled they say they compiled succesfully, I have > also recompiled FXRuby with RubyGems, all being successful. I then go > into irb and type require ''fox16'' and I get this message returned: > > /sw/lib/ruby/site_ruby/1.8/powerpc-darwin/fox16.bundle: [BUG] Bus Error > ruby 1.8.1 (2003-12-25) [powerpc-darwin] > Abort trap OK, that''s bad. When I say that''s bad, I mean, I don''t recall ever seeing ruby outri...
2008 Jul 12
4
problem
...-- 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. Here is a printout of what I see: >> require ''rubygems'' => false >> require ''fox16'' LoadError: dlopen(/Library/Ruby/Gems/1.8/gems/fxruby-1.6.16-universal-darwin-9/ext/fox16/fox16.bundle, 9): Library not loaded: /usr/local/lib/libFOX-1.6.0.dylib Referenced from: /Library/Ruby/Gems/1.8/gems/fxruby-1.6.16-universal-darwin-9/ext/fox16/fox16.bundle Reason: image not found...
2009 Jun 06
2
FXRuby Installation failing
...ERROR: Error installing fxruby-1.6.19.gem: ERROR: Failed to build gem native extension. /usr/local/bin/ruby extconf.rb Gem files will remain installed in /usr/local/lib/ruby/gems/1.8/gems/fxruby-1.6.19 for inspection. Results logged to /usr/local/lib/ruby/gems/1.8/gems/fxruby-1.6.19/ext/fox16/gem_make.out root at at91sam9263ek:~$ cat /usr/local/lib/ruby/gems/1.8/gems/fxruby-1.6.19/ext/fox16/gem_make.out /usr/local/bin/ruby extconf.rb The foxlib example program ''Calculator'' works well. Using libFOX-1.6.so.0.0.36. But fxruby install doesnt finish. During my previous...
2009 May 06
3
Using ActiveRecord in FXRuby application
...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 code: require ''rubygems'' require ''active_record'' require File.expand_path(File.dirname(__FILE__) + "/question_set") # require ''fox16'' # include Fox...
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 /usr/lib/ruby/gems/1.8/gems/fxruby-1.6.16/lib/fox16/kwargs.rb:2007:in `initialize'' from -:32:in `new'' from -:32:in `initialize'' from -:75:in `new'' from -:75...
2009 Jan 27
4
foxGUIb - believe it''s intalled okay but....
I''ve tried calling foxGUIb from command line as ... ruby foxGUIb.rb got an error - no file found by that name ruby /usr/bin/foxGUIb.rb again got error to say i didn''t have permissions sudo ruby /usr/foxGUIb.rb and got informed .... /usr/bin/foxGUIb.rb:7:in `require'': no such file to load -- version (LoadError) from /usr/bin/foxGUIb.rb:7 Now do i need to add
2009 May 18
0
FxRuby failing on Ruby 1.9.1 windows
...gt; 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) > > --- > My problem is: require ''fox16'' fails with a OS error message > complaining > "Can not start application because msvcrt-ruby18.dll is not found". > After closing the error window the console reads: > > >ruby test.rb > test.rb:2:in `require'': 126: A megadott modul nem talalhato...
2010 Jul 09
8
Repository of sample FXRuby programs?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><title>Repository of sample FXRuby programs?</title> <META http-equiv=Content-Type content="text/html; charset=windows-1252"> <meta http-equiv="Content-Style-Type" content="text/css"> <style type="text/css"><!-- body {
2008 Apr 13
3
fxruby gem install problem
...PIC -O0 -Iinclude -c fx3d_wrap.cpp g++ -I. -I. -I/usr/lib/ruby/1.8/i486-linux -I. -DHAVE_SYS_TIME_H -DHAVE_SIGNAL_H -I/usr/local/include/fxscintilla -I/usr/local/include/fox-1.6 -I/usr/include/fox-1.6 -fPIC -fno-strict-aliasing -g -O2 -fPIC -O0 -Iinclude -c FXRbDataTarget.cpp cc -shared -o fox16.so librb.o mdi_wrap.o list_wrap.o image_wrap.o treelist_wrap.o iconlist_wrap.o dialogs_wrap.o table_wrap.o layout_wrap.o markfuncs.o dc_wrap.o unregisterOwnedObjects.o text_wrap.o label_wrap.o FXRbApp.o core_wrap.o icons_wrap.o ui_wrap.o menu_wrap.o impl.o FXRbGLViewer.o frames_wrap.o FXRuby.o...
2009 Jun 23
9
Learning FXRuby please help!
...de 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 ''fox16'' include Fox class Lookup < FXMainWindow def initialize(app) super(app, "Lookup window", :width=>400, :height=>600, :opts => DECOR_ALL|LAYOUT_FILL_X|LAYOUT_FILL_Y) bframe = FXHorizontalFrame.new(self, :opts => LAYOUT_FILL_X) hearButton = FXButton...
2008 Oct 27
2
Using BUTTON_TOOLBAR
...." What I''m getting is buttons without any frame, but they do not change appearance when the cursor moves over them. I''m running Ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32] on Microsoft Windows Vista [Version 6.0.6001]. Here''s my code: require ''fox16'' include Fox class MainWindow < FXMainWindow def initialize(app) super(app, "Toolbar Example", :width => 485, :height => 300) tool_bar_shell = FXToolBarShell.new(self) top_dock_site = FXDockSite.new(self, :opts => LAYOUT_FILL_X|LAYOUT_SIDE_T...
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 = FXSplashWindow.new(app,icon) splash.create splash.show(PLACEMENT_OWNER) app.runModalWhileShown(s...
2008 Jun 09
1
FX ruby program error EOF
...:/ruby/lib/ruby/1.8/net/protocol.rb:126:in `readline'' from C:/ruby/lib/ruby/1.8/net/http.rb:2017:in `read_status_line'' from C:/ruby/lib/ruby/1.8/net/http.rb:2006:in `read_new'' ... 14 levels... from C:/ruby/lib/ruby/gems/1.8/gems/fxruby-1.6.13-mswin32/lib/fox16/responder2.rb:55:in `call'' from C:/ruby/lib/ruby/gems/1.8/gems/fxruby-1.6.13-mswin32/lib/fox16/responder2.rb:55:in `onHandleMsg'' from C:/rubydev/ch06/monitor/trade.rb:1754:in `run'' from C:/rubydev/ch06/monitor/trade.rb:1754 -------------- next part -------...
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 my local hard drive. I understand that Ruby 1.9.x on Windows has performance problems with ''require'', but I am wondering if anyone knows a...
2008 Apr 11
1
fxtreelist question
Hello, I''m new to Ruby and new to FXRuby. How to dump a fxtreelist to an XML? Thanks. _________________________________________________________________ Get in touch in an instant. Get Windows Live Messenger now. http://www.windowslive.com/messenger/overview.html?ocid=TXT_TAGLM_WL_Refresh_getintouch_042008 -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Nov 21
0
FXPNGIcon.new not working
...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 removing all the require ''fox16'' lines in the programs in gem lib directory. I did this and ran hello.rb without warnings. I then tried running iconlist.rb. The program ran but the folder icons did not display. Instead of the icons there was a box with PNG inside. I added the following code. if FXPNGIcon.supporte...
2007 Jul 28
1
Fxruby 1.6.11 installation error
...9;: include/inlinestubs.h:20: warning: deprecated conversion from string constant to ''char*'' make: *** [ui_wrap.o] Error 1 Gem files will remain installed in /usr/lib/ruby/gems/1.8/gems/fxruby-1.6.11 for inspection. Results logged to /usr/lib/ruby/gems/1.8/gems/fxruby-1.6.11/ext/fox16/gem_make.out I also tried with source package but with no luck. Some info: ruby 1.8.6 (2007-06-07 patchlevel 36) [i686-linux] gem 0.9.4 fox 1.6.27 gcc 4.2.1 Any ideas?
2010 Apr 09
2
Problem detecting keypresses in FXTable
I''m using an RXTable in my application and I would like to be able to select a row and then press the Delete key to delete the selected row. This does not seem to work, however, as apparently keypresses are not initially recognized. In my FXTable derived class I have: connect(SEL_KEYRELEASE) do |sender, selector, event| puts "code = #{''%X'' %
2008 Sep 06
0
Tab control using FXRuby
...r some data, then Tab, the scroller functions and the next fields are displayed. Thanks ============================================== #!/usr/bin/env ruby # zestaddr2.rb # Generated by RubyFXGen.rb Ver 0.9a on :Mon Sep 01 17:20:31 +1000 2008 # plus added code to setup scroller require ''fox16'' include Fox class MainWindow < FXMainWindow def initialize(app) super( app, ''Zest Address Entry'') self.width = 422 self.height = 250 amain= FXVerticalFrame.new(self,LAYOUT_NORMAL|LAYOUT_FILL_X|LAYOUT_FILL_Y) main = FXScrollWindow.new(amain, LAYOUT_FILL_X|LAY...