Closed badguy123 closed 1 year ago
Probably an issue with your PYTHON_LIBRARIES
. Below how I compile Triton on my M1.
cmake -DCAPSTONE_INCLUDE_DIRS=/Users/jonathan/Works/Tools/capstone-5.0-rc2/include/ \
-DCAPSTONE_LIBRARIES=/Users/jonathan/Works/Tools/capstone-5.0-rc2/libcapstone.5.dylib \
-DCAPSTONE_VERSION_HEADER=/Users/jonathan/Works/Tools/capstone-5.0-rc2/include/capstone/capstone.h \
-DCMAKE_INSTALL_PREFIX=/opt/homebrew/ \
-DPYTHON_EXECUTABLE=/opt/homebrew/bin/python3 \
-DPYTHON_LIBRARIES=/opt/homebrew/Cellar/python@3.10/3.10.9/Frameworks/Python.framework/Versions/3.10/lib/libpython3.10.dylib \
-DPYTHON_INCLUDE_DIRS=/opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10/ \
-DLLVM_INTERFACE=ON \
-DCMAKE_PREFIX_PATH=/Users/jonathan/Works/Tools/llvm-project-14.0.0/build \
-DBOOST_INTERFACE=OFF \
-DBITWUZLA_INTERFACE=ON \
..
My -DPYTHON_LIBRARIES
path not add libpython3.10.dylib
, its my mistake :)
Hi, i want build this library, but have some error. i use mac book pro m1, os: 12.6 When i type
make -j3
it failed withLinking CXX shared library libtriton.dylib
, too many Undefined symbols