C:\openssl-1.0.2k>nmake -f ms\ntdll.mak
Microsoft (R) 程式維護實用工具 14.00.24210.0 版
著作權所有 (C) Microsoft Corporation。 保留所有權利。
Building OpenSSL
link /nologo /subsystem:console /opt:ref /debug /dll /out:out32dll\libeay32.dll /def:ms/LIBEAY32.def @C:\Users\Mac\AppData\Local\Temp\nmC402.tmp
tmp32dll\uplink.obj : fatal error LNK1112: 模塊計算機型別“X86”與目標計算機型別“x64”沖突
NMAKE : fatal error U1077: “"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\link.EXE"”: 回傳代碼“0x458”
Stop.
uj5u.com熱心網友回復:
使用下面的操作:編輯ms/nt.mak (或者ms/ntdll.mak),修改輸入目錄:
# The output directory for everything intersting
OUT_D=out64
# The output directory for all the temporary muck
TMP_D=tmp64
# The output directory for the header files
INC_D=inc64
INCO_D=inc64/openssl
然后再執行 nmake
uj5u.com熱心網友回復:
一般情況下使用32位庫就可以了,出問題的概率比較小。64位系統都可以。
轉載請註明出處,本文鏈接:https://www.uj5u.com/gongcheng/101182.html
標籤:基礎類
上一篇:MFC實作網路協議分析器
