T
T
Tolik2014-07-13 17:44:59
vim
Tolik, 2014-07-13 17:44:59

How to set up a plugin (clang_complete) for Vim?

Found a great plugin: github.com/Rip-Rip/clang_complete
After git clone ... installed via make install
But when I start Vim I get this error:
Loading libclang failed, completion won't be available. Consider setting g:clang_library_path.
UPD:
I found the file ~/.vim/plugin/clang_complete.vim, but when I wrote /usr/include there, there is another Vim error:
Loading libclang failed, completion won't be available. Are you sure '/usr/include' contains libclang?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
J
jcmvbkbc, 2014-07-13
@Diel

I found the file ~/.vim/plugin/clang_complete.vim but when I wrote /usr/include there, then there is another Vim error:
Loading libclang failed, completion won't be available. Are you sure '/usr/include' contains libclang?

so he also wanted the path to the directory containing libclang

S
SilentFl, 2014-07-14
@SilentFl

sudo apt-get install libclang libclang-dev

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question