Le lundi 4 décembre 2017 22:02:21 UTC+1, Ni Va a écrit :
> Le lundi 4 décembre 2017 21:05:39 UTC+1, Ni Va a écrit :
> > Le lundi 4 décembre 2017 20:55:27 UTC+1, Bram Moolenaar a écrit :
> > > Ken Takata wrote:
> > > 
> > > [...]
> > > 
> > > > > > > Thank you Ken but last error already here.
> > > > > > > 
> > > > > > > 
> > > > > > > Creating Makefile.new
> > > > > > > "type `nmake' to make ruby."
> > > > > > > 
> > > > > > > c:\Ruby_source\ruby>nmake .config.h.time
> > > > > > > 
> > > > > > > Microsoft (R) Program Maintenance Utility Version 14.11.25547.0
> > > > > > > Copyright (C) Microsoft Corporation. Tous droits réservés.
> > > > > > > 
> > > > > > > Creating config.h
> > > > > > > .ext\include\i386-mswin32_140\ruby\config.h updated
> > > > > > > 
> > > > > > > c:\Ruby_source\ruby>xcopy /s .ext\include C:\Ruby24\include
> > > > > > > Est-ce que C:\Ruby24\include désigne un nom de fichier
> > > > > > > ou un nom de répertoire de la destination
> > > > > > > (F = fichier, R = répertoire) ?
> > > > > > 
> > > > > > I don't understand this error message, but the destination seems 
> > > > > > wrong.
> > > > > > "Ruby24" should be replaced by "Ruby24-x64", if you use 64-bit 
> > > > > > version.
> > > > > > 
> > > > > >     xcopy /s .ext\include C:\Ruby24-x64\include
> > > > > > 
> > > > > > 
> > > > > > Regards,
> > > > > > Ken Takata
> > > > > 
> > > > > Help installPC.txt should be modified on xcopy line :
> > > > > 
> > > > > xcopy /s .ext\include\x64-mswin64_140 
> > > > > c:\Ruby24\include\ruby-2.4.0\ruby
> > > > 
> > > > I don't think so.
> > > > Looking your message again, you might have done something wrong.
> > > > 
> > > > 
> > > > > > > Microsoft (R) Program Maintenance Utility Version 14.11.25547.0
> > > > > > > Copyright (C) Microsoft Corporation. Tous droits réservés.
> > > > > > > 
> > > > > > > Creating config.h
> > > > > > > .ext\include\i386-mswin32_140\ruby\config.h updated
> > > > 
> > > > If you use 64-bit compiler, this message should be:
> > > > 
> > > >     Creating config.h
> > > >     .ext\include\x64-mswin64_140\ruby\config.h updated
> > > > 
> > > > After xcopy, config.h should placed at:
> > > > 
> > > >     C:\Ruby24-x64\include\ruby-2.4.0\x64-mswin64_140\ruby\config.h
> > > 
> > > Is a change to INSTALLpc.txt needed?  If so please make a patch.
> > > 
> > > -- 
> > > hundred-and-one symptoms of being an internet addict:
> > > 77. The phone company asks you to test drive their new PBX system
> > > 
> > >  /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   
> > > \\\
> > > ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ 
> > > \\\
> > > \\\  an exciting new programming language -- http://www.Zimbu.org        
> > > ///
> > >  \\\            help me help AIDS victims -- http://ICCF-Holland.org    
> > > ///
> > 
> > I think so.
> > 
> > I've just iterate again and look at.
> > 
> > 
> > D:\Logiciels\tooldir\ruby>dir .ext\include\x64-mswin64_140\ruby
> >  Le volume dans le lecteur D s’appelle DATA
> >  Le numéro de série du volume est BA7A-19A0
> > 
> >  Répertoire de D:\Logiciels\tooldir\ruby\.ext\include\x64-mswin64_140\ruby
> > 
> > 04/12/2017  20:45    <DIR>          .
> > 04/12/2017  20:45    <DIR>          ..
> > 04/12/2017  20:45             5 039 config.h
> >                1 fichier(s)            5 039 octets
> >                2 Rép(s)  96 250 019 840 octets libres
> > 
> > D:\Logiciels\tooldir\ruby>dir 
> > c:\Ruby24-x64\include\ruby-2.4.0\x64-mswin64_140\ruby
> >  Le volume dans le lecteur C n’a pas de nom.
> >  Le numéro de série du volume est 3A14-E97C
> > 
> >  Répertoire de c:\Ruby24-x64\include\ruby-2.4.0\x64-mswin64_140\ruby
> > 
> > 04/12/2017  20:47    <DIR>          .
> > 04/12/2017  20:47    <DIR>          ..
> > 04/12/2017  20:45             5 039 config.h
> >                1 fichier(s)            5 039 octets
> >                2 Rép(s)  92 991 578 112 octets libres
> > 
> > D:\Logiciels\tooldir\ruby>
> > 
> > 
> > Then I compile gvim:  nmake -f Make_mvc.mak
> > 
> >         cl -c /W3 /nologo  -I. -Iproto -DHAVE_PATHDEF -DWIN32   
> > -DFEAT_TERMINAL  -DFEAT_JOB_CHANNEL      -DWINVER=0x501 
> > -D_WIN32_WINNT=0x501 /MP -DHAVE_STDINT_H /Ox /GL -DNDEBUG  /Zl /MT 
> > -DFEAT_OLE -DFEAT_MBYTE -DFEAT_GUI_W32 -DDYNAMIC_ICONV -DDYNAMIC_GETTEXT 
> > -DFEAT_LUA -DDYNAMIC_LUA  -DDYNAMIC_LUA_DLL=\"lua53.dll\" -DFEAT_PYTHON 
> > -DDYNAMIC_PYTHON  -DDYNAMIC_PYTHON_DLL=\"python27.dll\" -DFEAT_PYTHON3 
> > -DDYNAMIC_PYTHON3  -DDYNAMIC_PYTHON3_DLL=\"python35.dll\" -DFEAT_RUBY 
> > -DDYNAMIC_RUBY -DDYNAMIC_RUBY_VER=24  
> > -DDYNAMIC_RUBY_DLL=\"x64-msvcrt-ruby242.dll\" -DFEAT_HUGE 
> > /Fd.\ObjGOUYHRAMD64/ /Zi /Fo.\ObjGOUYHRAMD64/ /I 
> > "C:\Ruby24-x64\lib\ruby\2.4.2\x64-mswin64" /I 
> > "C:\Ruby24-x64\include\ruby-2.4.2" /I 
> > "C:\Ruby24-x64\include\ruby-2.4.2\x64-mswin64" if_ruby.c
> > if_ruby.c
> > if_ruby.c(120): fatal error C1083: Impossible d'ouvrir le fichier include : 
> > 'ruby.h' : No such file or directory
> > NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual 
> > Studio\2017\Community\VC\Tools\MSVC\14.11.25503\bin\HostX64\x64\cl.EXE"' : 
> > code retour '0x2'
> > Stop.
> 
> 
> 
> Ok works assuming renaming c:\ruby24-x64 into c:\ruby24 after 'git clone ' as 
> said in installPC.txt.
> 
> 
> And these VARS for Make_mvc.mak 
> 
> :: Enable Ruby scripting
> set DYNAMIC_RUBY=yes
> set RUBY=C:\Ruby24
> set RUBY_VER=24
> set RUBY_VER_LONG=2.4.0
> set RUBY_PLATFORM=x64-mswin64_140
> set RUBY_MSVCRT_NAME=msvcrt




Following if_ruby.txt, 

path command returns that path D:\Logiciels\Vim\vim80
:put=&rubydll returns x64-msvcrt-ruby240.dll  which is present in 
D:\logiciels\Vim\vim80 and gvim compiled with.

but :ruby print "hello" fails to find dll

-- 
-- 
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 because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui