-
Notifications
You must be signed in to change notification settings - Fork 15
Home
刘群 edited this page Apr 18, 2018
·
3 revisions
版本 | |
---|---|
操作系统 | Windows XP/Vista/7/8/10 |
编译器 | Visual Studio 2012/2015 |
- 安装cmake 3.11 和 Win32OpenSSL
- cmake 3.11 64位安装包下载地址 https://cmake.org/files/v3.11/cmake-3.11.0-win64-x64.msi
- cmake 3.11 32位安装包下载地址 https://cmake.org/files/v3.11/cmake-3.11.0-win32-x86.msi
- OpenSSL 1.1.0h 64位安装包下载地址http://slproweb.com/download/Win64OpenSSL-1_1_0h.exe
- OpenSSL 1.1.0h 32位安装包下载地址 http://slproweb.com/download/Win32OpenSSL-1_1_0h.exe
- 进入命令提示符窗口, 运行cmake
D:\
cd openssl-sm4-demo
cmake-gui .
-- Building for: Visual Studio 11 2012
-- The C compiler identification is MSVC 17.0.51106.1
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 11.0/VC/bin/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 11.0/VC/bin/cl.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/liuqun/Documents/GitHub/openssl-sm4-demo