From: Sean O'Halpin Date: 2005-10-07T09:08:55+09:00 Subject: Re: RubyInline (Was: Re: Can ruby replace c?) On 10/7/05, Eric Hodel wrote: > No, it should work on Windows too provided you built your own Ruby. > You may need to set some ENV vars as well (like HOME or INLINE_DIR). I was wrong - it almost works with the One-Click Installer version. I just didn't try hard enough. The problem appears to be that it isn't picking up msvcrt-ruby18.lib on the LINK step. It compiles when I copy the cl command line from the error output and add the lib like so: cl -nologo -LD -MD -Zi -O2b2xg- -G6 -I c:/ruby/lib/ruby/1.8/i386-mswin32 -o Inline_MyTest_cb89.so Inline_MyTest_cb89.c msvcrt-ruby18.lib -link /INCREMENTAL:no /EXPORT:Init_Inline_MyTest_cb89 (with c:\ruby\lib added to the LIB environment variable) but how do I get RubyInline to do this? Any pointers anyone? (I'd love to play with this) Sean