我正在尝试在Windows10 64位上设置OpenSSL,在安装Visual Studio之后,我尝试使用Visual c++ 2008命令提示符在openssl目录中进行nmake,但得到以下错误:
"C:\Strawberry\perl\bin\perl.exe" "-I." -Mconfigdata "util\dofile.pl" "-omakefile" "crypto\include\internal\bn_conf.h.in" > crypto\include\internal\bn_conf.h
"C:\Strawberry\perl\bin\perl.exe" "-I." -Mconfigdata "util\dofile.pl" "-omakefile" "crypto\include\internal\dso_conf.h.in" > crypto\include\internal\dso_conf.h
"C:\Strawberry\perl\bin\perl.exe" "-I." -Mconfigdata "util\dofile.pl" "-omakefile" "include\openssl\opensslconf.h.in" > include\openssl\opensslconf.h
ias -d debug -ocrypto\aes\aes-ia64.obj "crypto\aes\aes-ia64.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.
如果我尝试编译32位版本,这个错误是不同的。这会导致引用NASM时出错,|我试图安装NASM,但没有成功。
有人能给出一个解决方案吗?
感谢您抽出时间阅读我的问题。
发布于 2017-10-05 22:02:25
我的解决方案是:
注意--尝试从源代码构建时出现错误。我下载了nasm-2.13.01-win64;nasm.exe并将其移动到openssl安装\工作文件夹。
`c:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat"`
`perl Configure VC-WIN32 --prefix=C:\Build-OpenSSL-VC-32`
`ms\do_nasm.bat`
`nmake -f ms\nt.mak`
`nmake -f ms\nt.mak install`
https://stackoverflow.com/questions/38572948
复制相似问题