User Tools

Site Tools


c:build:build-openssl-statically-on-windows-vs2017

This is an old revision of the document!


Prerequisites

  1. Download and install strawberryperl
  2. Add it to the system environment PATH variable
  3. Download and install nasm
  4. Add it to the system environment PATH variable
  5. Download openssl
  6. Extract it to a folder - D:\OpenSSL
  7. Open Visual Studio 2017 native tools x86 (or x64 to build 64 bit library)
  8. cd D:\OpenSSL
  9. cpan -i Text::Template
  10. cpan -i Test::More
  11. mkdir out
  12. mkdir out\SSL

Win 32 static debug build

perl Configure debug-VC-WIN32 –prefix=D:\OpenSSL\out –openssldir=D:\OpenSSL\out\SSL

Configuring OpenSSL version 1.1.1g (0x1010107fL) for debug-VC-WIN32
Using os-specific seed configuration
Creating configdata.pm
Creating makefile

**********************************************************************
***                                                                ***
***   OpenSSL has been successfully configured                     ***
***                                                                ***
***   If you encounter a problem while building, please open an    ***
***   issue on GitHub <https://github.com/openssl/openssl/issues>  ***
***   and include the output from the following command:           ***
***                                                                ***
***       perl configdata.pm --dump                                ***
***                                                                ***
***   (If you are new to OpenSSL, you might want to consult the    ***
***   'Troubleshooting' section in the INSTALL file first)         ***
***                                                                ***
**********************************************************************

nmake



c/build/build-openssl-statically-on-windows-vs2017.1593462043.txt.gz · Last modified: 2020/06/29 23:20 by odefta