Ok did that but then it gives me the following error:
c:\ruby19\include\ruby-1.9.1\ruby/ruby.h(64) : fatal error C1083: Cannot
open in
clude file: 'inttypes.h': No such file or directory
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
9.0\VC\BIN
\cl.EXE"' : return code '0x2'
Stop.
I included in SET INCLUDE the path to my cygwin include headers that
contains inttypes.h but then I get the following error:
Python requested (version 26) - root dir is "c:\Python26"
Ruby requested (version 19) - root dir is "c:\Ruby19"
cl -c /W3 /nologo -I. -Iproto -DHAVE_PATHDEF -DWIN32
-DFEAT_CSCOPE -D
FEAT_NETBEANS_INTG -DWINVER=0x0400 -D_WIN32_WINNT=0x0400 /Fo.\ObjGYR/
/Ox
/GL -DNDEBUG /Zl /MT -DFEAT_GUI_W32 -DDYNAMIC_ICONV -DDYNAMIC_GETTEXT
-DFEAT_PY
THON -DFEAT_RUBY -DFEAT_BIG /Fd.\ObjGYR/ /Zi /I
"c:\Ruby19\lib\ruby\1.9.1\i386-m
swin32" if_ruby.c
if_ruby.c
c:\ruby19\include\ruby-1.9.1\ruby/win32.h(40) : warning C4005: 'NT' : macro
rede
finition
if_ruby.c(18) : see previous definition of 'NT'
c:\ruby19\include\ruby-1.9.1\ruby/win32.h(215) : error C2061: syntax error :
ide
ntifier 'rb_w32_pipe_exec'
c:\ruby19\include\ruby-1.9.1\ruby/win32.h(215) : error C2059: syntax error :
';'
c:\ruby19\include\ruby-1.9.1\ruby/win32.h(215) : error C2059: syntax error :
'ty
pe'
c:\ruby19\include\ruby-1.9.1\ruby/win32.h(256) : error C2061: syntax error :
ide
ntifier 'waitpid'
c:\ruby19\include\ruby-1.9.1\ruby/win32.h(256) : error C2059: syntax error :
';'
[More then 100 other errors]
Any idea?
Geert Van Laethem
On Fri, May 14, 2010 at 3:10 AM, winterTTr <[email protected]> wrote:
>
>
> On Fri, May 14, 2010 at 12:55 AM, Geert VL
> <[email protected]>wrote:
>
>> Hi,
>>
>> I am trying to compile Vim 7.2.418 together with Ruby 1.9.1.
>> I use Visual C++ 2008 Express edition.
>>
>> I use the following command line:
>>
>> nmake -f Make_mvc.mak GUI=yes MSVCVER=9.0 PYTHON=c:\Python26 RUBY=c:
>> \Ruby19
>>
>> This gives me the following error:
>>
>> Microsoft (R) Program Maintenance Utility Version 9.00.30729.01
>> Copyright (C) Microsoft Corporation. All rights reserved.
>>
>> Python requested (version 26) - root dir is "c:\Python26"
>> Ruby requested (version 19) - root dir is "c:\Ruby19"
>>
>> cl -c /W3 /nologo -I. -Iproto -DHAVE_PATHDEF -DWIN32 -DFEAT_CSCOPE -
>> D
>> FEAT_NETBEANS_INTG -DWINVER=0x0400 -D_WIN32_WINNT=0x0400 /Fo.
>> \ObjGYR/ /Ox
>> /GL -DNDEBUG /Zl /MT -DFEAT_GUI_W32 -DDYNAMIC_ICONV -DDYNAMIC_GETTEXT
>> -DFEAT_PY
>> THON -DFEAT_RUBY -DFEAT_BIG /Fd.\ObjGYR/ /Zi /I "c:\Ruby19\lib\ruby
>> \1.9.1\i386-m
>> ingw32" if_ruby.c
>> if_ruby.c
>> if_ruby.c(68) : fatal error C1083: Cannot open include file: 'ruby.h':
>> No such f
>> ile or directory
>> NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
>> 9.0\VC\BIN
>> \cl.EXE"' : return code '0x2'
>> Stop.
>>
>> I made the following changes in my Make_mvc.mak file for Ruby:
>> RUBY_VER = 19
>> RUBY_VER_LONG = 1.9.1
>> RUBY_PLATFORM = i386-mingw32
>>
>>
>> What did I do wrong?
>>
>
> I don't try to compile the ruby by myself, but i have some experience to
> use the VS.
> I think this is because that you did NOT tell the cl.exe the right INLUCDE
> path which should including the "ruby header files"
>
> So , try to add the "header file path" before you run the "nmake"
> >>> set INCLUDE=Your_Ruby_Header_Path;%INCLUDE%
>
> then try to run the nmake again. I may be OK this time. :-)
>
>>
>> --
>> You received this message from the "vim_dev" maillist.
>> Do not top-post! Type your reply below the text you are replying to.
>> For more information, visit http://www.vim.org/maillist.php
>>
>
> --
> You received this message from the "vim_dev" maillist.
> Do not top-post! Type your reply below the text you are replying to.
> For more information, visit http://www.vim.org/maillist.php
>
--
Writing is therapy. It heals. It guides. It calms. It helps make life worth
living.
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php