Forum: Ruby Compiling Ruby with MSVC

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Sergey Haritonov (Guest)
on 2009-01-17 08:45
(Received via mailing list)
Hi all.

Well, I managed to build Ruby latest snapshot with nmake. Now I need
to build Ruby as Visual Studio solution, but I just stuck in error
messages. I spent some time in lurking around and found this post:

But nothing changes. Errors still here, most of them is in Windows SDK
files such as winbase.h, looks like some typedefs broken - compiler
hasn't figure out that struct members with types like DWORD really
defined and spit "C requires that a struct or union has at least one
member" and numerous syntax errors.

Any suggestions on subj?
This topic is locked and can not be replied to.