From: Sean O'Halpin Date: 2008-11-19T08:52:28+09:00 Subject: Re: FFI 0.1.1 (Foreign Function Interface) for Ruby 1.8.6/7 and 1.9 2008/11/18 Radosław Bułat : > I tried to run all examples but no one worked. It prints tons of: > /usr/lib/ruby/gems/1.8/gems/ffi-0.1.1/lib/ffi/ffi.rb:232: warning: > instance variable @ffi_convention not initialized > > and last line: > example-printw-variadic.rb:7: undefined method `printw' for > NCurses:Module (NoMethodError) > > -- > Pozdrawiam > > Radosław Bułat > http://radarek.jogger.pl - mój blog > Hi Radosław, my wrapper requires ffi-0.2.0 which you'll need to install from source. You can get the source from the kenai project site at http://kenai.com/projects/ruby-ffi (though you'll need to install mercurial to get it). The example ex01-ffi-dl-stdscr.rb does not currently work under Linux - I'm looking into that. The only platform I know it works on is Mac OS X Tiger. The other examples work on both OS X and Linux (with ffi-0.2.0). Regards, Sean