Please make sure that you have Visual Studio 2019 or the higher. Because this is a VS2019 project.
Please make sure you have installed vcpkg
and the following libraries:
mpir:x86-windows-static
mpir:x64-windows-static
is installed.
You can install them by:
$ vcpkg install mpir:x86-windows-static
$ vcpkg install mpir:x64-windows-static
vcpkg
has been integrated into your Visual Studio, which means you have run $ vcpkg integrate install
successfully.
Open this project in Visual Studio.
Select Release
configuration.
Select Build > Build Solution.
You will see executable file in bin/
directory.
openssl
mpir
If you use Ubuntu, you can install openssl
and mpir
via following commands:
# install openssl
$ sudo apt-get install libssl-dev
# install mpir
$ wget http://mpir.org/mpir-3.0.0.tar.bz2
$ tar -jxvpf ./mpir-3.0.0.tar.bz2
$ cd mpir-3.0.0
$ sudo apt-get install yasm # yasm is required
$ sudo apt-get install m4 # m4 is required
$ ./configure --enable-cxx
$ make
$ make check
$ sudo make install
$ sudo ldconfig
If you use macOS, you can install openssl
and mpir
via following commands:
$ brew install openssl
$ brew install mpir
$ git clone https://github.com/DoubleLabyrinth/winrar-keygen.git
$ cd winrar-keygen
$ make keygen
Then you will see executable file in bin/
directory.