Hi,
I left unix and tried sth. on windows as I need
to ship one .exe for windows-land.
I installed the magic 1-click installer
(ruby -v says 1.7.2; 2002-07-02)
and exerb-2.2.0
Maybe I installed the wrong versions
or need to set some magic variable.
Any help would be highly appreciated.
first problem:
I look at .example/example3.rb
···
–
cd example
ruby sample3.rb #works
ruby -r exerb/mkrbc sample3.rb #works
exerb.rb -c gui sample3.rbc # works
sample3.exe # a window pops open … LoadError
# no such file to load vr/contrib/vrwincomponent
# in example/vr/contrib vrwincomponent.rb does exist
2nd problem:
I tried out a simple fox hello world skript
–Ruby code: fxtest2.rb—
require “fox”
include Fox
application = FXApp.new(“Hello”, “FoxTest”)
application.init(ARGV)
main = FXMainWindow.new(application,
“Hello”, nil, nil, DECOR_ALL)
FXButton.new(main, “&Hello, World!”, nil,
application, FXApp::ID_QUIT)
application.create
main.show(PLACEMENT_SCREEN)
application.run
ruby fxtest2.rb #works
ruby -r exerb/mkrbc fxtest2.rb #works
exerb.rb -c gui fxtest2.rbc #works
fxtest2.exe #abnorminal termination
If s.b. has sample3.rb of fxtest2.rb working,
please provide exact versions of exerb and ruby
used and also info whether I must set any variables
manually.
Thanks,
-Armin.
Armin Roehrl, http://www.approximity.com
exerb 2.2.0 is based on ruby 1.6.7; ruby 1.6.7 has significant
problems running threads, which appears to be a standard development
technique for FXRuby (I know that I used it on an application). I’ve
asked Yuya (maintainer of exerb) what would be needed to create a
1.7.3-based exerb, but have as yet received no answer.
-austin
– Austin Ziegler, austin@halostatue.ca on 2002.10.28 at 10.17.55
···
On Tue, 29 Oct 2002 00:03:09 +0900, Armin Roehrl wrote:
Hi,
I left unix and tried sth. on windows as I need to ship one .exe
for windows-land.
I installed the magic 1-click installer (ruby -v says 1.7.2;
2002-07-02) and exerb-2.2.0
Maybe I installed the wrong versions or need to set some magic
variable.
Any help would be highly appreciated.
Folks:
I have latest available of ruby, tk, and exerb on windows xp. I can get the
exerb examples to work. I cannot get /any/ Tk script to work, even the
simplest ‘Hello’. Always get ‘abnormal termination’ error.
Alan Walkington
“Armin Roehrl” armin@xss.de wrote in message
news:200210281602.38756.armin@xss.de…
Hi,
I left unix and tried sth. on windows as I need
to ship one .exe for windows-land.
I installed the magic 1-click installer
(ruby -v says 1.7.2; 2002-07-02)
and exerb-2.2.0
Maybe I installed the wrong versions
or need to set some magic variable.
Any help would be highly appreciated.
first problem:
I look at .example/example3.rb
cd example
ruby sample3.rb #works
ruby -r exerb/mkrbc sample3.rb #works
exerb.rb -c gui sample3.rbc # works
sample3.exe # a window pops open … LoadError
# no such file to load vr/contrib/vrwincomponent
# in example/vr/contrib vrwincomponent.rb does
exist
···
–
2nd problem:
I tried out a simple fox hello world skript
–Ruby code: fxtest2.rb—
require “fox”
include Fox
application = FXApp.new(“Hello”, “FoxTest”)
application.init(ARGV)
main = FXMainWindow.new(application,
“Hello”, nil, nil, DECOR_ALL)
FXButton.new(main, “&Hello, World!”, nil,
application, FXApp::ID_QUIT)
application.create
main.show(PLACEMENT_SCREEN)
application.run
ruby fxtest2.rb #works
ruby -r exerb/mkrbc fxtest2.rb #works
exerb.rb -c gui fxtest2.rbc #works
fxtest2.exe #abnorminal termination
If s.b. has sample3.rb of fxtest2.rb working,
please provide exact versions of exerb and ruby
used and also info whether I must set any variables
manually.
Thanks,
-Armin.
Armin Roehrl, http://www.approximity.com
Hi Austin,
thx a lot for the fast reply.
Threads or libraries or both are the problem.
Does sample3.rb from the exerb demos work for you?
A short tk-hello world also did not work.
(abnormal program termination)
Thanks,
-A.
···
Am Montag, 28. Oktober 2002 16:20 schrieb Austin Ziegler:
exerb 2.2.0 is based on ruby 1.6.7; ruby 1.6.7 has significant
problems running threads, which appears to be a standard development
technique for FXRuby (I know that I used it on an application). I’ve
asked Yuya (maintainer of exerb) what would be needed to create a
1.7.3-based exerb, but have as yet received no answer.
-austin
– Austin Ziegler, austin@halostatue.ca on 2002.10.28 at 10.17.55
Armin Roehrl, http://www.approximity.com
Have you tried running your executable in compatibility mode on
XP? That has worked for me on some exerb executables.
Floyd
···
On Tue, 29 Oct 2002 01:10:23 GMT, “ursus major” someone@microsoft.com wrote:
Folks:
I have latest available of ruby, tk, and exerb on windows xp. I can get the
exerb examples to work. I cannot get /any/ Tk script to work, even the
simplest ‘Hello’. Always get ‘abnormal termination’ error.
Alan Walkington
“Armin Roehrl” armin@xss.de wrote in message
news:200210281602.38756.armin@xss.de…
Hi,
I left unix and tried sth. on windows as I need
to ship one .exe for windows-land.
I installed the magic 1-click installer
(ruby -v says 1.7.2; 2002-07-02)
and exerb-2.2.0
Maybe I installed the wrong versions
or need to set some magic variable.
Any help would be highly appreciated.
first problem:
I look at .example/example3.rb
cd example
ruby sample3.rb #works
ruby -r exerb/mkrbc sample3.rb #works
exerb.rb -c gui sample3.rbc # works
sample3.exe # a window pops open … LoadError
# no such file to load vr/contrib/vrwincomponent
# in example/vr/contrib vrwincomponent.rb does
exist
2nd problem:
I tried out a simple fox hello world skript
–Ruby code: fxtest2.rb—
require “fox”
include Fox
application = FXApp.new(“Hello”, “FoxTest”)
application.init(ARGV)
main = FXMainWindow.new(application,
“Hello”, nil, nil, DECOR_ALL)
FXButton.new(main, “&Hello, World!”, nil,
application, FXApp::ID_QUIT)
application.create
main.show(PLACEMENT_SCREEN)
application.run
ruby fxtest2.rb #works
ruby -r exerb/mkrbc fxtest2.rb #works
exerb.rb -c gui fxtest2.rbc #works
fxtest2.exe #abnorminal termination
If s.b. has sample3.rb of fxtest2.rb working,
please provide exact versions of exerb and ruby
used and also info whether I must set any variables
manually.
Thanks,
-Armin.
Armin Roehrl, http://www.approximity.com
technique for FXRuby (I know that I used it on an application). I’ve
asked Yuya (maintainer of exerb) what would be needed to create a
1.7.3-based exerb, but have as yet received no answer.
No answer? Hmm he may not expose or simply forget making an announce,
but Exerb-2.3.0 is released some days ago.
From announce [ruby-list:36225]:
Quick’n dirty partial translation by me, sorry.
"Released Exerb-2.3.0, you can get it from http://exerb.sourceforge.net/
"Major changes from 2.2.0 are
- add ruby-1.7.x core.
- add ChangeLog.en.rd.
- support require.
- support major part of Apollo.
- add compression function of an archive.
- change optimizing option to `prior size’.
"# This release is actually not enough stable. Probably more precise
to be said `2.3.0-beta’."
···
In message 20021028152002.UDVG15705.tomts21-srv.bellnexxia.net@hogwarts austin@halostatue.ca writes:
–
kjana@dm4lab.to October 29, 2002
Out of sight, out of mind.
I’ve been able to get all of the exerb samples to work for me.
-austin
– Austin Ziegler, austin@halostatue.ca on 2002.10.28 at 10.52.22
Have you tried running your executable in compatibility mode on
XP? That has worked for me on some exerb executables.
Apologies – I am not a windows-person.
What does “compatability” mode mean?
I only have windows 2000 here. What would
compatability mode mean in that context?
Thanks,
Armin
···
Am Dienstag, 29. Oktober 2002 03:50 schrieb Floyd Smith:
Floyd
On Tue, 29 Oct 2002 01:10:23 GMT, “ursus major” > > someone@microsoft.com wrote:
Folks:
I have latest available of ruby, tk, and exerb on windows xp. I can get
the exerb examples to work. I cannot get /any/ Tk script to work, even
the simplest ‘Hello’. Always get ‘abnormal termination’ error.
Alan Walkington
“Armin Roehrl” armin@xss.de wrote in message
news:200210281602.38756.armin@xss.de…
Hi,
I left unix and tried sth. on windows as I need
to ship one .exe for windows-land.
I installed the magic 1-click installer
(ruby -v says 1.7.2; 2002-07-02)
and exerb-2.2.0
Maybe I installed the wrong versions
or need to set some magic variable.
Any help would be highly appreciated.
first problem:
I look at .example/example3.rb
cd example
ruby sample3.rb #works
ruby -r exerb/mkrbc sample3.rb #works
exerb.rb -c gui sample3.rbc # works
sample3.exe # a window pops open … LoadError
# no such file to load vr/contrib/vrwincomponent
# in example/vr/contrib vrwincomponent.rb does
exist
–
2nd problem:
I tried out a simple fox hello world skript
–Ruby code: fxtest2.rb—
require “fox”
include Fox
application = FXApp.new(“Hello”, “FoxTest”)
application.init(ARGV)
main = FXMainWindow.new(application,
“Hello”, nil, nil, DECOR_ALL)
FXButton.new(main, “&Hello, World!”, nil,
application, FXApp::ID_QUIT)
application.create
main.show(PLACEMENT_SCREEN)
application.run
ruby fxtest2.rb #works
ruby -r exerb/mkrbc fxtest2.rb #works
exerb.rb -c gui fxtest2.rbc #works
fxtest2.exe #abnorminal termination
If s.b. has sample3.rb of fxtest2.rb working,
please provide exact versions of exerb and ruby
used and also info whether I must set any variables
manually.
Thanks,
-Armin.
Armin Roehrl, http://www.approximity.com
–
-A.
Armin Roehrl, http://www.approximity.com
Training, Development and Mentoring
OOP, XP, Java, Ruby, Smalltalk, .Net, Datamining, Parallel computing,
Webservices
How could you do all that?
I did not know it was hard.
–??
Which ruby- (1-click installer-verson by Andy&Dave) and which exerb-version
are you using?
Thanks a lot.
A
···
Am Montag, 28. Oktober 2002 16:53 schrieb Austin Ziegler:
I’ve been able to get all of the exerb samples to work for me.
Compatibility mode is only available in XP I think. It
supposedly allows you program to run as it were started in
another version of Windows such as Win98 or NT. The problems
that I have encountered with exerb generated executables were
overcome by using this option.
Floyd
···
On Sat, 2 Nov 2002 04:33:08 +0900, Armin Roehrl armin@xss.de wrote:
Am Dienstag, 29. Oktober 2002 03:50 schrieb Floyd Smith:
Have you tried running your executable in compatibility mode on
XP? That has worked for me on some exerb executables.
Apologies – I am not a windows-person.
What does “compatability” mode mean?
I only have windows 2000 here. What would
compatability mode mean in that context?
Thanks,
Armin
Floyd
On Tue, 29 Oct 2002 01:10:23 GMT, “ursus major” >> >> someone@microsoft.com wrote:
Folks:
I have latest available of ruby, tk, and exerb on windows xp. I can get
the exerb examples to work. I cannot get /any/ Tk script to work, even
the simplest ‘Hello’. Always get ‘abnormal termination’ error.
Alan Walkington
“Armin Roehrl” armin@xss.de wrote in message
news:200210281602.38756.armin@xss.de…
Hi,
I left unix and tried sth. on windows as I need
to ship one .exe for windows-land.
I installed the magic 1-click installer
(ruby -v says 1.7.2; 2002-07-02)
and exerb-2.2.0
Maybe I installed the wrong versions
or need to set some magic variable.
Any help would be highly appreciated.
first problem:
I look at .example/example3.rb
cd example
ruby sample3.rb #works
ruby -r exerb/mkrbc sample3.rb #works
exerb.rb -c gui sample3.rbc # works
sample3.exe # a window pops open … LoadError
# no such file to load vr/contrib/vrwincomponent
# in example/vr/contrib vrwincomponent.rb does
exist
–
2nd problem:
I tried out a simple fox hello world skript
–Ruby code: fxtest2.rb—
require “fox”
include Fox
application = FXApp.new(“Hello”, “FoxTest”)
application.init(ARGV)
main = FXMainWindow.new(application,
“Hello”, nil, nil, DECOR_ALL)
FXButton.new(main, “&Hello, World!”, nil,
application, FXApp::ID_QUIT)
application.create
main.show(PLACEMENT_SCREEN)
application.run
ruby fxtest2.rb #works
ruby -r exerb/mkrbc fxtest2.rb #works
exerb.rb -c gui fxtest2.rbc #works
fxtest2.exe #abnorminal termination
If s.b. has sample3.rb of fxtest2.rb working,
please provide exact versions of exerb and ruby
used and also info whether I must set any variables
manually.
Thanks,
-Armin.
Armin Roehrl, http://www.approximity.com
ruby 1.6.7-5 (latest) and exerb 2.2.0; I’m also using ruby
1.7.3-whatever (latest) and that’s my primary environment.
-austin
– Austin Ziegler, austin@halostatue.ca on 2002.10.28 at 12.07.50
···
On Tue, 29 Oct 2002 01:56:57 +0900, Armin Roehrl wrote:
Am Montag, 28. Oktober 2002 16:53 schrieb Austin Ziegler:
I’ve been able to get all of the exerb samples to work for me.
Which ruby- (1-click installer-verson by Andy&Dave) and which
exerb- version are you using?
Thanks for your help.
I do not know what the problem is here.
I did the usual uninstall-, install-work.
I look at sample3.rb
I can convert it into sample3.exe, but
sample3.exe will not run.
I get a Load Error.
–
vr/vruby.ch:987:in require': No such file to lad -- vr/contrib/vrwincomponent (LoadError) from vr/vruby.rb:987: in
require’
from vr/vruby.rb:987
···
Am Montag, 28. Oktober 2002 18:09 schrieb Austin Ziegler:
ruby 1.6.7-5 (latest) and exerb 2.2.0; I’m also using ruby
1.7.3-whatever (latest) and that’s my primary environment.
sample3.rbc contains vr/contrib/vrwincomponent.rb.
BTW, I run windows 2000.
Looks like sth. small which I am missing.
Any ideas? Totally clueless,
-A.
P.S: Yes I tried the latest ruby 1.7.3 and exerb 2.2.3 … no luck …
Armin Roehrl, http://www.approximity.com
Training, Development and Mentoring
OOP, XP, Java, Ruby, Smalltalk, .Net, Datamining, Parallel computing,
Webservices
How could you do all that?
I did not know it was hard.
–??