llvm - Why do I get this error when trying to build Clang from source? -


i have checked out current tip-of-tree various clang 'git' mirrors described in getting started page here: http://llvm.org/docs/gettingstarted.html

i follow instruction generate make files using cmake, so: cmake -g 'unix makefiles' /path/to/llvm-repository

this fails configure following error - going wrong?

cmake error @ tools/clang/cmakelists.txt:480 (add_custom_target): add_custom_target cannot create target "install-libclang-headers" because target same name exists. existing target custom target created in source directory "/users/alisdairm/repositories/llvm/projects/clang/tools/libclang". see documentation policy cmp0002 more details.

this double-checkout of clang repository, once llvm/tools directory (correct) , second llvm/projects directory (error).

the solution delete copy of clang repository in llvm/projects directory, , should configure , build correctly.


Comments

Popular posts from this blog

routing - AngularJS State management ->load multiple states in one page -

python - GRASS parser() error -

Swift game error message -