Build problems on Windows - openssl3.07

Samantray Bhuyan, Madhusudan (GE Digital) Madhusudan.SamantrayBhuyan at ge.com
Mon Feb 6 18:38:11 UTC 2023


I am building openssl 3.0.7 on windows using VS developer command prompt for x64 bit.

Checks :

cl
Microsoft (R) C/C++ Optimizing Compiler Version 19.29.30145 for x64
Copyright (C) Microsoft Corporation.  All rights reserved.

usage: cl [ option... ] filename... [ /link linkoption... ]

I have set the 64 bit environment

C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Auxiliary\Build>vcvars64.bat
**********************************************************************
** Visual Studio 2019 Developer Command Prompt v16.11.14
** Copyright (c) 2021 Microsoft Corporation
**********************************************************************
[vcvarsall.bat] Environment initialized for: 'x64'

C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Auxiliary\Build>


But still getting the error


lib" /nologo /out:apps\libapps.lib @C:\Users\223036~1\AppData\Local\Temp\nm47B9.tmp
apps\lib\libapps-lib-fmt.obj : fatal error LNK1112: module machine type 'x86' conflicts with target machine type 'x64'
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\lib.EXE"' : return code '0x458'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\nmake.exe"' : return code '0x2'




Regards
Madhusudan S

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mta.openssl.org/pipermail/openssl-users/attachments/20230206/3517e7aa/attachment.htm>


More information about the openssl-users mailing list