Hi Tom Yes I have configured Configuring OpenSSL version 3.0.7 for target VC-WIN64A Using os-specific seed configuration Created configdata.pm Running configdata.pm Created makefile.in Created makefile Created include\openssl\configuration.h And could see the generated makefile ## Makefile for OpenSSL ## ## WARNING: do not edit! ## Generated by configdata.pm from Configurations\common0.tmpl, Configurations\windows-makefile.tmpl ## via makefile.in PLATFORM=VC-WIN64A SRCDIR=. BLDDIR=. FIPSKEY=f4556650ac31d35461610bac4ed81b1a181b2d8a43ea2854cbae22ca74560813 VERSION=3.0.7 VERSION_NUMBER=3.0.7 MAJOR=3 MINOR=0 From: Floodeen, Tom <thomas.floodeenjr@xxxxxxxxxxx>
Did you configure it first? perl Configure VC-WIN64A (Add other options as desired.) -Tom From: openssl-users <openssl-users-bounces@xxxxxxxxxxx>
On Behalf Of Samantray Bhuyan, Madhusudan (GE Digital) 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 |