Bitcoin failed to build with error MSB3073, error MSB8020 on MSVC #25860

issue fangzhouxia opened this issue on August 17, 2022
  1. fangzhouxia commented at 7:05 AM on August 17, 2022: none

    <!-- This issue tracker is only for technical issues related to Bitcoin Core. General bitcoin questions and/or support requests are best directed to the Bitcoin StackExchange at https://bitcoin.stackexchange.com. For reporting security issues, please read instructions at https://bitcoincore.org/en/contact/. If the node is "stuck" during sync or giving "block checksum mismatch" errors, please ensure your hardware is stable by running memtest and observe CPU temperature with a load-test tool such as linpack before creating an issue! -->

    <!-- Describe the issue -->

    Expected behavior build successfully.

    <!--- What behavior did you expect? -->

    Actual behavior Hi all, Bitcoin fails to build on MSVC due to error MSB3073, error MSB8020. Could you help look?

    <!--- What was the actual behavior (provide screenshots if the issue is GUI-related)? -->

    To reproduce error message: C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Microsoft\VC\v160\Microsoft.CppBuild.targets(439,5): error MSB8020: The build tools for v143 (Platform Toolset = 'v143') cannot be found. To build using the v143 build tools, please install v143 build tools. Alternatively, you may upgrade to the current Visual Studio tools by selecting the Project menu or right-click the solution, and then selecting "Retarget solution". [F:\gitP\bitcoin\bitcoin\build_msvc\libbitcoinconsensus\libbitcoinconsensus.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Microsoft\VC\v160\Microsoft.CppBuild.targets(439,5): error MSB8020: The build tools for v143 (Platform Toolset = 'v143') cannot be found. To build using the v143 build tools, please install v143 build tools. Alternatively, you may upgrade to the current Visual Studio tools by selecting the Project menu or right-click the solution, and then selecting "Retarget solution".

    <!--- How reliably can you reproduce the issue, what are the steps to do so? -->

    System information VS version: VS2019 (16.11.11) Operating system: windows server 2019 the commit of Bitcoin we use is 5174a13

    <!-- What version of Bitcoin Core are you using, where did you get it (website, self-compiled, etc)? -->

    <!-- What type of machine are you observing the error on (OS/CPU and disk type)? -->

    <!-- GUI-related issue? What is your operating system and its version? If Linux, what is your desktop environment and graphical shell? -->

    <!-- Any extra information that might be useful in the debugging process. -->

    <!--- This is normally the contents of a `debug.log` or `config.log` file. Raw text or a link to a pastebin type site are preferred. -->

  2. fangzhouxia added the label Bug on Aug 17, 2022
  3. fanquake removed the label Bug on Aug 17, 2022
  4. fanquake added the label Windows on Aug 17, 2022
  5. fanquake commented at 7:16 AM on August 17, 2022: member

    https://github.com/bitcoin/bitcoin/tree/master/build_msvc

    Visual Studio 2022 is minimum required to build Bitcoin Core.

  6. fanquake closed this on Aug 17, 2022

  7. bitcoin locked this on Sep 6, 2023
Labels

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-29 03:14 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me