# ITK compile: failed to open file H5make\_libsetting.exe

**URL:** https://discourse.itk.org/t/itk-compile-failed-to-open-file-h5make-libsetting-exe/5707
**Category:** Beginner Questions
**Created:** [February 15, 2023, 2:18pm UTC](https://discourse.itk.org/t/itk-compile-failed-to-open-file-h5make-libsetting-exe/5707 "2023-02-15T14:18:46Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![zhang-qiang-github](https://discourse.itk.org/user_avatar/discourse.itk.org/zhang-qiang-github/32/1183_2.png) [@zhang-qiang-github](https://discourse.itk.org/u/zhang-qiang-github)
#### Post date: [February 15, 2023, 2:18pm UTC](https://discourse.itk.org/t/itk-compile-failed-to-open-file-h5make-libsetting-exe/5707/1 "2023-02-15T14:18:46Z")

</div>

I am compiling ITK from source code, and it reports a bug for release version:

```auto
can not open file "D:\ITK\build\bin\Release\H5make_libsettings.ext"

```

But the compiling is OK for debug version.

The environment is:

```auto
ITK 5.2.1
win 10
vs 2019
cmake 3.22.1

```

Why it failed in Release but succeed in Debug?

---

<div class="post-metadata">

### Author: ![dzenanz](https://discourse.itk.org/user_avatar/discourse.itk.org/dzenanz/32/1093_2.png) [@dzenanz](https://discourse.itk.org/u/dzenanz)
#### Post date: [February 15, 2023, 2:30pm UTC](https://discourse.itk.org/t/itk-compile-failed-to-open-file-h5make-libsetting-exe/5707/2 "2023-02-15T14:30:36Z")

</div>

There is `H5make_libsettings.exe` in both Debug and Release folders on my computer. There is no `H5make_libsettings.ext` anywhere on my computer, and I have multiple builds of ITK.

What is the full error message? Can you try a clean build? That means configure/build in a new directory.
