From: Wayne Meissner Date: 2008-12-13T08:43:08+09:00 Subject: Re: FFI Gem on Win32 2008/12/13 Simon Smith : > Hi, > > I need to install the 0.2.0 FFI gem for MRI on a win32 system. I have > thus far been unable to get it to compile. The issue is with nmake: > makefile(181) : fatal error U1052: file '$(srcdir)/ffi.mk' not found > Stop. Unfortunately, thats just the start of the fun on windows. There are a few code changes needed to support windows as well. I have ported the latest FFI code to windows, but building it is a bit involved - you need msys+mingw, you need to build ruby from source (matching the one-click version) using mingw, and then build the FFI gem using that new ruby install. Hopefully, there will be binary gems available for ruby-ffi 0.3.0 > P.S. I will also eventually need to install the same version on Jruby > too. JRuby already contains FFI - no need to install anything more, and is possibly the least painful way of using it on windows.