Forum: Ruby C extensions in Vista

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
9a167f5cc00e676a74346cc647d59d94?d=identicon&s=25 Doug (Guest)
on 2009-01-17 23:31
(Received via mailing list)
I'm posting this to document this effort (for me, and any other poor
soul who has to do this....)
After some painful trial and error, I finally figured out how to do
this.....

The key was discovering Al Hoeng's post:
http://blogs.law.harvard.edu/hoanga/2006/12/14/get...

He tells you to download and install the Windows SDK, but his link is
now broken.
....hey, it's ok, he wrote that awhile ago!:-)

Since I have Vista, I poked around Microsoft and found this one:
http://www.microsoft.com/downloads/details.aspx?fa...

It is over 1GB, so it does take awhile.
....btw: the download worked better using IE (go figure!)

Now I had already tried Visual Studio Express 2008 (and 2005) and had
edited the config.h file.
...I haven't figured out yet if those steps are really required or
not...

and then it worked!
by that I mean, I compiled and ran the example in Programming Ruby.

Note: I did NOT have to create the manifest manually as described in
Al's part 2 posting:
http://blogs.law.harvard.edu/hoanga/2006/12/19/get...

=================
so, I'm now off to see what else I can compile!!!!!
...maybe something real....
F1d6cc2b735bfd82c8773172da2aeab9?d=identicon&s=25 Nobuyoshi Nakada (nobu)
on 2009-01-19 22:21
(Received via mailing list)
Hi,

At Sun, 18 Jan 2009 07:29:29 +0900,
Doug wrote in [ruby-talk:325228]:
> Now I had already tried Visual Studio Express 2008 (and 2005) and had
> edited the config.h file.
> ...I haven't figured out yet if those steps are really required or
> not...

Editing config.h is an autogenerated file and you must not edit
it.
This topic is locked and can not be replied to.