how-to-build.md 1.6 KB

navicat-keygen for windows - How to build?

中文版

1. Prerequisites

  1. Please make sure that you have Visual Studio 2022 or the higher. Because this is a VS2022 project.

  2. Please make sure you have installed vcpkg and the following libraries:

    • fmt:x64-windows-static
    • fmt:x86-windows-static
    • openssl:x64-windows-static
    • openssl:x86-windows-static
    • rapidjson:x64-windows-static
    • rapidjson:x86-windows-static
    • keystone:x64-windows-static
    • keystone:x86-windows-static
    • unicorn:x64-windows-static
    • unicorn:x86-windows-static

is installed.

You can install them by:

   $ vcpkg install fmt:x64-windows-static
   $ vcpkg install fmt:x86-windows-static
   $ vcpkg install openssl:x64-windows-static
   $ vcpkg install openssl:x86-windows-static
   $ vcpkg install rapidjson:x64-windows-static
   $ vcpkg install rapidjson:x86-windows-static
   $ vcpkg install keystone:x64-windows-static
   $ vcpkg install keystone:x86-windows-static
   $ vcpkg install unicorn:x64-windows-static
   $ vcpkg install unicorn:x86-windows-static
  1. Your vcpkg has been integrated into your Visual Studio, which means you have run
   $ vcpkg integrate install

successfully.

2. Build

  1. Open this project in Visual Studio.

  2. Select Release configuration.

  3. Select Win32 to build keygen/patcher for 32-bits Navicat.

Or select x64 to build keygen/patcher for 64-bits Navicat.

  1. Select Build > Build Solution.

You will see executable files in bin/ directory.