Re: Extending ruby with c



Good news:
I got CL to work! i donlowaded Visual C++ Toolkit 2003 for free and now cl
works.

Bad news:
now i get a differnt error.

C:\ruby\code>nmake

Microsoft (R) Program Maintenance Utility Version 1.50
Copyright (c) Microsoft Corp 1988-94. All rights reserved.

cl -nologo -MD -Zi -O2b2xg- -G6 -I.
-Ic:/ruby/lib/ruby/1.8/i386-mswin32
-Ic:/ruby/lib/ruby/1.8/i386-mswin32 -IC:/ruby/code -I. -I./..
-I./../missing -c
-TcTest.c
Test.c
c:\ruby\lib\ruby\1.8\i386-mswin32\win32\win32.h(25) : fatal error C1083:
Cannot
open include file: 'windows.h': No such file or directory
NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0x2'
Stop.

C:\ruby\code>

Becker

On 1/21/06, ruby talk <rubytalk@xxxxxxxxx> wrote:
>
> For the other program i get this error. I will never win at this. I am
> currently downloading the 2005 express c++ it should have the cl.exe file?
>
>
> iv@SLAB-1298E5B638 /c/ruby/code
> $ make
> Makefile:105: *** target pattern contains no `%'. Stop.
>
>
> Becker
>
> On 1/20/06, ruby talk < rubytalk@xxxxxxxxx> wrote:
> >
> > Thank you i found nmake at
> > http://support.microsoft.com/default.aspx?scid=kb;en-us;Q132084
> >
> > using nmake i get this error
> > C:\ruby\code>nmake
> >
> > Microsoft (R) Program Maintenance Utility Version 1.50
> > Copyright (c) Microsoft Corp 1988-94. All rights reserved.
> >
> > cl -nologo -MD -Zi -O2b2xg- -G6 -I.
> > -Ic:/ruby/lib/ruby/1.8/i386-mswin32
> > -Ic:/ruby/lib/ruby/1.8/i386-mswin32 -IC:/ruby/code -I. -I./..
> > -I./../missing -c
> > -TcTest.c
> > 'cl' is not recognized as an internal or external command,
> > operable program or batch file.
> > NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code
> > '0x1'
> > Stop.
> >
> > C:\ruby\code>
> >
> > I will try the other program next.
> > Becker
> >
> > On 1/20/06, Eero Saynatkari < ruby-forum-reg@xxxxxxxxxxxxxx> wrote:
> > >
> > > ruby talk wrote:
> > > > Hello,
> > > > i created the .rb
> > > > [code]
> > > > require 'mkmf'
> > > >
> > > > dir_config("Test")
> > > >
> > > > create_makefile("Test")
> > > > [code]
> > > >
> > > > but it only created the makefile which in windows make is not a
> > command.
> > > > What do i do with the file instead?
> > >
> > > Windows can use a program called 'nmake' that you can use.
> > > In addition to this, you would need to install a C compiler.
> > > Microsoft does offer a free version of theirs. Both should
> > > be available somewhere on http://www.msdn.com.
> > >
> > > Alternatively, you could install the MinGW toolkit from
> > > http://www.mingw.org , it provides minimal GNU tools.
> > >
> > > > Becker
> > >
> > >
> > > E
> > >
> > > --
> > > Posted via http://www.ruby-forum.com/.
> > >
> > >
> >
> >
>
>


Relevant Pages

  • Re: Extending ruby with c
    ... > Bad news: ... > Copyright Microsoft Corp 1988-94. ... >>> using nmake i get this error ...
    (comp.lang.ruby)
  • Dont be amuazed with my title just read it
    ... News services ... Microsoft make it unnecessarily difficult to upgrade from an Xbox 360 ... He has been an Xbox user since the original console launched in 2002, ...
    (alt.comp.hardware.pc-homebuilt)
  • Re: Word 2004 compatibility with Word 2003 SP3
    ... When's the last time you actually saw a "news item" presented from exactly ... earlier file formats wasn't serious enough to be addressed in such a severe ... uncertainty and doubt about products that compete with Microsoft products. ...
    (microsoft.public.mac.office.word)
  • Re: W32.Swen.A
    ... I think Microsoft should value it customers enough to provide the support we need in ... There are greater than 30,000 News Groups. ... | with good intentions, people with nefarious intentions, news bots and the Swen worm. ...
    (microsoft.public.security.virus)
  • Is this a hoax
    ... It was on the news!] ... > and AOL ... Microsoft and AOL ... after receiving ...
    (microsoft.public.security)