From 8685c35818d7b30e3a4749be9432336b0f267ec1 Mon Sep 17 00:00:00 2001 From: Chunting Gu Date: Fri, 7 Aug 2020 09:37:39 +0800 Subject: [PATCH 1/2] add link to legacy branch; update openssl version. --- doc/Build-on-Windows.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/Build-on-Windows.md b/doc/Build-on-Windows.md index 190ada3..47ff4a2 100644 --- a/doc/Build-on-Windows.md +++ b/doc/Build-on-Windows.md @@ -2,16 +2,16 @@ I'm using [Visual Studio 2019 Community](https://visualstudio.microsoft.com/vs/community/), but I think 2017 should be OK, too. -Webcc depends on `std::filesystem` which is a C++17 feature. There's a branch which is still using `boost::filesystem` so it could be built with VS2013. Check out it if you have only VS2013. +Webcc depends on `std::filesystem` which is a C++17 feature. There's a branch ([legacy](https://github.com/sprinfall/webcc/tree/legacy)) which is still using `boost::filesystem` so it could be built with VS2013. Check out it if you have only VS2013. ## Install OpenSSL Download from [here](http://slproweb.com/products/Win32OpenSSL.html). -The following installers (the "L" might change) are recommended for development: +The following installers (the "g" might change) are recommended for development: -- Win64 OpenSSL v1.1.0L -- Win32 OpenSSL v1.1.0L +- Win64 OpenSSL v1.1.0g +- Win32 OpenSSL v1.1.0g During the installation, you will be asked to copy OpenSSL DLLs (`libcrypto-1_1-x64.dll` and `libssl-1_1-x64.dll`) to "The Windows system directory" or "The OpenSSL libraries (/bin) directory". If you choose the later, remember to add the path (e.g., `C:\OpenSSL-Win64\bin`) to the `PATH` environment variable. From 21049d93a702eb0d322fb4b8d3e04cabe5d8bf1a Mon Sep 17 00:00:00 2001 From: Chunting Gu Date: Mon, 10 Aug 2020 09:36:32 +0800 Subject: [PATCH 2/2] fix openssl version and correct its install dir --- doc/Build-on-Windows.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/Build-on-Windows.md b/doc/Build-on-Windows.md index 47ff4a2..ad4f005 100644 --- a/doc/Build-on-Windows.md +++ b/doc/Build-on-Windows.md @@ -10,14 +10,14 @@ Download from [here](http://slproweb.com/products/Win32OpenSSL.html). The following installers (the "g" might change) are recommended for development: -- Win64 OpenSSL v1.1.0g -- Win32 OpenSSL v1.1.0g +- Win64 OpenSSL v1.1.1g +- Win32 OpenSSL v1.1.1g -During the installation, you will be asked to copy OpenSSL DLLs (`libcrypto-1_1-x64.dll` and `libssl-1_1-x64.dll`) to "The Windows system directory" or "The OpenSSL libraries (/bin) directory". If you choose the later, remember to add the path (e.g., `C:\OpenSSL-Win64\bin`) to the `PATH` environment variable. +During the installation, you will be asked to copy OpenSSL DLLs (`libcrypto-1_1-x64.dll` and `libssl-1_1-x64.dll`) to "The Windows system directory" or "The OpenSSL libraries (/bin) directory". If you choose the later, remember to add the path (e.g., `C:\Program Files\OpenSSL-Win64\bin`) to the `PATH` environment variable. ![OpenSSL Installation](screenshots/win_openssl_install.png) -OpenSSL can also be statically linked (see `C:\OpenSSL-Win64\lib\VC\static`), but it's not recommended. Because the static libraries might not match the version of your VS. +OpenSSL can also be statically linked (see `C:\Program Files\OpenSSL-Win64\lib\VC\static`), but it's not recommended. Because the static libraries might not match the version of your VS. The only drawback of dynamic link is that you must distribute the OpenSSL DLLs together with your program.