getting wxRuby to work on Ubuntu 11.10
2012-02-09 18:53:44 GMT
I've just subscribed to this list and now see another went through a similar process about the same time. I made a page on the wxRuby wiki with some notes about the eventual success but I am not satisfied so will be working on a better process. http://wxruby.rubyforge.org/wiki/wiki.pl?Building_WxRuby_2.0.1 That page is not meant to be a formal how-to but more so information on some of the pitfalls that occured to help others get wxRuby working. I certainly appreciate the efforts by all who have worked on this project. Have you looked at the support code for this ? I look and see not man hours of work but years. I started off wanting the latest stable ruby (1.9.3) working on my x86_64 Ubuntu 11.10 distribution with the latest wxWidgets (2.9.3). There were some set backs. The wxRuby archive is 2009, set up for wxWidgets 2.6-8.x and ruby 1.9 was freshly supported. Linux kernel was 2.4.x. So, there have been changes since then :) I thought, ok this is great to get my code skills back in shape and I was really tired of recompile cycles so wanted to use ruby to be my main logic engine for my next projects. I'm not a complete newb but haven't coded in Linux for around two years so am very rusty. I want current systems so started by with a fresh isntall of Ubuntu 11.10 Desktop x86_64. I installed the wxWidget package - saw it was only 2.8.11 so uninstalled and dl'ed wx 2.9.3, compiled and exverything looked good aside the response time for wxAUI. I then recompiled Ubuntu to enable 1000 Hz; much smoother desktop response now.(Continue reading)
> I spent a weak learning FFI in a project where I made a system
> monitor for my Logitech G15 LCD display. I'm close to saying screw
> it and just go GTK which is a C lib FFI can help support whereas
> wxWidgets is C++...nothing is ever easy :)
While it is not possible to wrap C++ libs with FFI, there’s the rb++
RubyGem that allows to do this AFAIK. However, I never used that one.
> I can make an interface C lib to wx and use FFI buuuuut really wx
> is a huge lib and the wxRuby project has already crossed that
> hurdle. I will probably dig out the property grid control code for
> 2.8.x and see how to add just that to wxRuby as a learning
> experience. Hopefully after that I will have a enough feel of
> wxRuby to plan an upgrade.
I wish you good luck. Maybe wxRuby will come to live again.
> As a side note, it looks from reading the dev portion of the wiki,
> my thoughts are in line with what the devs were planning but then
> it is like they fell from the face of the planet. I sincerely hope
> they are doing well.
RSS Feed