Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/c/57.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C 打开SSL 1.1 X编译并在窗口上创建dll_C_Visual Studio 2015_Openssl_Window - Fatal编程技术网

C 打开SSL 1.1 X编译并在窗口上创建dll

C 打开SSL 1.1 X编译并在窗口上创建dll,c,visual-studio-2015,openssl,window,C,Visual Studio 2015,Openssl,Window,我正在Windows7 64位机器上编译openssl-1.1.0h版本。 我遵循了以下步骤: 从OpenSSL网站下载了源代码 已安装Visual Studio 2015和所需的Perl环境 perl配置VC-WIN64A--prefix=custom dir--openssldir=custom dir无asm共享 恩马克 纳姆克试验 nmake安装 我能够成功编译源代码,但它在lib文件夹下创建了libcrypto.lib和libssl.lib文件。如何创建dll而不是lib?它们应该已

我正在Windows7 64位机器上编译openssl-1.1.0h版本。 我遵循了以下步骤:

  • 从OpenSSL网站下载了源代码
  • 已安装Visual Studio 2015和所需的Perl环境
  • perl配置VC-WIN64A--prefix=custom dir--openssldir=custom dir无asm共享
  • 恩马克
  • 纳姆克试验
  • nmake安装

  • 我能够成功编译源代码,但它在lib文件夹下创建了libcrypto.lib和libssl.lib文件。如何创建dll而不是lib?

    它们应该已经在bin文件夹中创建了dll(libssl-1_1-x64,libcrypto-1_1-x64)是在bin文件夹中创建的,但不是在lib文件夹中创建的。我想将代码链接到.dll而不是.lib,因为使用.lib通常会增加.exe的大小。在bin文件夹中创建的dll在运行时使用,但无法在编译时将我的代码链接到这些dll。