[fxruby-users] Will FXRuby be ready to use with Ruby 2.0.0 x64 andx32 on Windows?

Damián M. González gonzalezdamianm at hotmail.com
Tue Feb 26 12:12:51 UTC 2013


 Lars, thanks for the quickly response. I think by now that I'll wait for the next release of the gem(the one that will have compatibility with Ruby 2.0 32 and 64 bits on Windows) because I don't feel sure about what am I doing in the field of compiling C++ libraries and related things, by now I'm not a pro. Sadly you should not wait a patch from me, sorry, meaby in the future I can help with those things. So I'll wait, again: thanks for response.
 Kind regards. Damián.

Date: Tue, 26 Feb 2013 12:56:23 +0100
From: lars at greiz-reinsdorf.de
To: fxruby-users at rubyforge.org
Subject: Re: [fxruby-users] Will FXRuby be ready to use with Ruby 2.0.0 x64 andx32 on Windows?

Hi Damian,

in order to compile the fxruby gem on Windows you should follow: https://github.com/lylejohnson/fxruby/wiki/Setting-Up-a-Windows-Build-Environment


The binary gem is built per cross compilation on Linux and does not (yet) work on Ruby-2.0. The build process needs some updates to properly provide Ruby-2.0 and 32+64-bit binaries. I'll probably have a look at it, within the next weeks - but patches are always welcome :-)


Regards,
Lars


2013/2/26 Damián M. González <gonzalezdamianm at hotmail.com>





 Hi Lars, people. I've realized that currently the gem(version 1.6.26) doesn't work with Ruby 2.0.0 in Windows 32 bits, neither the 64 bits version, I'm talking about the versions listed here: http://rubyinstaller.org/downloads/ . There you can see both versions of Ruby and also the both versions of the DevKit: mingw64-32 and mingw64-64. I've tested with both cases and in none of them the gem can be installed, it raises and error(now I'm not in my computer so can't show it, sorry) about compilation.
 Let me guide you through my investigation about why it doesn't work: first I though that was a DevKit problem, so I've openned an issue in the bug tracker getting quickly answers: https://github.com/oneclick/rubyinstaller/issues/152 , the important part of that topic is: 

 "Emphasis on existing pre-compiled gems will not work.

You need to read each gem documentation for the requirements. I guess fxruby will require you have headers and libraries for fx to build GUI applications, so can't comment further on the requirements.
Again, 2.0.0 is brand new, lot of things might not work, but basic Ruby + DevKit setup should work out of the box along the installation instructions."

  second: I've read this topic where a Ruby user have the same problem but with another gem(sqlite3): http://www.ruby-forum.com/topic/4411307#new. The most important thing of the topic is:


 "On Sun, Feb 24, 2013 at 6:58 PM, Richard Campbell <betam4x at gmail.com> 
wrote:
> Awesome!  Great work!  Though I am already having issues with the 64 bit
> version and sqlite3.
>

sqlite3 gem?

As indicated in the "Important Notes", existing pre-compiled gems will
not work with Ruby 2.0 as the gems do not contain pre-compiled
extension for it.

You need to force compilation, which requires you install development
headers and libraries that are dependencies of the gem/extension
you're trying to compile.

So: to compile sqlite3 for Ruby 2.0, you need:

* sqlite3 headers and libraries compiled and available
* force installation of sqlite3 to use "ruby" platform (as indicated
in the notes) and provide the directory where it will find sqlite3
headers and libraries.

For sqlite3 will be something like

gem install sqlite3 --platform=ruby --
--with-sqlite3-include=C:/path/to/sqlite3/include
--with-sqlite3-lib=C:/path/to/sqlite3/lib

See the documentation of each gem about that."
  So as I'm not familiar with the libraries and headers of the C++ fox toolkit, I have no idea what to do. I'm wondering if will be an update of the gem to be supported with the new version of Ruby and the news DevKit. Thank you so much.

 Kind regards. Damián.
 		 	   		  

_______________________________________________

fxruby-users mailing list

fxruby-users at rubyforge.org

http://rubyforge.org/mailman/listinfo/fxruby-users



_______________________________________________
fxruby-users mailing list
fxruby-users at rubyforge.org
http://rubyforge.org/mailman/listinfo/fxruby-users 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/fxruby-users/attachments/20130226/82127918/attachment-0001.html>


More information about the fxruby-users mailing list