Skip to content

Building

David Reed edited this page Oct 11, 2021 · 20 revisions

Requirements

  • Visual Studio
  • Desktop Development with C++
  • C++ ATL for latest v142 build tools
  • NodeJS

Preparation

  • Clone the repo
  • Enter libs/Release/
  • Extract libcrypto-1_1-static.lib from libcrypto-1_1-static.zip to the current folder

libcrypto-1_1-static.lib is over 100 MB, if it weren't compressed then the repo can't be pushed

Removing conflicting OpenSSL and zlib packages

These packages have higher priority than the ones included in this repository. To distribute a single exe, all libraries need to be built statically.

vcpkg:

vcpkg remove openssl:x86-windows --recurse
vcpkg remove zlib:x86-windows --recurse

Building the executable

  1. Enter Client
  2. Open Guru Client++.sln
  3. Select Toolbar -> Build -> Build Solution
  4. Output will be found in the Debug or Release folder.

Building the bootstrapper

  1. Enter Webpack
  2. Install modules: npm install
  3. Build: npm run build-once

Building OpenSSL and zlib

Open both repository links and follow the instructions for building:

Build for Win32 Release and Win32 Debug

Replace existing files in the same structure as include/openssl/ and bin/

Clone this wiki locally