# Slicer elatix cannot be installed

**URL:** https://discourse.slicer.org/t/slicer-elatix-cannot-be-installed/5865
**Category:** Support
**Created:** [February 21, 2019, 7:45am UTC](https://discourse.slicer.org/t/slicer-elatix-cannot-be-installed/5865 "2019-02-21T07:45:28Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![Jainey](https://avatars.discourse-cdn.com/v4/letter/j/a88e57/32.png) [@Jainey](https://discourse.slicer.org/u/Jainey)
#### Post date: [February 21, 2019, 7:45am UTC](https://discourse.slicer.org/t/slicer-elatix-cannot-be-installed/5865/1 "2019-02-21T07:45:28Z")

</div>

Hi

I downloaded the latest nightly version of slicer. I cannot get the sequence registration to work. I ve installed the sequences plug in and 4D elatix.

I am getting an error message saying I need slicer elastix module which cannot be found  
Could you pls help

Thanks

---

<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: [February 21, 2019, 1:24pm UTC](https://discourse.slicer.org/t/slicer-elatix-cannot-be-installed/5865/2 "2019-02-21T13:24:08Z")

</div>

What platform (OS) and slicer version are you using? I installed sequence registration yesterday on nightlies of mac and linux and it worked fine.

@jcfr: the dashboards do indicate a lot of extension issues on the factory machines.

---

<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: [February 21, 2019, 3:01pm UTC](https://discourse.slicer.org/t/slicer-elatix-cannot-be-installed/5865/3 "2019-02-21T15:01:52Z")

</div>

Probably Mac, see

> [@SlicerElastix extension not available on Mac](https://discourse.slicer.org/t/slicerelastix-extension-not-available-on-mac/4531/14):
>
> I’ve updated SlicerElastix to use a specific Elastix hash.

We haven’t had a SlicerElastix on Mac for at least a year. We should at least upload a package for the stable if we cannot fix the factory build.

After a quick search there were unanswered inquiries about the same thing from others, such as

> [@Slicer elastix on Mac](https://discourse.slicer.org/t/slicer-elastix-on-mac/5434):
>
> Hi I cannot get sequence registration module to work on MAc. I am using slicer 4.10 and installed elastix separately and tried specifying the path on general registration. Could you please help. Thanks

I did my best to investigate then to push the issue, but it’s not resolved as of now.

---

<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: [February 21, 2019, 3:13pm UTC](https://discourse.slicer.org/t/slicer-elatix-cannot-be-installed/5865/4 "2019-02-21T15:13:49Z")

</div>

Hm we actually do have a SlicerElastix package for today’s nightly:  
[http://slicer.cdash.org/index.php?project=SlicerPreview&filtercombine=or&filtercount=1&showfilters=1&field1=label&compare1=63&value1=SlicerElastix](http://slicer.cdash.org/index.php?project=SlicerPreview&filtercombine=or&filtercount=1&showfilters=1&field1=label&compare1=63&value1=SlicerElastix)

But we seem to have a Windows issue now 🙂

Update: [this](http://slicer.cdash.org/index.php?project=SlicerPreview&date=2019-02-11&filtercount=1&showfilters=1&field1=label&compare1=63&value1=SlicerElastix) is the last day it worked, 10 days ago.

---

<div class="post-metadata">

### Author: ![jcfr](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jcfr/32/17825_2.png) [@jcfr](https://discourse.slicer.org/u/jcfr)
#### Post date: [February 21, 2019, 3:22pm UTC](https://discourse.slicer.org/t/slicer-elatix-cannot-be-installed/5865/5 "2019-02-21T15:22:27Z")

</div>

> the dashboards do indicate a lot of extension issues on the factory machines.

Most of them are compilation errors that could easily be fixed.

Regarding SlicerElastix issues:

- On windows it is a regression caused by [COMP: turn off override warnings · lassoan/SlicerElastix@9ef9664 · GitHub](https://github.com/lassoan/SlicerElastix/commit/9ef96648402bd60e50c62cd511e886d5a2a04a98)

```auto
cl : Command line error D8021: invalid numeric argument '/Wno-inconsistent-missing-override' [D:\D\P\S-0-E-b\
SlicerElastix-build\elastix-build\CMakeFiles\CMakeTmp\cmTC_381f5.vcxproj] [D:\D\P\S-0-E-b\SlicerElastix-build
\elastix.vcxproj]

          0 Warning(s)
          1 Error(s)

```

- On linux, the following warning is reported `warning: unrecognized command line option ‘-Wno-inconsistent-missing-override’`, and extension failed to upload last night [1], I manually re-did the upload and it is available now. See [@KitwareMedical/slicer-extensions-webapp](http://slicer.kitware.com/midas3/slicerappstore?os=linux&arch=amd64&revision=27968&category=&search=SlicerElastix&layout=layout)

[1] it failed because of server issue. This a known problem and we have path forward, we need resources (aka financial support) to finalize the transition.

- On macOS, it uploaded without trouble. See [@KitwareMedical/slicer-extensions-webapp](http://slicer.kitware.com/midas3/slicerappstore?os=macosx&arch=amd64&revision=27968&category=&search=SlicerElastix&layout=layout)

---

<div class="post-metadata">

### Author: ![jcfr](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jcfr/32/17825_2.png) [@jcfr](https://discourse.slicer.org/u/jcfr)
#### Post date: [February 21, 2019, 3:24pm UTC](https://discourse.slicer.org/t/slicer-elatix-cannot-be-installed/5865/6 "2019-02-21T15:24:54Z")

</div>

> [@cpinter](#):
>
> We haven’t had a SlicerElastix on Mac for at least a year

SlicerElastix is available on macOS for both the [latest release](http://slicer.kitware.com/midas3/slicerappstore?os=macosx&arch=amd64&revision=27931&category=&search=SlicerElastix&layout=layout) as well as the nightly build (see above).

---

<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: [February 21, 2019, 3:27pm UTC](https://discourse.slicer.org/t/slicer-elatix-cannot-be-installed/5865/7 "2019-02-21T15:27:11Z")

</div>

Yes I have seen that since then. It’s great news and good to know.

---

<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: [February 21, 2019, 3:40pm UTC](https://discourse.slicer.org/t/slicer-elatix-cannot-be-installed/5865/8 "2019-02-21T15:40:03Z")

</div>

> [@jcfr](#):
>
> On windows it is a regression caused by [https://github.com/lassoan/SlicerElastix/commit/9ef96648402bd60e50c62cd511e886d5a2a04a98](https://github.com/lassoan/SlicerElastix/commit/9ef96648402bd60e50c62cd511e886d5a2a04a98)

Thanks for catching that Jc - after the commit I was wondering if I needed to make that flag conditional to be mac-only but I couldn’t get any error message from the dashboard. The [windows](http://slicer.cdash.org/viewBuildError.php?buildid=1519245) and [linux](http://slicer.cdash.org/viewBuildError.php?buildid=1518941) build messages were cryptic and I thought they were unrelated since so many other things were breaking. I guess this is the server issue you refer to?

In any case I can add a check so that the flag is only added on mac.

---

<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: [February 21, 2019, 4:16pm UTC](https://discourse.slicer.org/t/slicer-elatix-cannot-be-installed/5865/9 "2019-02-21T16:16:05Z")

</div>

I think this will fix it.

> <https://github.com/lassoan/SlicerElastix/pull/13>
>
> Addresses https://discourse.slicer.org/t/slicer-elatix-cannot-be-installed/5865/…5
