I'm compiling OpenSSL with Visual Studio 2015. I have installed:
Visual Studio 2015 on Windows 10.
ActivePerl-5.24.0.2400-MSWin32-x64-300558.
nasm-2.11.08-win32.
OpenSSL source code by git clone git://git.openssl.org/openssl.git
What I did are:
Create a batch file with lines below.
@call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86_amd64
@set path=%path%;C:\Users\gchen\AppData\Local\nasm
perl Configure VC-WIN64A —prefix=C:\test\openssl
Now I should do ms\do_win64a
, but I can't find this batch file. In the directory ms
, there are files
2016/08/22 17:39 <DIR> .
2016/08/22 17:39 <DIR> ..
2016/08/21 14:23 3,646 applink.c
2016/08/21 14:23 1,247 cmp.pl
2016/08/21 14:23 2,815 segrenam.pl
2016/08/21 14:23 4,541 tlhelp32.h
2016/08/21 14:23 1,137 uplink-common.pl
2016/08/21 14:23 1,472 uplink-ia64.pl
2016/08/21 14:23 1,111 uplink-x86.pl
2016/08/21 14:23 1,594 uplink-x86_64.pl
2016/08/21 14:23 4,225 uplink.c
2016/08/21 14:23 2,268 uplink.h
but there is no ms-win64a.bat.
What did I do wrong?
The build process has changed with the new 1.1.0 release. Probably you already figured out yourself, but anyway:
Starting with 1.1.0 there are no ms\do_*.bat
files anymore.
Instead execute the following steps:
x32 compilation on Windows:
perl Configure VC-WIN32
nmake
nmake test
x64A compilation on Windows:
perl Configure VC-WIN64A
nmake
nmake test
Configure your Compiler environment as before and point your path to Perl (and NASM if used).
Source: The INSTALL
file included in the 1.1.0 release.