Add to FindCapstone.cmakeset(CAPSTONE_SDK "C:\\Program Files (x86)\\capstone")
git clone https://github.com/eteran/edb-debugger.git
cd edb-debugger
mkdir build
cd build
cmake ..
Output:
cmake -G "Visual Studio 17" ..
-- Selecting Windows SDK version 10.0.22000.0 to target Windows 10.0.19045.
-- The CXX compiler identification is MSVC 19.35.32217.1
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Git: C:/Program Files/Git/mingw64/bin/git.exe (found version "2.42.0.windows.2")
-- Checking for module 'double-conversion'
-- Looking for C++ include double-conversion/double-conversion.h
-- Looking for C++ include double-conversion/double-conversion.h - not found
CMake Warning at CMakeLists.txt:49 (message):
libdouble-conversion header wasn't found. 32- and 64-bit floating-point
values will be shown with max_digits10 digits of precision instead of
shortest representation.
-- The ASM_MASM compiler identification is MSVC
-- Found assembler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/bin/Hostx64/x64/ml64.exe
-- Using default value of EDB Plugin directory
-- Configuring done (3.4s)
-- Generating done (0.8s)
-- Build files have been written to: C:/Users/pikro/Downloads/edb-debugger/build
Excellent question, the windows build is not quite functional yet. At the moment, Linux is the only supported platform that is expected to work. We'd love to improve this, but we aren't quite there yet.
set(CAPSTONE_SDK "C:\\Program Files (x86)\\capstone")
Output:
-- The ASM_MASM compiler identification is MSVC -- Found assembler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/bin/Hostx64/x64/ml64.exe -- Using default value of EDB Plugin directory -- Configuring done (3.4s) -- Generating done (0.8s) -- Build files have been written to: C:/Users/pikro/Downloads/edb-debugger/build
And I get error, why?