Watch the video:
08:49 and 12:20 respectively):
00:00 - Explanation
00:19 - Download Perl
00:46 - Download NASM
01:14 - Adding to PATH
01:58 - Download OpenSSL Source
02:14 - Setting up build environment
04:53 - Build x64 Release (Shared)
06:20 - Build x64 Release (Static)
08:49 - Automating x64 Debug Build (Shared & Static)
12:20 - Automating x32 Builds (Shared & Static, Release & Debug)
15:21 - Build complete, organisation
16:47 - Implementing in a project
17:30 - Including .h files
18:24 - Linking .lib files (Static)
20:44 - Linking everything in one project
22:29 - Final notes
Looking to build OpenSSL to use in projects with Visual Studio 2019? Well, you can do it for free with the Community edition. It’s completely free, it just takes time to compile. You can choose to use .dll files (Shared), or you can integrate into your program directly by using Static builds. ((
My scripts (Tutorial in the video –
x64 Builds: https://tcno.co/TroubleChute/dl/?dl=x64build.bat&yt=PMHEoBkxYaQ
x32 Builds: https://tcno.co/TroubleChute/dl/?dl=x32build.bat&yt=PMHEoBkxYaQ
Downloads:
Strawberry Perl: http://strawberryperl.com/
NASM: https://www.nasm.us/pub/nasm/releasebuilds/2.14.02/win64/
OpenSSL GitHub: https://github.com/openssl/openssl/
SHA Example used: https://stackoverflow.com/a/10632725
Timestamps
Other commands:
cpan -i Text::Template
cpan -i Test::More