Open yorkyman opened 4 months ago
What version of capstone are you using?
was using the clone stragiht from the github, guess that wasnt the latest. I'm using capstone 5.0.1 now and it going well until i hit another error.
My LLVM version = 18.1.3
In file included from /opt/Triton/src/libtriton/ast/llvm/tritonToLLVM.cpp:17:
/opt/Triton/src/libtriton/includes/triton/tritonToLLVM.hpp:24:10: fatal error: llvm/Transforms/IPO/PassManagerBuilder.h: No such file or directory
24 | #include <llvm/Transforms/IPO/PassManagerBuilder.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [src/libtriton/CMakeFiles/triton.dir/build.make:902: src/libtriton/CMakeFiles/triton.dir/ast/llvm/tritonToLLVM.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:1126: src/libtriton/CMakeFiles/triton.dir/all] Error 2
make: *** [Makefile:146: all] Error 2
You need LLVM 15
Just to confirm if it is this:
https://github.com/llvm/llvm-project/releases/tag/llvmorg-15.0.0
I change LLVM version to 15. Builds to around 87% and now receiving this error.
[ 84%] Building CXX object src/libtriton/CMakeFiles/triton.dir/bindings/python/objects/pySymbolicVariable.cpp.o
[ 85%] Building CXX object src/libtriton/CMakeFiles/triton.dir/bindings/python/objects/pyTritonContext.cpp.o
[ 86%] Building CXX object src/libtriton/CMakeFiles/triton.dir/bindings/python/pyXFunctions.cpp.o
make[2]: *** No rule to make target '/opt/capstone/include', needed by 'src/libtriton/libtriton.so'. Stop.
make[2]: *** Waiting for unfinished jobs....
[ 87%] Building CXX object src/libtriton/CMakeFiles/triton.dir/bindings/python/utils.cpp.o
make[1]: *** [CMakeFiles/Makefile2:1099: src/libtriton/CMakeFiles/triton.dir/all] Error 2
make: *** [Makefile:146: all] Error 2
never seen this error... =/.
Running into build error, anyone else getting this?