OpenSSL Windows x64 编译错误
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/2753960/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
OpenSSL Windows x64 Compilation error
提问by rkellerm
I'm getting the following error when trying to compile OpenSSL 1.0, 64 bit:
尝试编译 64 位 OpenSSL 1.0 时出现以下错误:
ias -o tmp32\ia64cpuid.obj tmp32\ia64cpuid.asm
'ias' is not recognized as an internal or external command,
operable program or batch file.
NMAKE : fatal error U1077: 'ias' : return code '0x1'
Stop.
Does someone know what can I do? (I do it on Windows 2008 x64 OS)
有人知道我能做什么吗?(我在 Windows 2008 x64 操作系统上这样做)
Thanks.
谢谢。
采纳答案by rkellerm
For the former problem - I just added to the Path environment variable the path of ias: C:\Program Files\Microsoft Visual Studio 9.0\VC\bin\x86_ia64.
对于前一个问题 - 我只是在 Path 环境变量中添加了 ias 的路径:C:\Program Files\Microsoft Visual Studio 9.0\VC\bin\x86_ia64。
But after all I compiled it for x64 (VC-WIN64A) with NASM and it worked.
但毕竟我用 NASM 为 x64 (VC-WIN64A) 编译了它并且它有效。
Thanks.
谢谢。
回答by Maxim Masiutin
You've probably chosen VC-WIN64I (as an argument for the perl Configure
command), which is a wrong platform in your case. You should have passed VC-WIN64A. "I" stands for "Itanium" and "A" still stands "AMD64".
您可能选择了 VC-WIN64I(作为perl Configure
命令的参数),在您的情况下这是一个错误的平台。您应该已经通过了 VC-WIN64A。“I”代表“Itanium”,“A”仍然代表“AMD64”。
Run
跑
perl Configure VC-WIN64A
and then run "nmake" again, it should work this time.
然后再次运行“nmake”,这次应该可以工作了。
回答by bignum
回答by user1587804
Forget all that building - its a nightmare! Someone has done all the hardwork for Win7 64 and kindly put it here
忘记所有的建筑——这是一场噩梦!有人为Win7 64做了所有的努力,请把它放在这里
https://code.google.com/p/openssl-for-windows/downloads/detail?name=openssl-0.9.8k_X64.zip&can=2&q=
https://code.google.com/p/openssl-for-windows/downloads/detail?name=openssl-0.9.8k_X64.zip&can=2&q=