在vs2010下编译OpenSSL
来源:互联网 发布:php网站修改教程 编辑:程序博客网 时间:2024/06/11 23:43
Building OpenSSL for Visual Studio
Building OpenSSL for Visual Studio on Windows is mostly straight-forward, but it has some quirks. I’ll document the results of my wrestling here so that future attempts will be less painful.
What you need
You need to install…
- Visual Studio 2010 (this will likely work with older versions as well)
- ActivePerl 1
- Latest version of OpenSSL source-code 2
Setting up for the build
Unzip3 the OpenSSL source code into two different folders, one for the 32-bit build and one for the 64-bit build4. So, for example, you might end up with C:\openssl-src-32
and C:\openssl-src-64
.
Building the 32-bit static libraries
- Open the Visual Studio Command Prompt (2010)5.
cd
to your OpenSSL source folder for 32-bit (e.g.cd C:\openssl-src-32
).- Run the following: 6
Your outputs will be in C:\Build-OpenSSL-VC-32
.
Building the 32-bit static libraries with debug symbols
These steps will embed the debug symbols directly into the .lib
files. Don’t expect to see any .pdb
files.
- Open the Visual Studio Command Prompt (2010).
cd
to your OpenSSL source folder for 32-bit (e.g.cd C:\openssl-src-32
).- Run the following:
- In a text editor (like Notepad), open
ms\nt.mak
and replace all occurrences of/Zi
with/Z7
. There should be three replacements.7 - Run the following:
Your outputs will be in C:\Build-OpenSSL-VC-32-dbg
. Make sure you rename them to something likelibeay32-debug.lib
and ssleay32-debug.lib
.
- 在vs2010下编译OpenSSL
- 在vs2010下编译OpenSSL
- Windows下编译OpenSSL (VS2010)
- Windows下编译OpenSSL (VS2010)
- Windows下编译OpenSSL (VS2010)
- Windows下编译OpenSSL (VS2010)
- OpenSSL在Windows下使用vs2010的编译安装
- Windows环境下使用VS2010编译OpenSSL
- Windows环境下VS2010编译openssl库
- Windows环境下VS2010编译openssl库
- openssl编译及在VS2010中的使用
- 在Windows下编译OpenSSL
- 在Windows下编译OpenSSL
- OpenSSL在windows下编译
- OpenSSL 在VS2010环境下的安装
- OpenSSL 在VS2010环境下的安装
- vs2010 编译安装openssl
- vs2010安装编译openssl
- 网站管理员应该知道的 301重定向
- Linux小技巧之history命令用法15例
- Iterative Tree Traversal
- Java中hasNext()和next()的一种实现方法
- 百度地图的静态地图
- 在vs2010下编译OpenSSL
- 七种排序算法源码
- 线段树-hdu-Gangster
- HTTP报文
- CSU1326: The contest(并查集+分组背包)
- 第1章 C语言与程序概述之1.1.2 C语言的标准化
- [每日一题] 11gOCP 1z0-053 :2013-10-3 large ASM files--- variable extent size....................15
- 我的Android进阶之旅------>Android中AsyncTask源码分析
- hdu4185 Oil Skimming (最大匹配)