-
Notifications
You must be signed in to change notification settings - Fork 41
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
Error building for macOS #4
Comments
Hi @rruipinheiro, Are you building from a machine with an x86_64 CPU or an ARM one (Apple M1) ? |
Hi @PatriceBlin, |
Looks like we are missing at least a link with Could you try the following change ? diff --git a/CMakeLists.txt b/CMakeLists.txt
index bcc03d2..8d93263 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -38,7 +38,7 @@ add_library(LLVMObfuscator SHARED Plugin.cpp)
target_include_directories(LLVMObfuscator PRIVATE ${CMAKE_SOURCE_DIR})
target_include_directories(LLVMObfuscator PRIVATE ${CMAKE_CURRENT_BINARY_DIR})
-target_link_libraries(LLVMObfuscator LLVMCore LLVMSupport)
+target_link_libraries(LLVMObfuscator LLVMCore LLVMSupport LLVMTransformUtils)
option(BUILD_DUMMY "Build dummy plugin" OFF)
if(BUILD_DUMMY) Might not resolve all missing symbols, but at least reduce the list. |
I manage to get it to work by adding the link |
building error on MacOS 13.6 (M1 Pro MacBook)
|
Hello,
I'm having problems compiling the obfuscator llvm on macOS.
Any suggestion?
**LLVM: ** 14.0.6
**macOS SDK: ** 13.0
Output error
The text was updated successfully, but these errors were encountered: