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