A
A. Vaillancourt
Hi everybody!
I'm trying to compile Ruby 1.9.1 with Visual Studio 2008 Express and I'm
getting an error... and I do have my environnements variables set (PATH)
I am doing everything as written in the readme file...
(win32/configure.bat, nmake) It is compiling for a while and then I get
this error, always at the same place
cl -nologo main.obj dmydln.obj dmyencoding.obj miniprelude.obj array.ob
j bignum.obj class.obj compar.obj complex.obj dir.obj enum.obj
enumerator
obj error.obj eval.obj load.obj proc.obj file.obj gc.obj
hash.obj inits
obj io.obj marshal.obj math.obj numeric.obj object.obj pack.obj
parse.ob
j process.obj random.obj range.obj rational.obj re.obj regcomp.obj
regenc
obj regerror.obj regexec.obj regparse.obj regsyntax.obj ruby.obj
safe.obj
signal.obj sprintf.obj st.obj strftime.obj string.obj struct.obj
time.ob
j transcode.obj util.obj variable.obj version.obj compile.obj
debug.obj i
seq.obj vm.obj vm_dump.obj thread.obj cont.obj ascii.obj
us_ascii.obj unico
de.obj utf_8.obj newline.obj acosh.obj cbrt.obj crypt.obj erf.obj
lgamma_r.obj
strlcat.obj strlcpy.obj tgamma.obj win32.obj langinfo.obj dmyext.obj
oldnames.l
ib user32.lib advapi32.lib shell32.lib ws2_32.lib -Feminiruby.exe -link
-increm
ental:no -debug -opt:ref -opt:icf
LINK : fatal error LNK1104: cannot open file 'miniruby.exe'
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
9.0\VC\BIN
\cl.EXE"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '.\miniruby.exe' : return code '0x2'
Stop.
-----
See? Seems like "link" cannot find miniruby.exe, but it IS in the build
directory, I do not understand! I even tried to add the build dir into
the environnement variables, so miniruby.exe could be accessible
anywhere, but it still raises this error!
Anyone knows how to compile properly under windows ? :\
Thank you very much
I'm trying to compile Ruby 1.9.1 with Visual Studio 2008 Express and I'm
getting an error... and I do have my environnements variables set (PATH)
I am doing everything as written in the readme file...
(win32/configure.bat, nmake) It is compiling for a while and then I get
this error, always at the same place
cl -nologo main.obj dmydln.obj dmyencoding.obj miniprelude.obj array.ob
j bignum.obj class.obj compar.obj complex.obj dir.obj enum.obj
enumerator
obj error.obj eval.obj load.obj proc.obj file.obj gc.obj
hash.obj inits
obj io.obj marshal.obj math.obj numeric.obj object.obj pack.obj
parse.ob
j process.obj random.obj range.obj rational.obj re.obj regcomp.obj
regenc
obj regerror.obj regexec.obj regparse.obj regsyntax.obj ruby.obj
safe.obj
signal.obj sprintf.obj st.obj strftime.obj string.obj struct.obj
time.ob
j transcode.obj util.obj variable.obj version.obj compile.obj
debug.obj i
seq.obj vm.obj vm_dump.obj thread.obj cont.obj ascii.obj
us_ascii.obj unico
de.obj utf_8.obj newline.obj acosh.obj cbrt.obj crypt.obj erf.obj
lgamma_r.obj
strlcat.obj strlcpy.obj tgamma.obj win32.obj langinfo.obj dmyext.obj
oldnames.l
ib user32.lib advapi32.lib shell32.lib ws2_32.lib -Feminiruby.exe -link
-increm
ental:no -debug -opt:ref -opt:icf
LINK : fatal error LNK1104: cannot open file 'miniruby.exe'
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
9.0\VC\BIN
\cl.EXE"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '.\miniruby.exe' : return code '0x2'
Stop.
-----
See? Seems like "link" cannot find miniruby.exe, but it IS in the build
directory, I do not understand! I even tried to add the build dir into
the environnement variables, so miniruby.exe could be accessible
anywhere, but it still raises this error!
Anyone knows how to compile properly under windows ? :\
Thank you very much