본문 바로가기
develop

OpenSSL library

by 찬이 2015. 6. 14.

OpenSSL build break....

Assembling: tmp32\sha1-586.asm
tmp32\sha1-586.asm(1432) : error A2070:invalid instruction operands
tmp32\sha1-586.asm(1576) : error A2070:invalid instruction operands
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 11.0
\VC\BIN\ml.EXE"' : return code '0x1'
Stop.

 

OpenSSL을 윈도우에서 컴파일하는게 잘 안되고 번거로워서
구글링으로 찾아보니
주기적으로 OpenSSL Library를 만들어 공유해주시는 고마운 분이 계시더군요.

## 출처 : http://www.npcglib.org/~stathis/blog/precompiled-openssl/

OpenSSL v1.0.2c (stable)

  • Updated: 13 June 2015
  • Source Code: ftp://ftp.openssl.org/source/openssl-1.0.2c.tar.gz
  • Batch Script: build-openssl-1.0.2c.bat
    • Patches: [patch]
    • Custom suffixes (MD for dynamic libraries and MT for static libraries + “d” for debug builds)
  • Notes:
    • All statically built libraries link against the Static Runtimes (/MT instead of /MD).
    • Debug symbols are available for both release and debug libraries.
  • Build Instructions:
    • Download the build-openssl batch file and all listed patches (place them in the same directory).
    • Download and decompress the official sources in their own directory.
    • Check and modify the configuration options in the batch script.
    • Patch the sources: build-openssl-1.0.2c.bat patch
    • Build everything: build-openssl-1.0.2c.bat build all

Precompiled OpenSSL
Compiler Download Size Arch Build Link Notes
MSVC 2013 openssl-1.0.2c-vs2013.7z [md5] 17.7 MB x86 (32-bit)
x64 (64-bit)
debug
release
shared
static
MSVC 2012 openssl-1.0.2c-vs2012.7z [md5] 17.5 MB x86 (32-bit)
x64 (64-bit)
debug
release
shared
static
MSVC 2010 openssl-1.0.2c-vs2010.7z [md5] 16.9 MB x86 (32-bit)
x64 (64-bit)
debug
release
shared
static
MSVC 2008 openssl-1.0.2c-vs2008.7z [md5] 16.6 MB x86 (32-bit)
x64 (64-bit)
debug
release
shared
static

댓글