Open pskfire opened 1 year ago
Is there a fix for this?
I tried a non-recursive clone of PolyHook, then checked out the last Capstone commit 26th Feb 2022 750e78f But I'm getting cmake errors:
cmake -B"./_build" -DCMAKE_INSTALL_PREFIX="./_install/" -DPOLYHOOK_BUILD_SHARED_LIB=ON -- Building for: Visual Studio 17 2022 -- Selecting Windows SDK version 10.0.20348.0 to target Windows 10.0.22621. -- The C compiler identification is MSVC 19.33.31630.0 -- The CXX compiler identification is MSVC 19.33.31630.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Professional/VC/Tools/MSVC/14.33.31629/bin/Hostx64/x64/cl.exe - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Professional/VC/Tools/MSVC/14.33.31629/bin/Hostx64/x64/cl.exe - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done AsmJit Summary ASMJIT_DIR=C:/igloo/PolyHook_2_0/asmjit ASMJIT_TEST=FALSE ASMJIT_TARGET_TYPE=STATIC ASMJIT_DEPS= ASMJIT_LIBS=asmjit ASMJIT_CFLAGS=-DASMJIT_STATIC ASMJIT_PRIVATE_CFLAGS=-MP;-GF;-Zc:__cplusplus;-Zc:inline;-Zc:strictStrings;-Zc:threadSafeInit-;-W4;-DASMJIT_STATIC ASMJIT_PRIVATE_CFLAGS_DBG=-GS ASMJIT_PRIVATE_CFLAGS_REL=-GS-;-O2;-Oi Enabling CAPSTONE_X86_SUPPORT Enabling CAPSTONE_MOS65XX_SUPPORT Enabling CAPSTONE_WASM_SUPPORT Enabling CAPSTONE_BPF_SUPPORT Enabling CAPSTONE_RISCV_SUPPORT CMake Error at CMakeLists.txt:114 (set_target_properties): set_target_properties Can not find target to add properties to: capstone-static
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) Can't generate documentation, Doxygen not found. CMake Error at CMakeLists.txt:242 (install): install TARGETS given target "capstone-static" which does not exist.
-- Configuring incomplete, errors occurred! See also "C:/igloo/PolyHook_2_0/_build/CMakeFiles/CMakeOutput.log".
How to revise the code for new PolyHook2?