# SimpleITK install fails on Windows

**URL:** <https://discourse.slicer.org/t/simpleitk-install-fails-on-windows/23373>\
**Category:** Development\
**Created:** [May 11, 2022, 1:22pm UTC](https://discourse.slicer.org/t/simpleitk-install-fails-on-windows/23373 "2022-05-11T13:22:25Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [May 11, 2022, 8:21pm UTC](https://discourse.slicer.org/t/simpleitk-install-fails-on-windows/23373/8 "2022-05-11T20:21:54Z")

</div>

HDF5 is the library that most commonly breaks ITK build. It is always a huge pain. I’m not surprised that it broke your build, too.

> [@keri](#):
>
> I added HDF5 bin dir to `LibraryPaths` env var (in SimpleITK\_Env.cmake) and the problem was solved.

If this solves all your problems and this workaround is acceptable for you then it is good. I’m not sure if this is the cleanest solution, but if you submit a pull request then I’m sure that at some point @jcfr can have a look at it and merge it if there are no better ideas.

---

_[View the full topic](https://discourse.slicer.org/t/simpleitk-install-fails-on-windows/23373)._
