Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 853 Bytes

how-to-build.zh-CN.md

File metadata and controls

41 lines (30 loc) · 853 Bytes

Navicat Keygen - 如何编译?

1. 前提条件

  1. 请确保你安装了下面几个库:

    • capstone
    • keystone
    • rapidjson

    你可以通过下面的命令来安装它们:

    # install capstone
    $ sudo apt-get install libcapstone-dev
    
    # install keystone
    $ sudo apt-get install cmake
    $ git clone https://github.com/keystone-engine/keystone.git
    $ cd keystone
    $ mkdir build
    $ cd build
    $ ../make-share.sh
    $ sudo make install
    $ sudo ldconfig
    
    # install rapidjson
    $ sudo apt-get install rapidjson-dev
  2. 你的gcc支持C++17特性。

2. 编译

$ git clone -b linux --single-branch https://github.com/DoubleLabyrinth/navicat-keygen.git
$ cd navicat-keygen
$ make all

生成完成后,你会在 bin/ 文件夹下看到编译后的keygen/patcher。