Categories
Bitcoin Cryptocurrency Mastering Development

Anyone tried building bitcoin core with visual studio 2019?

I followed the steps mentioned in the below link:

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

Trying to build from https://github.com/bitcoin/bitcoin/tree/0.20

visual-studio-error

Errors:


Error   C1083   Cannot open include file: 'QApplication': No such file or directory bitcoin-qt  \bitcoin-0.20.1\src\qt\bitcoin.h    12

Error    MSB3073 The command "C:\Qt5.9.8_x64_static_vs2019\bin\moc.exe  "..\..\src\qt\test\addressbooktests.h" -o .\QtGeneratedFiles\qt\moc\moc_addressbooktests.cpp" exited with code 3.    test_bitcoin-qt \bitcoin-0.20.1\build_msvc\test_bitcoin-qt\test_bitcoin-qt.vcxproj  103

Error    MSB3073 The command "C:\Qt5.9.8_x64_static_vs2019\bin\moc.exe  "..\..\src\qt\bitcoinamountfield.cpp" -o .\QtGeneratedFiles\qt\bitcoinamountfield.moc" exited with code 3.   libbitcoin_qt   \bitcoin-0.20.1\build_msvc\libbitcoin_qt\libbitcoin_qt.vcxproj  168

Related Questions:

building bitcoin-qt.exe using Visual Studio 2017

Environment for building Bitcoin core in Windows

https://bitcointalk.org/index.php?topic=5264661.0

https://github.com/bitcoin/bitcoin/issues/17864

Leave a Reply

Your email address will not be published. Required fields are marked *