# How to build ImageRegistration8 example with ITK-WASM?

**URL:** https://discourse.itk.org/t/how-to-build-imageregistration8-example-with-itk-wasm/5800
**Category:** Engineering
**Tags:** registration, itk-wasm
**Created:** [March 14, 2023, 10:24am UTC](https://discourse.itk.org/t/how-to-build-imageregistration8-example-with-itk-wasm/5800 "2023-03-14T10:24:06Z")
**Posts on this page:** 1
**Showing post:** 2

<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: [March 14, 2023, 1:49pm UTC](https://discourse.itk.org/t/how-to-build-imageregistration8-example-with-itk-wasm/5800/2 "2023-03-14T13:49:26Z")

</div>

One way to debug this is to build ITK with just the components you declared as your dependencies. In CMake, turn off `ITK_BUILD_DEFAULT_MODULES`, and group Core, then enable these individual modules. Does your project build against such trimmed-down ITK?

---

_[View the full topic](https://discourse.itk.org/t/how-to-build-imageregistration8-example-with-itk-wasm/5800)._
