Compiling Ruby with MSVC

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:

http://cowboyprogramming.com/2007/10/07/get-and-build-ruby-19-for-windows/

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 forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs