Le mercredi 28 novembre 2018 14:43:19 UTC+1, Ni Va a écrit : > Le mercredi 28 novembre 2018 00:05:48 UTC+1, Ken Takata a écrit : > > Hi, > > > > 2018/11/28 Wed 0:33:03 UTC+9 Ni Va wrote: > > > Le mardi 27 novembre 2018 10:39:05 UTC+1, Ken Takata a écrit : > > > > Hi, > > > > > > > > 2018/11/27 Tue 18:34:10 UTC+9 Ni Va wrote: > > > > > Le mardi 27 novembre 2018 10:17:55 UTC+1, Ken Takata a écrit : > > > > > > Hi, > > > > > > > > > > > > 2018/11/27 Tue 17:52:07 UTC+9 Ni Va wrote: > > > > > > > Hi all, > > > > > > > > > > > > > > > > > > > > > Under Windows 10, during build of vim with mingw32-make and Ruby > > > > > > > an error occurs : > > > > > > > if_ruby.c:126:18: fatal error: ruby.h: No such file or directory > > > > > > > compilation terminated. > > > > > > > mingw32-make: *** [gobjx86-64/if_ruby.o] Error 1 > > > > > > > > > > > > > > > > > > > > > Don't understand because I follow "help 12. Building with Ruby > > > > > > > support B)". > > > > > > > > > > > > > > Have downloaded ruby 2.5.0 from http://rubyinstaller.org/ which > > > > > > > install well and update Window 10 PATH with filepath to ruby.h : > > > > > > > C:\ThirdParty\Ruby25\include\ruby-2.5.0 > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > In this case, don't understand why the error occurs. > > > > > > > > > > > > Looking your logout.txt: > > > > > > > > > > > > > -I C:\ThirdParty\Ruby25-x86/include/ruby-2.5.0 -I > > > > > > > C:\ThirdParty\Ruby25-x86/include/ruby-2.5.0/i386-mswin32_140 > > > > > > > > > > > > Obviously the include paths are wrong. If you build 64-bit version, > > > > > > "Ruby25-x86" > > > > > > should be "Ruby25-x64", and "i386-mswin32_140" should be > > > > > > "x64-mingw32". > > > > > > So, some of your settings are wrong. Don't reuse the settings for > > > > > > MSVC to MinGW. > > > > > > > > > > > > Regards, > > > > > > Ken Takata > > > > > > > > > > No I want to build 32bits version. > > > > > > > > Then you are using a wrong compiler. Use 32-bit mingw with correct > > > > settings. > > > > > > > > Regards, > > > > Ken Takata > > > > > > > > > > > > Note that I want to build vim 32bit with Ruby support compiling from > > > within win10 64bits OS command shell console. > > > > > > Previous configure.cmd was using mingw32-make but effectively with bad > > > settings, now settings are : > > > > > > set DYNAMIC_RUBY=yes > > > set RUBY_VER=25 > > > set RUBY_API_VER_LONG=2.5.0 > > > set RUBY=C:\ThirdParty\Ruby%RUBY_VER% > > > set RUBY_PLATFORM=i386-mingw32 > > > > > > And compiling log returns : > > > > > > gcc -c -I. -Iproto -DWIN32 -DWINVER=0x501 -D_WIN32_WINNT=0x501 > > > -DHAVE_PATHDEF -DFEAT_HUGE -DHAVE_STDINT_H -DMS_WIN64 -DHAVE_GETTEXT > > > -DHAVE_LOCALE_H -DDYNAMIC_GETTEXT -DFEAT_CSCOPE -DFEAT_NETBEANS_INTG > > > -DFEAT_JOB_CHANNEL -DFEAT_TERMINAL -DFEAT_DIRECTX -DDYNAMIC_DIRECTX > > > -DFEAT_DIRECTX_COLOR_EMOJI -DFEAT_GUI_W32 -DFEAT_CLIPBOARD -DFEAT_MBYTE > > > -DFEAT_MBYTE_IME -DDYNAMIC_IME -DDYNAMIC_ICONV -pipe -march=x86-64 -Wall > > > -DFEAT_RUBY -I C:\ThirdParty\Ruby25/include/ruby-2.5.0 -I > > > C:\ThirdParty\Ruby25/include/ruby-2.5.0/i386-mingw32 -DDYNAMIC_RUBY > > > -DDYNAMIC_RUBY_DLL=\"x64-msvcrt-ruby250.dll\" -DDYNAMIC_RUBY_VER=25 > > > -DFEAT_PYTHON -O3 -fomit-frame-pointer -freg-struct-return -s if_ruby.c > > > -o gobjx86-64/if_ruby.o > > > In file included from C:\ThirdParty\Ruby25/include/ruby-2.5.0/ruby.h:33:0, > > > from if_ruby.c:126: > > > C:\ThirdParty\Ruby25/include/ruby-2.5.0/ruby/ruby.h:108:14: error: size > > > of array 'ruby_check_sizeof_voidp' is negative > > > > > > > > > Note: > > > $(ARCH) test in Make_cyg_ming.mak deduce from -march=x86-64 the > > > x64-msvcrt-ruby250.dll name despite of a 32 bits wanted version and only > > > msvcrt-ruby250.dll installed from ruby 2.5.3 last installer > > > (http://rubyinstaller.org/). > > > > Check the result of `gcc -v` and make sure that the target is > > `i686-w64-mingw32`. > > > > Regards, > > Ken Takata > > Ok after deleting old version of MSYS2, > > reinstall ruby 2.5.0 and update MSYS2 and setting > pathto\Ruby25\msys32\mingw32\bin in PATH env it's ok. > Sorry and Thank you
How to fix the infinite pause at this point of compilation ? mingw32-make[1]: Leaving directory 'C:/Users/foo.bar/source/vim.8.1.549/src/GvimExt'... ..seems to not leaving nothing at all. -- -- 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 vim_dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.