<p>I'm trying to compile Bitcoin from source code in Windows 7.<br>
When I run <code>./configure</code>, I get the following error:</p>

<pre><code>checking for Berkeley DB C++ headers... no
configure: error: libdb_cxx headers missing
</code></pre>

<p>I have followed all the steps mentioned in the source code folder <code>doc/build_msw</code>, but still get the same error.</p>

<p>Additionally, I have tried following these instructions for building Bitcoin on Windows:</p>

<ul>
<li><a href="https://bitcoin.stackexchange.com/questions/587/how-do-i-build-bitcoin-source-in-windows-7">How do I build Bitcoin source in Windows 7?</a></li>
<li><a href="https://bitcointalk.org/index.php?topic=149479.0" rel="nofollow noreferrer">Building headless Bitcoin and Bitcoin-qt on Windows</a></li>
</ul>

<p>I have installed <code>berkeleydb 4.8.30.msi</code>.</p>

<p>What else can I try to resolve this issue?</p>

CC BY-SA 3.0
2015-03-25T10:05:43.150Z
Have you tried googling the error message?
Murch
CC BY-SA 3.0
2015-03-25T10:06:53.000Z
Yes, I have tried everything, but still its give me the same error
Deepak Chauhan
CC BY-SA 3.0
2015-03-25T10:09:30.070Z
follow this links to resolve the issue https://bitcointalk.org/index.php?topic=149479.0   and also installed with berkeleydb 4.8.30.msi, with command also installed
Deepak Chauhan
CC BY-SA 3.0
2015-03-25T10:25:01.603Z
Please put sufficient information into your questions so that they can be answered by someone that is interested in trying to help you. This means that you need to provide background information, tell us what you have tried, and show us that you have put in reasonable effort to solve your problem yourself. Please don't add additional information into the comments, but **edit your question** to improve it. For additional information see [ask].
Murch
CC BY-SA 3.0
2015-03-25T11:04:59.227Z
Have you tried installing berkleydb from source, as the forum page you linked tells you to do as step 2.2?
Nick ODell
CC BY-SA 3.0
2015-03-25T11:10:56.310Z
yes, I have done with source as well as with exe db-4.8.30.msi, still it will give the same error again and again
Deepak Chauhan
CC BY-SA 3.0
2015-03-25T11:21:30.763Z
There doesn't seem to be a file in [doc/](https://github.com/bitcoin/bitcoin/tree/master/doc) named `build_msw`. Are you building the latest version of Bitcoin?
Nick ODell
CC BY-SA 3.0
2015-03-25T11:27:51.873Z
I am usings bitcoin 0.9 version. and It will contain build-msw.md file. If I am use 0.10 version which is a latest code,  then how I can configure all dependencies for windows.
Deepak Chauhan
CC BY-SA 3.0
2015-03-25T13:23:57.563Z
When you run the configure script and compile berkleydb, does it produces any output or error messages?
Nick ODell
CC BY-SA 3.0
2015-03-25T13:49:18.220Z
when I compile berkeley DB with its source code, It will compile perfectly. But when I run ./configure command from bitcoin code it will give me error that "checking for Berkeley DB C++ headers... no
configure: error: libdb_cxx headers missing"
Deepak Chauhan
<bitcoin-core><windows><compiling>
Problem with Berkeley DB while building Bitcoin on Windows from Source Code?
Deepak Chauhan
# Problem with Berkeley DB while building Bitcoin on Windows from Source Code?

(Asked by: username_0 on 2015-03-25)

I'm trying to compile Bitcoin from source code in Windows 7.  
When I run `./configure`, I get the following error:

```
checking for Berkeley DB C++ headers... no
configure: error: libdb_cxx headers missing

```

I have followed all the steps mentioned in the source code folder `doc/build_msw`, but still get the same error.

Additionally, I have tried following these instructions for building Bitcoin on Windows:

* [How do I build Bitcoin source in Windows 7?](https://bitcoin.stackexchange.com/questions/587/how-do-i-build-bitcoin-source-in-windows-7)
* [Building headless Bitcoin and Bitcoin-qt on Windows](https://bitcointalk.org/index.php?topic=149479.0)

I have installed `berkeleydb 4.8.30.msi`.

What else can I try to resolve this issue?

**Tags:** bitcoin-core, windows, compiling

> **Comments:**
> **username_1**: Have you tried googling the error message?  
> **username_0**: Yes, I have tried everything, but still its give me the same error  
> **username_0**: follow this links to resolve the issue https://bitcointalk.org/index.php?topic=149479.0   and also installed with berkeleydb 4.8.30.msi, with command also installed  
> **username_1**: Please put sufficient information into your questions so that they can be answered by someone that is interested in trying to help you. This means that you need to provide background information, tell us what you have tried, and show us that you have put in reasonable effort to solve your problem yourself. Please don't add additional information into the comments, but **edit your question** to improve it. For additional information see [ask].  
> **username_2**: Have you tried installing berkleydb from source, as the forum page you linked tells you to do as step 2.2?  
> **username_0**: yes, I have done with source as well as with exe db-4.8.30.msi, still it will give the same error again and again  
> **username_2**: There doesn't seem to be a file in [doc/](https://github.com/bitcoin/bitcoin/tree/master/doc) named `build_msw`. Are you building the latest version of Bitcoin?  
> **username_0**: I am usings bitcoin 0.9 version. and It will contain build-msw.md file. If I am use 0.10 version which is a latest code,  then how I can configure all dependencies for windows.  
> **username_2**: When you run the configure script and compile berkleydb, does it produces any output or error messages?  
> **username_0**: when I compile berkeley DB with its source code, It will compile perfectly. But when I run ./configure command from bitcoin code it will give me error that "checking for Berkeley DB C++ headers... no configure: error: libdb_cxx headers missing"  

---

## 0 answers

