https 访问网站之:下载安装openssl

openssl 的下载安装方法网上很多,比较详细。

1.下载ActivePerl 5.20.2、openssl-1.0.0 版本。 

2.安装ActivePerl 

ActivePerl 的安装很简单,选择好安装目录,下一步即可。

安装成功后,进入ActivePerl 的安装目录,如下图输入 perl example.pl  ,返回 Hello from ActivePerl! 表示安装成功。

3.安装openssl 

  1.安装openssl

安装openssl 也很简单,选择好安装目录,下一步即可。

  2.设置环境变量;

计算机右键->属性->高级系统设置->环境变量->path点击编辑->在变量名称中添加"C:Program Files (x86)Microsoft Visual Studio 10.0VCin;D:Perlin;c:windowssystem32"->点击确定完成设定。

  3.使用Visual Studio命令提示(2010)进入控制台模式

开始菜单->所有程序->Microsoft Visual Studio 2010->Visual Studio Tools->Visual Studio命令提示(2010),(PS:以管理员身份运行)

命令行键入vcvars32,运行vcvars32.bat

  4.将目录跳转到openssl安装目录,执行configure命令

  5.运行msdo_ms命令

  6. 运行“nmake -f ms tdll.mak”命令进行代码编译

编译成功后,输出都在out32dll 文件夹下,包括可执行文件、dll文件和lib文件等。

参考资料:

http://blog.csdn.net/zh516846937/article/details/40188065
http://blog.chinaunix.net/uid-20479991-id-216269.html
http://www.cnblogs.com/ZhouL3777/archive/2012/10/21/2732890.html


原文地址:https://www.cnblogs.com/anngeiBKY/p/5175507.html