# SlicerRT does not build due to missing ITK remote module

**URL:** <https://discourse.slicer.org/t/slicerrt-does-not-build-due-to-missing-itk-remote-module/6214>\
**Category:** Development\
**Tags:** slicerrt\
**Created:** [March 19, 2019, 9:25pm UTC](https://discourse.slicer.org/t/slicerrt-does-not-build-due-to-missing-itk-remote-module/6214 "2019-03-19T21:25:54Z")\
**Posts on this page:** 6\
**Page:** 2

<div class="post-metadata">

**Author:** ![fedorov](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/fedorov/32/14_2.png) [@fedorov](https://discourse.slicer.org/u/fedorov)\
**Post date:** [March 22, 2019, 9:24pm UTC](https://discourse.slicer.org/t/slicerrt-does-not-build-due-to-missing-itk-remote-module/6214/23 "2019-03-22T21:24:13Z")

</div>

> [@cpinter](#):
>
> I went through the extensions on the latest nightly dashboard that did not build. These are the extensions that fail to build due to ITK and the failure seems to be related to version 5 (and not some older issue like itkFactoryRegistration):
> 
> - DSCMRIAnalysis
> - PET-IndiC
> - PETTumorSegmentation
> - […]

@chribaue @abeers FYI

---

<div class="post-metadata">

**Author:** ![cpinter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/cpinter/32/7995_2.png) [@cpinter](https://discourse.slicer.org/u/cpinter)\
**Post date:** [March 25, 2019, 12:41pm UTC](https://discourse.slicer.org/t/slicerrt-does-not-build-due-to-missing-itk-remote-module/6214/24 "2019-03-25T12:41:42Z")

</div>

Just an update that I issued a [PR](https://github.com/SuperElastix/elastix/pull/128) to Elastix to fix the remaining build errors. Once this is integrated I’ll update the hash.

---

<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:** [March 25, 2019, 3:44pm UTC](https://discourse.slicer.org/t/slicerrt-does-not-build-due-to-missing-itk-remote-module/6214/25 "2019-03-25T15:44:30Z")

</div>

This is great, thank you! Until they integrate the fix, you can fork the Elastix repository and use that fork for nightly builds. It would allow us to start testing Elastix build on all operating systems.

---

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [March 29, 2019, 11:57pm UTC](https://discourse.slicer.org/t/slicerrt-does-not-build-due-to-missing-itk-remote-module/6214/26 "2019-03-29T23:57:08Z")

</div>

Looks like there’s a small conflict between @cpinter’s patch and the one @N-Dekker did. If it doesn’t get resolved in a few days then yes, doing temporary Slicer-specific elastix fork would be a good idea.

> <https://github.com/SuperElastix/elastix/pull/128>
>
> There were a few simple things that prevented from Elastic to build with ITK5. T…his commit fixes these, preserving former ITK version compatibility with preprocessor ifs.

---

<div class="post-metadata">

**Author:** ![cpinter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/cpinter/32/7995_2.png) [@cpinter](https://discourse.slicer.org/u/cpinter)\
**Post date:** [March 31, 2019, 10:36pm UTC](https://discourse.slicer.org/t/slicerrt-does-not-build-due-to-missing-itk-remote-module/6214/27 "2019-03-31T22:36:12Z")

</div>

Just returned from travelling. I’ll take care of this tomorrow. Thanks for the patience

---

<div class="post-metadata">

**Author:** ![cpinter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/cpinter/32/7995_2.png) [@cpinter](https://discourse.slicer.org/u/cpinter)\
**Post date:** [April 1, 2019, 1:22pm UTC](https://discourse.slicer.org/t/slicerrt-does-not-build-due-to-missing-itk-remote-module/6214/28 "2019-04-01T13:22:51Z")

</div>

This pull request fixes the build issues (only tested on Windows) and adds node references from the transform to the inputs:

> <https://github.com/lassoan/SlicerElastix/pull/14>

[Previous page](https://discourse.slicer.org/t/slicerrt-does-not-build-due-to-missing-itk-remote-module/6214.md?page=1)
