# Build errors

**URL:** https://discourse.itk.org/t/build-errors/838
**Category:** Engineering
**Created:** [April 13, 2018, 9:42pm UTC](https://discourse.itk.org/t/build-errors/838 "2018-04-13T21:42:20Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![melrobin](https://discourse.itk.org/user_avatar/discourse.itk.org/melrobin/32/277_2.png) [@melrobin](https://discourse.itk.org/u/melrobin)
#### Post date: [April 13, 2018, 9:42pm UTC](https://discourse.itk.org/t/build-errors/838/1 "2018-04-13T21:42:21Z")

</div>

I have a new build error:  
[92%] Building CXX object Modules/Remote/SkullStrip/test/CMakeFiles/SkullStripTestDriver.dir/SkullStripTestDriver.cxx.o  
In file included from /home/melrobin/packages/ITK/Modules/Core/TestKernel/include/itkTestDriverInclude.h:49:0,  
from /home/melrobin/packages/ITK/Modules/Core/TestKernel/include/itkTestDriverIncludeRequiredIOFactories.h:32,  
from /home/melrobin/packages/ITK/build/Modules/Remote/SkullStrip/test/SkullStripTestDriver.cxx:10:  
/home/melrobin/packages/ITK/Modules/IO/ImageBase/include/itkImageFileReader.h:171:46: fatal error: itkImageIOFactoryRegisterManager.h: No such file or directory  
#include “itkImageIOFactoryRegisterManager.h”

I know that 5.0 is still in alpha, but have I done something wrong here?

---

<div class="post-metadata">

### Author: ![matt.mccormick](https://discourse.itk.org/user_avatar/discourse.itk.org/matt.mccormick/32/7_2.png) [@matt.mccormick](https://discourse.itk.org/u/matt.mccormick)
#### Post date: [April 18, 2018, 4:15pm UTC](https://discourse.itk.org/t/build-errors/838/2 "2018-04-18T16:15:32Z")

</div>

Hi @melrobin,

This patch should address the issue:

[https://github.com/lorensen/skullStrip/pull/4](https://github.com/lorensen/skullStrip/pull/4)

Matt

---

<div class="post-metadata">

### Author: ![melrobin](https://discourse.itk.org/user_avatar/discourse.itk.org/melrobin/32/277_2.png) [@melrobin](https://discourse.itk.org/u/melrobin)
#### Post date: [April 19, 2018, 3:34pm UTC](https://discourse.itk.org/t/build-errors/838/3 "2018-04-19T15:34:49Z")

</div>

Thank you very much for the reply. I do see the pull request, but not a patch that I can apply. What should I do to apply these changes?

---

<div class="post-metadata">

### Author: ![matt.mccormick](https://discourse.itk.org/user_avatar/discourse.itk.org/matt.mccormick/32/7_2.png) [@matt.mccormick](https://discourse.itk.org/u/matt.mccormick)
#### Post date: [April 19, 2018, 3:48pm UTC](https://discourse.itk.org/t/build-errors/838/4 "2018-04-19T15:48:09Z")

</div>

There is a [patch pending](http://review.source.kitware.com/#/c/23337/), but it is a better idea to build the module externally, e.g.,

```auto
git clone https://github.com/lorensen/skullStrip
mkdir skullStrip-build
cd skullStrip-build
cmake -DITK_DIR=/path/to/ITK-build ../skullStrip
make

```
