fatal error: 'clang-c/Index.h' file not found on OSX 10.9.4 -
i trying install clang_complete on osx 10.9.4. while running make following error:
[ 66%] building cxx object cmakefiles/clic_add.dir/clic_add.cpp.o /users/bharat/desktop/clang_indexer/clic_add.cpp:5:10: fatal error: 'clang-c/index.h' file not found #include <clang-c/index.h> ^ 1 error generated. i have clang, llvm-g++ , llvm-gcc. how resolve error?
you can download source code clang svn checkout http://llvm.org/svn/llvm-project/cfe/trunk
the header should in include/clang-c folders, can edit cmake file , pass in location of header in cpp flags (-i)
cmake file here:- ycm/cmakefiles/ycm_core.dir/flags.make
Comments
Post a Comment