-
Notifications
You must be signed in to change notification settings - Fork 1.2k
cmake error #71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
When I also used the following command : cmake -DCMAKE_BUILD_TYPE=Release ../obfuscator/ ,and I had the same error prompt ,I don't kwno how to do ? |
it's strange,i compiled it on "bash on ubuntu on windows" and mac,it can be complied. |
@Zke1ev3n That's to say,using the mac os or on windows os will be worked ? I'm not sure that I can understand what U mean . |
Same issue at Ubuntu 16.04, and solved by this: cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DLLVM_INCLUDE_TESTS=OFF ../llvm-4.0/ |
Same problem with a Debian unstable. Yet, I solved the problem by adding the |
same problem on ubuntu 17.10 mitigated using -DLLVM_INCLUDE_TESTS=OFF as suggested by perror |
Try this: cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DLLVM_INCLUDE_TESTS=OFF ../obfuscator |
I success with cmake -DCMAKE_BUILD_TYPE=Release -DLLVM_INCLUDE_TESTS=OFF ../obfuscator/ |
I just came across this error and the solution @candledragle proposed worked for me as well. Can this be included in a "troubleshooting" section? |
The problem is in two dirs: Ocaml and OCaml
|
when i use the following command:
cmake -DCMAKE_BUILD_TYPE=Release ../obfuscator/
it report an error:
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/zke1e/Workspace/LLVM/OLLVM4/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)
how could i solve this problem? thanks
The text was updated successfully, but these errors were encountered: