Construction of win732 bit vs2008 OpenSSL environment
Perl download address: http://www.activestate.com/activeperl download the latest version, please note that 32-bit operating system uses x86 version
Openssl download address: http://www.openssl.org/
To get in touch with OpenSSL for the first time, you need to build a usage environment. The following is the building process:
Download the perl installation package: ActivePerl-5.16.3.1604-MSWin32-x86-298023.msi
Download the openssl package: openssl-1.0.1h.tar
Win7 32-bit operating system VS2008
Install perl.
Extract the openssl-1.0.1h.tar to c:\
Start menu, open the vs2008 command prompt under Microsoft visual studio2008 under visual studio tools
Execute cd / d C:\ openssl-1.0.1h
Run ms\ do_ms
Generate dynamic link libraries: after running nmake-f ms\ ntdll.mak, generate related files in the C:\ openssl-1.0.1h\ out32dll folder
Generate static link libraries: after running nmake-f ms\ nt.mak, generate related files in the C:\ openssl-1.0.1h\ out32 folder
Execute nmake-f ms\ ntdll.mak test to test the generated file.
Execute nmake-f ms\ ntdll.mak install to sort out the generated files and copy them to the include,bin,lib folder
Add the relevant folder path to the options in the vs2008 tool for configuration and you can use it.
The above is my configuration step. In the middle, I encountered an error in executing nmake-f ms\ ntdll.mak, which prompted that the "windows.h" file could not be found, and still reported an error after executing vcvars32.bat in the vs2008 installation directory, probably because it was executed directly in the cmd command at the beginning, rather than configuring at the VS2008 command prompt.
The above is the configuration process of the win7 32-bit operating system.