Need help with OpenSSL static library

otls7 at otls7 at
Tue Mar 14 08:03:05 UTC 2023

All you need is in the file.  My cheatsheet follows:

If want to install to c:\Program Files (and sure, I do) run VS2022 Developer
Command Prompt for VS2022 as Admin
Then (where opensssl3_x64_rel is at C:\prj\openssl3\opensssl3_x64_rel):

no-shared for static libs (or at least no VCRUNTIME140.DLL)

  1) new admin cmd (I believe this is only if doing a default nmake install
which goes into "Program Files" so THAT would need admin)
  2) gox64.cmd
  3) vcvars64.bat                                     <----------- or:
vcvarsall.bat amd64
  4) cd C:\prj\openssl3\openssl3_x64_rel
  5) perl ..\openssl-3.0.x\configure no-shared VC-WIN64A
  6) nmake
  7) nmake test
  8) nmake install DESTDIR=..\openssl3_x64_rel_DESTDIR


C:\tools\go>type gox64.cmd
cd "C:\Program Files (x86)\Microsoft Visual

and 3.0.x where x is say 7, or 8.

More information about the openssl-users mailing list