Installing OpenSSL under WINDOWS10

Source: Internet
Author: User
Tags openssl library install perl

Profile

installation Environment : WINDOWS10 Professional Edition +vs2013

Tool : activeperl-5.22.1.2201-mswin32-x64-299574.msi,:http://www.activestate.com/

openssl-1.0.1r.tar,:http://www.openssl.org/

1, install Perl (I installed in the C drive, while my OpenSSL also decompression on the C drive)

Using the command-line tool, go to the C:\Perl64\eg path, execute "Perl example.pl", and if "Hello from activeperl!" is displayed, the Perl installation is successful.

2. Setting Environment Variables

Open My Computer, properties, advanced system settings, environment variables, locate the path system variable, click Edit, add E:\VS 2013\vc\bin; C:\perl64\bin;c:\windows\system32, where E:\VS 2013\vc\bin is my VS2013 installation path, according to the circumstances of their own modification. C:\Perl64\bin is the installation path for Perl and modifies it as appropriate.

3. Open the Developer command prompt for Visual Studio as an administrator and enter the directory of OpenSSL (my C-packing directory)

4. Execute Configure command (configure compilation parameters)

The final result is:

5. Run Ms\do_ms command

6. Run nmake-f ms\ntdll.mak command to compile and build OpenSSL dynamic library

This will compile for about two minutes and wait patiently.

7. Testing

Using the command nmake-f Ms\ntdll.mak test, if successful, the result will appear:

8. Commands that may be used

Testing the OpenSSL dynamic library: nmake-f Ms\ntdll.mak test
Test OpenSSL Static Library: nmake-f Ms\nt.mak test
Installing the OpenSSL dynamic Library: nmake-f Ms\ntdll.mak Install
Installing the OpenSSL static Library: nmake-f Ms\nt.mak Install
Clears the compilation of the last OpenSSL dynamic library for recompilation: nmake-f ms\ntdll.mak Clean
Clears the compilation of the last OpenSSL static library for recompilation: nmake-f ms\nt.mak Clean

9. Summary (method of use)

Add the Out32dll directory to the directory for the Include directory where the OpenSSL installation directory is added in the Include directory when the project needs to be used to the OpenSSL library.

Or the Include folder under OpenSSL, lib file, dll file out, the use of the time included in the line.

10. Reference Blog

http://blog.csdn.net/zh516846937/article/details/40188065

Installing OpenSSL under WINDOWS10

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.