c++ - 在 Visual Studio 2013 中构建 OpenSSL

标签 c++ visual-studio-2013 build openssl

如何在 Visual Studio 2013 中构建 OpenSSL? 我尝试在 this lesson 中编译,但有一个错误: 汇编:tmp32\x86_64cpuid.asm tmp32\x86_64cpuid.asm(1):错误 A2088:文件末尾需要 END 指令 NMAKE: fatal error U1077:“C:\Program Files (x86)\Microsoft Visual Studio 12.0\ 我在 x64 下编译。可能是什么问题呢?提前谢谢你。

最佳答案

我给 build OpenSSL here 写了张便条(Unix 和 Windows)。

确保您使用原始的 OpenSSL 源代码(不要重复使用已编译的源代码)。

打开 Visual Studio x64 Win64 命令提示符 (2010)(在“开始”菜单中)

%comspec% /k ""C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat"" amd64

perl Configure VC-WIN64A --prefix=C:\openssl_x64 no-asm no-shared enable-tlsext enable-static-engine

ms\do_win64a

nmake -f ms\ntdll.mak

nmake -f ms\ntdll.mak install

关于c++ - 在 Visual Studio 2013 中构建 OpenSSL,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36120065/

相关文章:

c++ - fseek 现在支持大文件

c++ - 在 wxWidgets 中关闭 wxDialog

c++ - 用C++读取/写入二进制文件

c# - WPF:我应该如何重构这个 C# 项目?

visual-studio-2013 - 远程调试Axe 2012 IL代码

java - 尝试在 Maven 发布准备和执行任务上运行并行构建时出现 Ger 错误?

c++ - 输入和输出的二维字符数组问题

c++ - 实例化 Mat 对象时 opencv 3.0.0 链接器错误

build - 是否有相当于 "Only show latest build status"的 Jenkins 管道?

java - 想要在 2 个不同的 jdk 中构建 2 个应用程序,然后在 2 个 Tomcat 服务器中运行