青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品

牽著老婆滿街逛

嚴以律己,寬以待人. 三思而后行.
GMail/GTalk: yanglinbo#google.com;
MSN/Email: tx7do#yahoo.com.cn;
QQ: 3 0 3 3 9 6 9 2 0 .

Building OpenSSL with Visual Studio

轉載自:http://p-nand-q.com/programming/windows/building_openssl_with_visual_studio_2013.html

Building OpenSSL with Visual Studio

New:

  • Now supports both the 1.0.1 and 1.0.2 branch
  • Now supports Visual Studio 2010, 2013 and 2015
  • Now supports both static and dynamic libraries

Downloads

I provide downloads for Visual Studio 2010 and 2015. I had to remove my 2013 installation due to space constraints, but the build files are still there so you can do it, too.

VersionVisual Studio 2010Visual Studio 2015
OpenSSL 1.0.2d32-Bit Release DLL32-Bit Release DLL
 32-Bit Debug DLL32-Bit Debug DLL
 32-Bit Release Static Library32-Bit Release Static Library
 32-Bit Debug Static Library32-Bit Debug Static Library
 64-Bit Release DLL64-Bit Release DLL
 64-Bit Debug DLL64-Bit Debug DLL
 64-Bit Release Static Library64-Bit Release Static Library
 64-Bit Debug Static Library64-Bit Debug Static Library
OpenSSL 1.0.1p32-Bit Release DLL32-Bit Release DLL
 32-Bit Debug DLL32-Bit Debug DLL
 32-Bit Release Static Library32-Bit Release Static Library [broken]
 32-Bit Debug Static Library32-Bit Debug Static Library [broken]
 64-Bit Release DLL64-Bit Release DLL
 64-Bit Debug DLL64-Bit Debug DLL
 64-Bit Release Static Library64-Bit Release Static Library [broken]
 64-Bit Debug Static Library64-Bit Debug Static Library [broken]

Building OpenSSL automatically

Because the process of building OpenSSL is time consuming and error prone, I wrote a couple of batch scripts that simplify the process significantly. You can download them here. Inside, you will find three batch files:

  • rebuild_openssl_vs2010.cmd for use with Visual Studio 2010
  • rebuild_openssl_vs2013.cmd for use with Visual Studio 2013
  • rebuild_openssl_vs2015.cmd for use with Visual Studio 2015

Prerequisites

  • The script assumes you are on Windows.
  • The script assumes you have Visual Studio 2010, 2013 or 2015 installed in all the usual places. Important: If you have a different installation folder, your mileage may vary
  • The script assumes you have downloaded an OpenSSL tarball, like this one.
  • The script assumes you have Python (2.7 or 3.x) installed and on your PATH
  • The script assumes you have 7-zip installed (doesn't need to be on your PATH)
  • Choose the script you want to use and edit it. For example, let's take a look at the top of rebuild_openssl_vs2015.cmd:
    T:
    set OPENSSL_VERSION=1.0.1p
    set SEVENZIP="C:\Program Files\7-Zip\7z.exe"
    set VS2015="C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\vcvars32.bat"
    set VS2015_AMD64="C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64\vcvars64.bat"
    
    so it is pretty easy to see: you must enter the OpenSSL version manually, the rest should have sensible defaults...
  • Note: The script uses the SUBST T:\ drive for building OpenSSL.

Building the OpenSSL binaries

  • Place the tar.gz file (not the unpacked .tar) in the root of T:\
  • Double-click on one of the rebuild_openssl-vs*.cmd.

That's it, it will do all the hard work for you and present nicely packaged binaries. Great fun!

Building OpenSSL manually

OK, so you don't trust me. Right. Well, here is how you can do it manually.... Note: This article wouldn't have been possible without the invaluable help of this article. However, it was obviously not built on a Windows 8 machine, and it didn't include any binaries. So this article follows the same basic structure, but it has some important differences:

  • The instructions default to the DLL build
    Why? because that is the one used by Python. And because I was rebuilding Python, I was rebuilding OpenSSL in the first place. So there.
  • Debug build uses .PDBs

Prerequisites

  • You need Visual Studio 2010, 2013 or 2015.
  • You need to install Perl. I used ActivePerl 5.16.3 for Windows (x86).
  • You need the OpenSSL sourcecode. In the following, both the 1.0.1 and 1.0.2 branches are supported.
  • Unzip the sourcecode.
  • Create two different copies of the sourcecode. I am going to follow the conventions of the original article and create T:\openssl-src-32 and T:\openssl-src-64.
  • You need a development prompt. This varies based on your compiler:
    • Visual Studio 2010, 32-bit: Open Visual Studio Command Prompt (2010)
    • Visual Studio 2010, 64-bit: Open Visual Studio x64 Win64 Command Prompt (2010)
    • Visual Studio 2013, 32-bit: Open CMD.EXE and run C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\vcvars32.bat
    • Visual Studio 2013, 64-bit: Open CMD.EXE and run C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\amd64\vcvars64.bat
    • Visual Studio 2015, 32-bit: Open CMD.EXE and run C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\vcvars32.bat
    • Visual Studio 2015, 64-bit: Open CMD.EXE and run C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64\vcvars64.bat

Building the 32-bit Release DLL

  • Change to the source directory, for example T:\openssl-src-32
  • Run perl Configure VC-WIN32 --prefix=T:\Build-OpenSSL-VC32-Release-DLL. This will make T:\Build-OpenSSL-VC32-Release-DLLyour output directory; it should be fairly obvious how you can change that.
  • Run ms\do_ms
  • If you are on the 1.0.2 branch, you must do the following: Run ms\do_nasm.
    This step is not necessary if you are on 1.0.1
  • Run nmake -f ms\ntdll.mak
  • Run nmake -f ms\ntdll.mak install

Building the 32-bit Debug DLL

  • Change to the source directory, for example T:\openssl-src-32
  • Run perl Configure debug-VC-WIN32 --prefix=T:\Build-OpenSSL-VC32-Debug-DLL
  • Run ms\do_ms
  • If you are on the 1.0.2 branch, you must do the following: Run ms\do_nasm.
    This step is not necessary if you are on 1.0.1
  • Run nmake -f ms\ntdll.mak
  • Run nmake -f ms\ntdll.mak install

Building the 32-bit Release Static Library

  • Change to the source directory, for example T:\openssl-src-32
  • Run perl Configure VC-WIN32 --prefix=T:\Build-OpenSSL-VC32-Release-DLL. This will make T:\Build-OpenSSL-VC32-Release-DLLyour output directory; it should be fairly obvious how you can change that.
  • Run ms\do_ms
  • If you are on the 1.0.2 branch, you must do the following: Run ms\do_nasm.
    This step is not necessary if you are on 1.0.1
  • Run nmake -f ms\nt.mak
  • Run nmake -f ms\nt.mak install

Building the 32-bit Debug Static Library

  • Change to the source directory, for example T:\openssl-src-32
  • Run perl Configure debug-VC-WIN32 --prefix=T:\Build-OpenSSL-VC32-Debug-DLL
  • Run ms\do_ms
  • If you are on the 1.0.2 branch, you must do the following: Run ms\do_nasm.
    This step is not necessary if you are on 1.0.1
  • Run nmake -f ms\nt.mak
  • Run nmake -f ms\nt.mak install

Building the 64-bit Release DLL

  • Change to the source directory, for example T:\openssl-src-64
  • Run perl Configure VC-WIN64A --prefix=T:\Build-OpenSSL-VC64-Release-DLL. This will make T:\Build-OpenSSL-VC64-Release-DLL your output directory; it should be fairly obvious how you can change that.
  • Run ms\do_win64a
  • Run nmake -f ms\ntdll.mak
  • Run nmake -f ms\ntdll.mak install

Building the 64-bit Debug DLL

  • Change to the source directory, for example T:\openssl-src-64
  • Run perl Configure debug-VC-WIN64A --prefix=T:\Build-OpenSSL-VC64-Debug-DLL
  • Run ms\do_win64a
  • Run nmake -f ms\ntdll.mak
  • Run nmake -f ms\ntdll.mak install

Building the 64-bit Release Static Library

  • Change to the source directory, for example T:\openssl-src-32
  • Run perl Configure VC-WIN64A --prefix=T:\Build-OpenSSL-VC64-Release-Static. This will make T:\Build-OpenSSL-VC64-Release-Static your output directory; it should be fairly obvious how you can change that.
  • Run ms\do_win64a
  • Run nmake -f ms\nt.mak
  • Run nmake -f ms\nt.mak install

Building the 64-bit Debug Static Library

  • Change to the source directory, for example T:\openssl-src-64
  • Run perl Configure debug-VC-WIN64A --prefix=T:\Build-OpenSSL-VC64-Debug-DLL
  • Run ms\do_win64a
  • Run nmake -f ms\nt.mak
  • Run nmake -f ms\nt.mak install

FAQ

Why did I need to create two different copies of the sourcecode

Because the OpenSSL build scripts will use the folder outdll32 for both the 32-bit and the 64-bit output, so there is no easy way to distinguish both builds.


GK, December 12, 2015

Note: Special thanks to Alex (see https://github.com/CpServiceSpb/OpenSSLOcsp) for pointing out some mistakes in the documentation of the 64-bit build. Should be fine now.

posted on 2016-06-16 19:06 楊粼波 閱讀(604) 評論(0)  編輯 收藏 引用

青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品
  • <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>
            国产视频一区在线观看一区免费| 亚洲色图自拍| 亚洲综合国产激情另类一区| 亚洲天堂成人| 久久国产视频网站| 久久免费高清| 欧美搞黄网站| 日韩午夜电影| 欧美一区二区国产| 老牛嫩草一区二区三区日本| 欧美成人一区二区三区在线观看| 欧美黄色精品| 国产麻豆综合| 亚洲精品国产欧美| 欧美一区二视频在线免费观看| 久久久久久久精| 亚洲国产精品传媒在线观看 | 久久精品国产成人| 女人天堂亚洲aⅴ在线观看| 亚洲黄色三级| 午夜精品久久久久99热蜜桃导演| 性欧美xxxx大乳国产app| 欧美一级成年大片在线观看| 久久精品国产精品亚洲综合| 伊人成人开心激情综合网| 亚洲激情视频在线| 亚洲女人小视频在线观看| 久久久亚洲综合| 亚洲人成精品久久久久| 国产亚洲精品一区二区| 亚洲国产色一区| 老色批av在线精品| 91久久精品国产| 欧美一级一区| 欧美日韩综合不卡| 亚洲国产日韩欧美| 亚洲欧美日韩成人| 91久久一区二区| 久久久av网站| 国产精品色婷婷| 9久re热视频在线精品| 久久在线精品| 久久www免费人成看片高清| 欧美日韩国产成人精品| 在线观看欧美成人| 欧美诱惑福利视频| 亚洲午夜精品国产| 欧美日韩在线观看视频| 亚洲日本国产| 欧美成人精品三级在线观看| 久久国产精品99国产| 国产精品久久久一本精品| 亚洲神马久久| 9久re热视频在线精品| 欧美精品videossex性护士| 亚洲国产精品久久久久婷婷老年| 久久久噜噜噜| 久久久噜噜噜久噜久久| 黄色成人在线观看| 免费中文字幕日韩欧美| 久久天天狠狠| 亚洲人成高清| 亚洲国产成人久久综合一区| 女女同性女同一区二区三区91| 亚洲第一精品夜夜躁人人爽| 狼狼综合久久久久综合网| 久久久久国内| 亚洲国产精品va在线观看黑人| 农村妇女精品| 欧美成人一区在线| 这里是久久伊人| 亚洲综合日韩在线| 国内精品久久久久久久影视蜜臀| 久久综合一区二区| 欧美极品在线视频| 亚洲欧美中文另类| 久久精品视频在线观看| 亚洲国产精品黑人久久久| 亚洲黄色免费| 国产麻豆精品久久一二三| 久色成人在线| 欧美喷水视频| 欧美在线|欧美| 欧美gay视频| 午夜天堂精品久久久久| 久久久久久国产精品mv| 亚洲精品乱码久久久久久蜜桃91| 一区二区高清| 樱桃国产成人精品视频| 亚洲精品国久久99热| 亚洲电影在线| 欧美肥婆在线| 日韩视频免费观看高清在线视频 | 亚洲欧美成人一区二区在线电影 | 美女黄色成人网| 欧美精品一卡二卡| 久久电影一区| 欧美国产综合视频| 久久国产精品久久久| 欧美国产日韩免费| 久久精品首页| 国产精品国内视频| 欧美刺激午夜性久久久久久久| 欧美日韩一区三区四区| 欧美成人免费全部| 国产欧美日韩一区二区三区在线观看 | 欧美日韩国产黄| 久久亚洲精选| 国产精品免费一区豆花| 欧美黄污视频| 国产综合久久久久久鬼色| 洋洋av久久久久久久一区| 在线看不卡av| 欧美一区二区| 欧美在线视屏 | 亚洲精品国产系列| 久久久国际精品| 性色av香蕉一区二区| 欧美精品18| 亚洲国产精品久久91精品| 黑人一区二区三区四区五区| 亚洲综合首页| 亚洲欧美日韩精品综合在线观看 | 欧美视频1区| 亚洲激情视频| 亚洲日本理论电影| 免费视频一区二区三区在线观看| 久久免费偷拍视频| 国产视频一区二区三区在线观看| 亚洲色图综合久久| 午夜精品亚洲一区二区三区嫩草| 欧美日韩另类综合| 日韩午夜av| 亚洲欧美日韩一区二区| 国产精品国产自产拍高清av王其 | 欧美乱人伦中文字幕在线| 欧美国产日本在线| 亚洲高清在线观看| 欧美xart系列高清| 最近中文字幕日韩精品| 亚洲免费成人av| 欧美日韩一区二区三| 亚洲视频在线观看| 欧美中文字幕| 另类亚洲自拍| 欧美午夜剧场| 99热免费精品| 午夜久久美女| 国产欧美日韩激情| 欧美一区二区在线播放| 久久综合免费视频影院| 激情五月婷婷综合| 欧美sm视频| 妖精成人www高清在线观看| 香蕉精品999视频一区二区 | 欧美一区二区三区的| 免费看成人av| 宅男精品导航| 国产有码在线一区二区视频| 久久综合国产精品| 亚洲乱码国产乱码精品精98午夜| 亚洲小视频在线观看| 国产日本欧美在线观看| 久久久噜噜噜久久中文字免| 亚洲精品九九| 久久精品人人爽| 亚洲精品一区二区三区在线观看| 欧美日韩亚洲一区二区三区四区| 亚洲一区久久久| 欧美二区乱c少妇| 亚洲已满18点击进入久久| 黑人巨大精品欧美一区二区| 欧美国产日韩在线观看| 亚洲欧美日韩精品久久久| 欧美激情一级片一区二区| 午夜精品福利一区二区三区av| 狠狠做深爱婷婷久久综合一区| 欧美激情中文字幕一区二区| 性娇小13――14欧美| 亚洲国产专区校园欧美| 欧美主播一区二区三区美女 久久精品人 | 亚洲免费视频网站| 亚洲国产成人精品视频| 国产精品xnxxcom| 免费在线亚洲欧美| 午夜久久tv| 一区二区欧美视频| 欧美jizzhd精品欧美喷水| 欧美一级精品大片| 一本色道久久综合亚洲精品高清| 黄色av日韩| 国产亚洲一区在线播放| 国产精品hd| 欧美日韩精品在线观看| 久久久久久色| 欧美在线亚洲一区| 亚洲欧美影音先锋| 亚洲欧美不卡| 亚洲一区二区3| 亚洲一级电影|