的CMake版本3.5.1Ubuntu的16.04LTS編譯混淆,LLVM
Ubuntu的16.04LTS
我想要編譯ubuntu上LLVM遵循 git wiki:
$ git的克隆-b LLVM-4.0 https://github.com/obfuscator-llvm/obfuscator.git
$ MKDIR建立
$ CD打造
$ cmake的-DCMAKE_BUILD_TYPE =釋放../obfuscator/
當我執行cmake -DCMAKE_BUILD_TYPE=Release ../obfuscator/
,報告AB錯誤:
-- Performing Test CXX_SUPPORTS_NO_NESTED_ANON_TYPES_FLAG
-- Performing Test CXX_SUPPORTS_NO_NESTED_ANON_TYPES_FLAG - Failed
CMake Error at cmake/modules/AddLLVM.cmake:1163 (add_custom_target):
add_custom_target cannot create target "check-llvm-bindings-ocaml"
because another target with the same name already exists.The
existing target is a custom target created in source directory
"/home/ryu/Ollvm/obfuscator/test". See documentation for policy
CMP0002 for more details.
Call Stack (most recent call first):
cmake/modules/AddLLVM.cmake:1226 (add_lit_target)
test/CMakeLists.txt:150 (add_lit_testsuites)
我卻不知道入住LLVM-綁定-ocaml的是什麼,以及如何凸輪我解決了這個問題?你可以幫我嗎?謝謝你,謝謝你,謝謝你!!!
鏈接可能回答這個問題,最好在這裏包含答案的基本部分,並提供參考鏈接。如果鏈接頁面更改,則僅鏈接答案可能會失效。 – Nipun
THX。我提供了必要的部分----答案中的命令。此鏈接僅供參考〜:) – user7976081