deoplete-plugins / deoplete-clang

deoplete.nvim source for C/C++/Obj-C/Obj-C++ with clang-python3
MIT License
189 stars 73 forks source link

Could not load source: deoplete_clang #56

Closed ghost closed 7 years ago

ghost commented 8 years ago

Problems summary

As soon as I open up nvim I get this weird error messages

Expected

I expected no message and for this to work

Environment Information

call plug#end()

autocmd StdinReadPre * let s:std_in=1 autocmd VimEnter * if argc() == 0 && !exists("s:std_in") | NERDTree | endif

set number

syntax enable colorscheme monokai

" Use deoplete.

let g:deoplete#enable_at_startup = 1

let g:deoplete#sources#clang#libclang_path = '/usr/lib/libclang.so '

let g:deoplete#sources#clang#clang_header = '/usr/include/clang/' or, try use it tests/deoplete-clang.vim

The reproduce ways from neovim starting (Required!)

  1. Open up neovim with deoplete clang installed
  2. I installed python-libclang from yaourt earlier

    Generate a logfile if appropriate

  3. Set environment variables for neovim Python remote plugin

    export NVIM_PYTHON_LOG_FILE=/tmp/log
    export NVIM_PYTHON_LOG_LEVEL=DEBUG
  4. Run nvim

    nvim -u minimal.vimrc
  5. some works
  6. cat /tmp/log_{PID}

    Screen shot (if possible)

https://s9.postimg.org/52n0rpqwf/Screenshot_from_2016_09_08_12_09_17.png

Upload the log file

Shougo commented 8 years ago

"libclang" seems not installed.

Because, "/usr/lib/libclang.so" is not found error from your screenshot. It is not deoplete-clang problem.

zchee commented 7 years ago

We talked in mail, close.