From: "Berger, Daniel" Date: 2005-06-06T23:58:56+09:00 Subject: Re: help, I can't compile an extension on windows > -----Original Message----- > From: Lionel Thiry [mailto:lthiryidontwantspam@skynetnospam.be] > Sent: Monday, June 06, 2005 8:50 AM > To: ruby-talk ML > Subject: Re: help, I can't compile an extension on windows > > > ES a �crit : > > Le 5/6/2005, "Lionel Thiry" a > > �crit: > > > >>Daniel Berger a �crit : > >> > >>>Lionel Thiry wrote: > >>> > >>>>I launch it, I then launch make (the mingw version of > make, I don't > >>>>have M$ make. Someone know where I can freely get it?) > >>> > >>> > >>>http://www.rubygarden.org/ruby?WindowsCompiler > >>> > >>>If you follow these instructions, you should have nmake. > >>> > >> > >>I have it now, and it still don't work. There is something about a > >>missing windows.h that I can't find anywhere. I can't find > excepted in > >>my MinGw include dir, but if I add it to the INCLUDE var, I get > >>another bunch of errors (probably some kind of incompatibilities > >>between cl compiler and mingw headers) > > > > > > You should not be mixing cl and MinGW... > > I haven't. This what I tried to explained: if I mix them, I > get errors, so I don't. > > > use whichever tool your > > version of Ruby was compiled with. You can get the MS tools > as a free > > (your soul does not count) download if you need them. > > I already have all the MS tools I should use: nmake, cl, > link, and the headers and libs, and so on. But I got the > error of windows.h missing, and there are no windows.h > anywhere in MS include stuff. Then you must not have the platform SDK. You should have a directory like 'C:\Program Files\Microsoft Platform SDK for Windows XP SP2'. There should be an 'include' subdirectory there, and that's where your windows.h file should be. Regards, Dan