Hi All, I followed the instructions for building OpenSSL 3.0.8 at
https://github.com/openssl/openssl/blob/openssl-3.0.8/NOTES-WINDOWS.md#native-builds-using-visual-c The nmake step failed with the following error: "lib" /nologo /out:providers\libcommon.lib @C:\Users\tbentley\AppData\Local\Temp\1\nmFF6D.tmp IF EXIST .manifest DEL /F /Q .manifest IF EXIST libcrypto-3-x64.dll DEL /F /Q libcrypto-3-x64.dll cmd /C ""link" /nologo /debug /dll /nologo /debug @C:\Users\tbentley\AppData\Local\Temp\1\nm96.tmp /implib:libcrypto.lib || (DEL /Q libcrypto-3-x64.* libcrypto.lib & EXIT 1)" crypto\aes\libcrypto-shlib-aes_cfb.obj : fatal error LNK1112: module machine type 'x86' conflicts with target machine type 'x64' Could Not Find C:\OpenSSL\openssl-3.0.8\openssl-3.0.8\libcrypto-3-x64.* NMAKE : fatal error U1077: 'cmd /C ""link" /nologo /debug /dll /nologo /debug @C:\Users\tbentley\AppData\Local\Temp\1\nm96.tmp /implib:libcrypto.lib || (DEL /Q libcrypto-3-x64.* libcrypto.lib & EXIT
1)"' : return code '0x1' Stop. NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.38.33130\bin\HostX86\x86\nmake.exe" / _build_sw' : return code '0x2' Stop. I then realized that the wrong version of cl.exe was in the path so I ran: I re-ran perl Configure VC-WIN64A and re-ran nmake. "lib" /nologo /out:apps\libapps.lib @C:\Users\tbentley\AppData\Local\Temp\1\nm9792.tmp apps\lib\libapps-lib-fmt.obj : fatal error LNK1112: module machine type 'x86' conflicts with target machine type 'x64' NMAKE : fatal error U1077: '"lib" /nologo /out:apps\libapps.lib @C:\Users\tbentley\AppData\Local\Temp\1\nm9792.tmp' : return code '0x458' Stop. NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.38.33130\bin\HostX64\x64\nmake.exe" / _build_sw' : return code '0x2' Stop. If I run cl.exe I see: Copyright (C) Microsoft Corporation. All rights reserved. Thanks. Thom Bentley
| Senior Software Engineer |
Medidata, a Dassault Systèmes company This email and any attachments are intended solely for the use of the individual or entity to whom it is addressed and may be confidential and/or privileged. If you are not one of the named recipients or have received this email in error, (i) you should not read, disclose, or copy it, (ii) please notify sender of your receipt by reply email and delete this email and all attachments, (iii) Dassault Systèmes does not accept or assume any liability or responsibility for any use of or reliance on this email. Please be informed that your personal data are processed according to our data privacy policy as described on our website. Should you have any questions related to personal data protection, please contact 3DS Data Protection Officer https://www.3ds.com/privacy-policy/contact/
|