I'm using MSYS2/mingw64, cloned repo, and was trying to use my own libraries, renamed dep to dep1 to make sure it didn't use it, and then ran
mkdir build && cd build
cmake -G "MSYS Makefiles" -DUSE_DEP=OFF ..
make
like suggested, but I had to change in both code.h and code.cpp to <capstone/capstone.h>, and add capstone to the target_link_libraries() in src/CMakeLists.txt to get it to link right, thought I'd bring it up
It's don't support capstone version 4.0 or master now.
The include folder layout is different between v3 and v4.
USE_DEP means don't use the prebuilt files.
3dstool use capstone as source files, not a library.
I'm using MSYS2/mingw64, cloned repo, and was trying to use my own libraries, renamed dep to dep1 to make sure it didn't use it, and then ran
like suggested, but I had to change in both code.h and code.cpp to <capstone/capstone.h>, and add capstone to the target_link_libraries() in src/CMakeLists.txt to get it to link right, thought I'd bring it up