<!-- Describe the issue -->
Hi everyone,
I am new to this community, and I've been trying to build the bitcoin core without success yet.
I am a Windows user; I have tried to build the bitcoin core from Powershell and installed vcpkg. I have decided to use VS to build it, I have VS2019 and VS2022 on my computer.
When I run the command:
msbuild /m bitcoin.sln /p:Platform=x64 /p:Configuration=Release /t:build
Not matter what MSbuild I am using (the one from VS2019, or 2022, I even tried the one in Microsoft.NET), I get:
"C:\Users\Manu\Documents\GitHub\bitcoin\build_msvc\bitcoin.sln" (build target) (1) ->
"C:\Users\Manu\Documents\GitHub\bitcoin\build_msvc\bench_bitcoin\bench_bitcoin.vcxproj" (default target) (19) ->
LINK : fatal error C1900: Il mismatch between 'P1' version '20211014' and 'P2' version '20210202' [C:\Users\Manu\Documents\GitHub\bitcoin\build_msvc\bench_bitcoin\bench_bitcoin.vcxproj]
LINK : fatal error LNK1257: code generation failed [C:\Users\Manu\Documents\GitHub\bitcoin\build_msvc\bench_bitcoin\bench_bitcoin.vcxproj]
LINK : fatal error LNK1327: failure during running link.exe [C:\Users\Manu\Documents\GitHub\bitcoin\build_msvc\bench_bitcoin\bench_bitcoin.vcxproj]
"C:\Users\Manu\Documents\GitHub\bitcoin\build_msvc\bitcoin.sln" (build target) (1) ->
"C:\Users\Manu\Documents\GitHub\bitcoin\build_msvc\test_bitcoin\test_bitcoin.vcxproj" (default target) (12) ->
LINK : fatal error C1900: Il mismatch between 'P1' version '20211014' and 'P2' version '20210202' [C:\Users\Manu\Documents\GitHub\bitcoin\build_msvc\test_bitcoin\test_bitcoin.vcxproj]
LINK : fatal error LNK1257: code generation failed [C:\Users\Manu\Documents\GitHub\bitcoin\build_msvc\test_bitcoin\test_bitcoin.vcxproj]
LINK : fatal error LNK1327: failure during running link.exe [C:\Users\Manu\Documents\GitHub\bitcoin\build_msvc\test_bitcoin\test_bitcoin.vcxproj]
"C:\Users\Manu\Documents\GitHub\bitcoin\build_msvc\bitcoin.sln" (build target) (1) ->
"C:\Users\Manu\Documents\GitHub\bitcoin\build_msvc\test_bitcoin-qt\test_bitcoin-qt.vcxproj" (default target) (24) ->
LINK : fatal error LNK1181: cannot open input file 'C:\Qt5.12.11_x64_static_vs2019_16101\lib\Qt5Test.lib' [C:\Users\Manu\Documents\GitHub\bitcoin\build_msvc\test_bitcoin-qt\test_bitcoin-q
t.vcxproj]
"C:\Users\Manu\Documents\GitHub\bitcoin\build_msvc\bitcoin.sln" (build target) (1) ->
"C:\Users\Manu\Documents\GitHub\bitcoin\build_msvc\bitcoin-qt\bitcoin-qt.vcxproj" (default target) (23) ->
LINK : fatal error LNK1181: cannot open input file 'C:\Qt5.12.11_x64_static_vs2019_16101\plugins\platforms\qminimal.lib' [C:\Users\Manu\Documents\GitHub\bitcoin\build_msvc\bitcoin-qt\bitc
oin-qt.vcxproj]`
I downloaded and tried two Qt versions:
Qt5.12.11_x64_static_vs2019_16101: the one recommended in the.appveyor.ymlfile.Qt5.12.10_x64_static_vs2019_1694: this has been proposed to fix this issue in a previous thread
But I always get the same error. I don't know if this is a bug, or just me doing something wrong. So any help would be appreciated,
Thanks!


i used the x64 native command prompt to build qt this time after clean all and start fresh, then used same for build proyect but this show up, is there any windows stable version of bitcoin to test in visual studio? thanks.