From: Steve Tuckner Date: 2003-02-12T03:57:57+09:00 Subject: Re: FreeRide and FXScintilla This is a multi-part message in MIME format. ------=_NextPart_000_0149_01C2D1CD.315D3C90 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Sorry to reply to my own post, but I found a config option from the fxruby.org website documentation appendix. I assume this will work. Sorry to have bothered yo'all :-( Steve -----Original Message----- From: Steve Tuckner [mailto:STUCKNER@MULTITECH.COM] Sent: Tuesday, February 11, 2003 12:48 PM To: ruby-talk ML Subject: FreeRide and FXScintilla Hello all, I am trying to get Free Ride running on my Red Hat 8.0 box and trying to get a fxscintilla window running for my own apps. Here is what I have done so far: 1. I got fox 1.0.26, made it and installed it with the option --with-opengl=opengl. It worked fine, examples worked fine. 2. I got FXRuby 1.0.19 and set it up and installed it (with no special options). It worked fine, examples worked fine. 3. It got FXScintilla 1.49.1 made it and installed it (with no special options). It worked fine (as far as I can tell). There is no example program to run to see it come up on the screen with an editiing window. 4. I untar free-ride version and then run 'sh run.bat'. Free ride comes up and then I select new from the menu and get an exception saying... ./plugins/rubyide_fox_gui/editpane.rb:81:in `initialize': uninitialized constant FXScintilla at FreeRIDE::FoxRenderer::EditPane::Renderer (NameError) from ./plugins/rubyide_fox_gui/editpane.rb:47:in `new' from ./plugins/rubyide_fox_gui/editpane.rb:47:in `start' from ./plugins/rubyide_fox_gui/editpane.rb:32:in `call' from ./freebase/databus.rb:613:in `notify' from ./freebase/databus.rb:610:in `each_value' from ./freebase/databus.rb:610:in `notify' from ./freebase/databus.rb:619:in `notify' from ./freebase/databus.rb:215:in `initialize' ... 24 levels... from ./freebase/core.rb:35:in `new' from ./freebase/core.rb:35:in `startup' from freeride.rb:53:in `startup' from freeride.rb:66 So I went down the path to see if fxscintilla is working correctly. I took the simple program from the fxscintilla readme and compiled it and it worked! Now if I look in the FXRuby installation, there is a scintilla-test.rb in the examples directory. This fails, saying that the initialize should have 0 parameters instead of four. There is a file in FXRuby/ext/fox called scintilla_wrap.cpp.bak. Why is it a .bak? Answers to any of the above questions would be welcome. Thanks in advance, Steve Tuckner ------=_NextPart_000_0149_01C2D1CD.315D3C90 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Sorry=20 to reply to my own post, but I found a config option from the = fxruby.org website=20 documentation appendix. I assume this will work. Sorry to have bothered = yo'all=20 :-(
 
Steve
-----Original Message-----
From: Steve Tuckner=20 [mailto:STUCKNER@MULTITECH.COM]
Sent: Tuesday, February 11, = 2003=20 12:48 PM
To: ruby-talk ML
Subject: FreeRide and=20 FXScintilla

Hello=20 all,
 
I = am trying to get=20 Free Ride running on my Red Hat 8.0 box and trying to get a = fxscintilla=20 window running for my own apps. Here is what I have done so=20 far:
 
1. = I got fox=20 1.0.26, made it and installed it with the option = --with-opengl=3Dopengl. It=20 worked fine, examples worked fine.
2. = I got FXRuby=20 1.0.19 and set it up and installed it (with no special options). = It=20 worked fine, examples worked fine.
3. = It got=20 FXScintilla 1.49.1 made it and installed it (with no special = options). It=20 worked fine (as far as I can tell). There is no example program to = run to see=20 it come up on the screen with an editiing window.
4. = I untar=20 free-ride version and then run 'sh run.bat'.
 
Free ride comes up=20 and then I select new from the menu and get an exception=20 saying...
 
./plugins/rubyide_fox_gui/editpane.rb:81:in `initialize': = uninitialized=20 constant
 FXScintilla at = FreeRIDE::FoxRenderer::EditPane::Renderer=20 (NameError)
        from=20 ./plugins/rubyide_fox_gui/editpane.rb:47:in=20 `new'
        from=20 ./plugins/rubyide_fox_gui/editpane.rb:47:in=20 `start'
        from=20 ./plugins/rubyide_fox_gui/editpane.rb:32:in=20 `call'
        from=20 ./freebase/databus.rb:613:in=20 `notify'
        from=20 ./freebase/databus.rb:610:in=20 `each_value'
        from=20 ./freebase/databus.rb:610:in=20 `notify'
        from=20 ./freebase/databus.rb:619:in=20 `notify'
        from=20 ./freebase/databus.rb:215:in=20 `initialize'
         ... = 24=20 levels...
        from=20 ./freebase/core.rb:35:in = `new'
       =20 from ./freebase/core.rb:35:in=20 `startup'
        from = freeride.rb:53:in=20 `startup'
        from=20 freeride.rb:66
 
So = I went down the=20 path to see if fxscintilla is working correctly. I took the simple = program=20 from the fxscintilla readme and compiled it and it = worked!
 
Now = if I look in=20 the FXRuby installation, there is a scintilla-test.rb in the examples = directory. This fails, saying that the initialize should have 0 = parameters=20 instead of four. There is a file in FXRuby/ext/fox called=20 scintilla_wrap.cpp.bak. Why is it a .bak?
 
Answers to any of=20 the above questions would be welcome.
 
Thanks in=20 advance,
 
Steve=20 Tuckner
------=_NextPart_000_0149_01C2D1CD.315D3C90--