请确保你有 Visual Studio 2019 或者更高版本。因为这是一个VS2019项目。
请确保你安装了 vcpkg 以及下面几个库:
capstone[x86]:x64-windows-staticcapstone[x86]:x86-windows-staticopenssl-windows:x64-windows-staticopenssl-windows:x86-windows-staticrapidjson:x64-windows-staticrapidjson:x86-windows-static你可以通过下面的命令来安装它们:
$ vcpkg install capstone[x86]:x64-windows-static
$ vcpkg install capstone[x86]:x86-windows-static
$ vcpkg install openssl-windows:x64-windows-static
$ vcpkg install openssl-windows:x86-windows-static
$ vcpkg install rapidjson:x64-windows-static
$ vcpkg install rapidjson:x86-windows-static
你的 vcpkg 已经和你的 Visual Studio 集成了,即你曾成功运行了:
$ vcpkg integrate install
在 Visual Studio 打开这个项目。
选择 Release 配置。
选择 Win32 来生成供32位Navicat使用的keygen/patcher。
或者选择 x64 来生成供64位Navicat使用的keygen/patcher。
生成完成后,你会在 bin/ 文件夹下看到编译后的keygen/patcher。