Forums | Admin

Discussion Forums: open-discussion

Start New Thread Start New Thread

 

By: Jan Pilz
RE: mingw32 gem needed [ reply ]  
2010-03-26 15:12
Hi Klaus,

gem install qtruby4 should work

http://rubygems.org/gems/qtruby4

but you need Ruby 1.8.x because i built qtruby4 with it!
Your ruby 1.9.X does not recognize .dll as extension, in Standalone installer .dll and .so are accepted for extensions.

Please try latest 1.8.x installer.

By: Klaus-Dieter Gundermann
RE: mingw32 gem needed [ reply ]  
2010-03-13 22:52
Hi Jan,

i have tried qtruby4 today on WindowsXP using
ruby 1.9.1p378 (2010-01-10 revision 26273) [i386-mingw32]

First I had to download qtruby4 by hand, a gem install wont work ?!?!

$ gem list -r qtruby

*** REMOTE GEMS ***

qtruby4 (2.1.0)

$ gem install qtruby4
ERROR: could not find gem qtruby4 locally or in a repository

and running a simple example gave me:

$ ruby hello_world.rb
c:/Ruby19/lib/ruby/gems/1.9.1/gems/qtruby4-2.1.0-x86-mswin32/lib/Qt4.
quire': 126: Das angegebene Modul wurde nicht gefunden. - c:/Ruby19
ems/1.9.1/gems/qtruby4-2.1.0-x86-mswin32/lib/qtruby4.so (LoadError)

Ruby is looking for a qtruby.so but I only have a qtruby4.dll

I renamed qtruby4.dll to qtruby4.so ;-)) but that gave me a windows error message regarding a missing msvcrt-ruby18.dll

Viele Grüße

Klaus

By: Jan Pilz
RE: mingw32 gem needed [ reply ]  
2010-03-01 14:12
Dear Lutz,

why can't you use mswin32 builds?

Maybe the only thing you have to install is Visual C++ Runtime from Microsoft

By: Lutz Mueller
mingw32 gem needed [ reply ]  
2010-02-21 05:36
greetings,

would it be possible to put a mingw32 binary qtruby4 gem in the files section, besides the mswin32 version?

It appears that both my ruby and my Qt SDK are mingw32 based, and to be honest, my skills are insufficient to build qtruby4 from source.

Barring that, has anyone successfully built qtruby4 under mingw32 and would not mind sharing a URL?

I'd be most grateful.

regards,

Lutz