Thursday, January 4, 2018
Dynamic libraries loading (ruby/python/lua) : E370: Could not load library
Ā¤ Compiled infos:
VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Jan 3 2018 16:02:45)
MS-Windows 64-bit GUI version with OLE support
Included patches: 1-1428
Compiled by niva
Huge version with GUI. Features included (+) or not (-):
+acl +clipboard +digraphs +folding +linebreak -mzscheme +python3/dyn +tag_binary +user_commands -xim
+arabic +cmdline_compl +directx -footer +lispindent -netbeans_intg +quickfix +tag_old_static +vertsplit -xpm_w32
+autocmd +cmdline_hist -dnd +gettext/dyn +listcmds +num64 +reltime -tag_any_white +virtualedit -xterm_save
+autoservername +cmdline_info -ebcdic -hangul_input +localmap +ole +rightleft -tcl +visual
+balloon_eval +comments +emacs_tags +iconv/dyn +lua/dyn +packages +ruby/dyn -termguicolors +visualextra
-balloon_eval_term +conceal +eval +insert_expand +menu +path_extra +scrollbind +terminal +viminfo
+browse +cryptv +ex_extra +job +mksession -perl +signs -tgetent +vreplace
++builtin_terms -cscope +extra_search +jumplist +modify_fname +persistent_undo +smartindent -termresponse +wildignore
+byte_offset +cursorbind +farsi +keymap +mouse -postscript +startuptime +textobjects +wildmenu
+channel +cursorshape +file_in_path +lambda +mouseshape +printer +statusline +timers +windows
+cindent +dialog_con_gui +find_in_path +langmap +multi_byte +profile -sun_workshop +title +writebackup
+clientserver +diff +float +libcall +multi_lang +python/dyn +syntax +toolbar -xfontset
system vimrc file: "$VIM\vimrc"
user vimrc file: "$HOME\_vimrc"
2nd user vimrc file: "$HOME\vimfiles\vimrc"
3rd user vimrc file: "$VIM\_vimrc"
user exrc file: "$HOME\_exrc"
2nd user exrc file: "$VIM\_exrc"
system gvimrc file: "$VIM\gvimrc"
user gvimrc file: "$HOME\_gvimrc"
2nd user gvimrc file: "$HOME\vimfiles\gvimrc"
3rd user gvimrc file: "$VIM\_gvimrc"
defaults file: "$VIMRUNTIME\defaults.vim"
system menu file: "$VIMRUNTIME\menu.vim"
Compilation: cl -c /W3 /nologo -I. -Iproto -DHAVE_PATHDEF -DWIN32 -DFEAT_TERMINAL -DFEAT_JOB_CHANNEL -DWINVER=0x0501 -D_WIN32_WINNT=0x0501 /MP -DHAVE_STDINT_H /O2 /GL -DNDEBUG /Zl /MT -DFEAT_OLE -DFEAT_MBYTE -DFEAT_GUI_W32 -DFEAT_DIRECTX -DDYNAMIC_DIRECTX -DFEAT_DIRECTX_COLOR_EMOJI -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=\"python36.dll\" -DFEAT_RUBY -DDYNAMIC_RUBY -DDYNAMIC_RUBY_VER=24 -DDYNAMIC_RUBY_DLL=\"x64-msvcrt-ruby240.dll\" -DFEAT_HUGE /Fd.\ObjGXOUYHRAMD64/ /Zi
Linking: link /RELEASE /nologo /subsystem:windows /LTCG:STATUS oldnames.lib kernel32.lib advapi32.lib shell32.lib gdi32.lib comdlg32.lib ole32.lib uuid.lib /machine:AMD64 gdi32.lib version.lib winspool.lib comctl32.lib advapi32.lib shell32.lib /machine:AMD64 libcmt.lib oleaut32.lib user32.lib /nodefaultlib:lua53.lib /nodefaultlib:python27.lib /nodefaultlib:python36.lib WSock32.lib /PDB:gvim.pdb -debug
Ā¤ Name of dynamic lib vim built with.
-DDYNAMIC_LUA_DLL=\"lua53.dll\" -DFEAT_PYTHON -DDYNAMIC_PYTHON -DDYNAMIC_PYTHON_DLL=\"python27.dll\" -DFEAT_PYTHON3 -DDYNAMIC_PYTHON3 -DDYNAMIC_PYTHON3_DLL=\"python36.dll\" -DFEAT_RUBY -DDYNAMIC_RUBY -DDYNAMIC_RUBY_VER=24 -DDYNAMIC_RUBY_DLL=\"x64-msvcrt-ruby240.dll\" -DFEAT_HUGE /Fd.\ObjGXOUYHRAMD64/ /Zilink /RELEASE /nologo /subsystem:windows /LTCG:STATUS oldnames.lib kernel32.lib advapi32.lib shell32.lib gdi32.lib comdlg32.lib ole32.lib uuid.lib /machine:AMD64 gdi32.lib version.lib winspool.lib comctl32.lib advapi32.lib shell32.lib /machine:AMD64 libcmt.lib oleaut32.lib user32.lib /nodefaultlib:lua53.lib /nodefaultlib:python27.lib /nodefaultlib:python36.lib WSock32.lib /PDB:gvim.pdb -debugNE926: Current location list was changed.\+\d\+[- .]*E372: Too many %%%c in format stringDXOPQOPQE373: Unexpected %%%c in format string\%(\a:\)\=.\{-1,}\f\+E374: Missing ] in format stringE375: Unsupported %%%c in format string%\.^$~[+-DXAEWICZGOPQE376: Invalid %%%c in format string prefixE377: Invalid %%%c in format string.*^$~[E378: 'errorformat' contains no patternEWI^\VE379: Missing or empty directory nameAEWICZ:%sE553: No more itemsE924: Current window was closedE925: Current quickfix was changed (line deleted)(%d of %d)%s%s: qfFileNameqfSeparatorqfLineNr%2d%2d %s%ld col %d%serror list %d of %d; %d errors E380: At bottom of quickfix stackE381: At top of quickfix stackNo entries> warning error%s %3dw:quickfix_titleqf_fill_buffer() col %dqf%s%s%s:!%d%dError fileE683: File name missing or invalid pattern,FiletypeCannot open file "%s"vcolnrtextvalidcontextidxsizefilenameE681: Buffer is not loaded%s (%s)E777: String or List expecteddoc/*.\(txt\|??x\)txtalnum:]alpha:]blank:]cntrl:]digit:]graph:]lower:]print:]punct:]space:]upper:]xdigit:]tab:]return:]backspace:]escape:]E65: Illegal back referenceE339: Pattern too longE50: Too many \z(E51: Too many %s(E52: Unmatched \z(E59: invalid character after %s@E60: Too many complex %s{...}sE61: Nested %s*E62: Nested %s%c.iIkKfFpPsSdDxXoOwWhHaAlLuUE63: invalid use of \_E369: invalid item in %s%%[]E64: %s%c follows nothing\zs\zeE68: Invalid character after \zE678: Invalid character after %s%%[dxouU]E71: Invalid character after %s%%E554: Syntax error in %s{...}BRACE_LIMITSE888: (NFA regexp) cannot repeat %suUlLeEINTERNAL: Unknown character class char: %ldE867: (NFA) Unknown operator '\z%c'E867: (NFA) Unknown operator '\%%%c'E868: Error building NFA with equivalence class!E869: (NFA) Unknown operator '\@%c'E870: (NFA regexp) Error reading repetition limitsE871: (NFA regexp) Can't have a multi follow a multi !E872: (NFA regexp) Too many '('E879: (NFA regexp) Too many \z(E873: (NFA regexp) proper termination errorE874: (NFA) Could not pop the stack !E875: (NFA regexp) (While converting from postfix to NFA), too many states left on stackE876: (NFA regexp) Not enough space to store the whole NFA E878: (NFA) Could not allocate memory for branch traversal!Internal error: estimated max number of states insufficient: %ld\%#=E864: \%#= can only be followed by 0, 1, or 2. The automatic engine will be used Switching to backtracking RE engine for pattern: @@%-*ld ConcealXX< b:keymap_name|%dh|%dH VREPLACE REPLACE REVERSE INSERT (insert) (replace) (vreplace) Hebrew Arabic (paste) VISUAL VISUAL LINE VISUAL BLOCK SELECT SELECT LINE SELECT BLOCK --recording @%cToolbarLineToolbarButton%ld,E383: Invalid search string: %sE384: search hit TOP without match for: %sE385: search hit BOTTOM without match for: %sE386: Expected '?' or '/' after ';'el()[]{}<>(){}[]";.!?)]"'.!?)]"'%M</[^>]*><[^ >/!]\+\%(\_s\_[^>]\{-}[^/]>\|$\|\_s\=>\)<%.*s\>\%%(\s\_[^>]\{-}[^/]>\|>\)\c</%.*s>\c\<%.*s\>%.*s (includes previously listed match)--- Included files not found in path ---
Ā¤ Physical directory into extDlls :
- lua/ [D] !18/01/04 09:52
| lua53.dll [S] 211.1K ~17/11/01 14:50
- python/ [D] #18/01/02 14:48
|- x64/ [D] !18/01/03 16:13
| python27.dll [S] 3.26M ~17/09/16 21:27
| python36.dll [S] 3.44M ~17/12/19 06:55
- rg/ [D] #17/12/29 13:58
| api-ms-win-core-file-l1-2-0.dll [S] 11.34K ~15/06/07 01:13
| api-ms-win-core-file-l2-1-0.dll [S] 11.34K ~15/06/07 01:13
| api-ms-win-core-localization-l1-2-0.dll [S] 13.84K ~15/06/07 01:13
| api-ms-win-core-processthreads-l1-1-1.dll [S] 11.90K ~17/03/18 12:40
| api-ms-win-core-processthreads-l1-1-2.dll [S] 11.40K ~17/03/18 12:40
| api-ms-win-core-synch-l1-2-0.dll [S] 11.84K ~15/06/07 01:13
| api-ms-win-core-timezone-l1-1-0.dll [S] 11.34K ~15/06/07 01:13
| api-ms-win-crt-convert-l1-1-0.dll [S] 15.34K ~15/06/07 01:13
| api-ms-win-crt-heap-l1-1-0.dll [S] 12.34K ~15/06/07 01:13
| api-ms-win-crt-locale-l1-1-0.dll [S] 11.84K ~15/06/07 01:13
| api-ms-win-crt-math-l1-1-0.dll [S] 20.34K ~15/06/07 01:13
| api-ms-win-crt-runtime-l1-1-0.dll [S] 15.84K ~15/06/10 20:10
| api-ms-win-crt-stdio-l1-1-0.dll [S] 17.34K ~15/06/07 01:13
| api-ms-win-crt-string-l1-1-0.dll [S] 17.34K ~15/06/07 01:13
| rg.exe [X] 2.49M ~17/12/11 22:07
- ruby/ [D] #17/12/29 13:58
| libeay32.dll [S] 2.18M ~17/09/15 13:47
| libffi-6.dll [S] 33.37K ~17/09/15 13:47
| libgdbm-4.dll [S] 37.95K ~17/09/15 13:47
| libgdbm_compat-4.dll [S] 22.61K ~17/09/15 13:47
| libgmp-10.dll [S] 497.7K ~17/09/15 13:47
| libiconv-2.dll [S] 1.00M ~17/09/15 13:47
| libintl-8.dll [S] 130.6K ~17/09/15 13:47
| libyaml-0-2.dll [S] 148.2K ~17/09/15 13:47
| ruby_builtin_dlls.manifest 545B ~17/09/15 13:47
| ssleay32.dll [S] 408.4K ~17/09/15 13:47
| x64-msvcrt-ruby240.dll [S] 2.47M ~17/09/15 13:47
| zlib1.dll [S] 91.63K ~17/09/15 13:47
- snap7/ [D] #17/12/29 13:58
| snap7.dll [S] 217.0K ~15/06/14 11:28
Ā¤ Vimrc:
"{{{ ext dlls
set luadll = "lua53.dll"
set pythondll = "python27.dll"
set pythonthreedll = "python36.dll"
set rubydll = "x64-msvcrt-ruby240.dll"
let dllPath = tr(fnamemodify($vimruntime.'/extDlls',':p:h'),'\','/')
let $path.=';'.dllPath.'/lua'
let $path.=';'.dllPath.'/ruby'
let $path.=';'.dllPath.'/rg'
let $path.=';'.dllPath.'/python/x64'
set pyx=3
" }}}
Ā¤ Tests dynamic calls
E370: Could not load library
E263: Sorry, this command is disabled, the Python library could not be loaded.
E370: Could not load library
Lua library cannot be loaded.
Hi,
According setting dll options to dynamic dlls' names, Vim cannot load library.
I know the issue 32/64bits but regarding four following tests, no one success.
:py print("hello")
:py3 print("hello")
:lua print("hello")
:ruby print("hello")
E370: Could not load library
Detailed infos are in the attached file, gvim build, dll options, etc...
Thank you in avance for your help.
Niva
--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment