compiling ruby-1.8.1 + official ruby installer for win?

K

KONTRA Gergely

Hi!

I'm trying to compile ruby with VS .NET. I got the following:
[...]
cl -nologo -O2 -DRUBY_EXPORT -I. -I./win32 -I. -I. -I./missing
-c -Tc./w
in32/win32.c
win32.c
win32\win32.c(743) : error C2051: case expression not constant
win32\win32.c(761) : error C2051: case expression not constant
win32\win32.c(785) : error C2051: case expression not constant
win32\win32.c(855) : error C2051: case expression not constant
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
E:\tmp\ruby-1.8.1>cl
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.00.9466 for
80x86
Copyright (C) Microsoft Corporation 1984-2001. All rights reserved.

usage: cl [ option... ] filename... [ /link linkoption... ]

Any ideas?

And what about the windows installer?

thx
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,900
Latest member
Nell636132

Latest Threads

Top