Skip to content

compiling bitcoin_qt in Visual Studio fails, because of Berkeley DB #17864

@Softwareminister

Description

@Softwareminister

bitcoin_qt fails to compile because of a missing header "db_cxx.h". Berkeley DB R11 which is contained in GitHub does not contain a file "db_cxx.h", so I took the current R18 directly from Oracle. There exists a "db_cxx.h", but other errors appear: "pthread.h" is now missing, which seems to be a threading technique especially for UNIX. I did not find any solution, either a matching Berkeley DB, nor a way to configure the R18 header files for compiling in Microsoft Visual Studio. The documentation states, compilation was successfully tested, so I ask myself how it can be resolved ?

Expected behavior
that compiling bitcoin_qt works in Visual Studio

Actual behavior
see screenshot attached

To reproduce
just download the project and compile it in MS VS

System information
Windows 10 latest patches, MS Visual Studio 2019 latest patches
latest Bitcoin Core code as offered here
screenshot

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions