# Registration ANTs SyN

**URL:** <https://discourse.slicer.org/t/registration-ants-syn/8747>\
**Category:** Support\
**Tags:** registration, build\
**Created:** [October 11, 2019, 1:41pm UTC](https://discourse.slicer.org/t/registration-ants-syn/8747 "2019-10-11T13:41:20Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cincy](https://avatars.discourse-cdn.com/v4/letter/c/d9b06d/32.png) [@Cincy](https://discourse.slicer.org/u/Cincy)\
**Post date:** [October 11, 2019, 1:41pm UTC](https://discourse.slicer.org/t/registration-ants-syn/8747/1 "2019-10-11T13:41:20Z")

</div>

Operating system:win10 X64  
Slicer version:4.10.0  
Expected behavior:I want to use SyN registration,Interface prompt build ANTs,so I build the slicer,and I check the option of "USE\_ANTS ",but when I finished it,retry the module(General registration(Brain)),the same error occured.I don’t know how to solve it now.  
Looking forward to your reply.Thank you!

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/5/1/5189039ca4992d92b2af7d9560ac1850b4634c6b.png)

---

<div class="post-metadata">

**Author:** ![Cincy](https://avatars.discourse-cdn.com/v4/letter/c/d9b06d/32.png) [@Cincy](https://discourse.slicer.org/u/Cincy)\
**Post date:** [October 11, 2019, 1:44pm UTC](https://discourse.slicer.org/t/registration-ants-syn/8747/2 "2019-10-11T13:44:28Z")

</div>

And I can run the slicer.exe successfully,but it still prompt build ANTs

---

<div class="post-metadata">

**Author:** ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)\
**Post date:** [October 11, 2019, 3:24pm UTC](https://discourse.slicer.org/t/registration-ants-syn/8747/3 "2019-10-11T15:24:39Z")

</div>

You have locally build slicer with ants support. While it shows as an option, it is not enabled by default

---

<div class="post-metadata">

**Author:** ![Cincy](https://avatars.discourse-cdn.com/v4/letter/c/d9b06d/32.png) [@Cincy](https://discourse.slicer.org/u/Cincy)\
**Post date:** [October 12, 2019, 1:27am UTC](https://discourse.slicer.org/t/registration-ants-syn/8747/4 "2019-10-12T01:27:48Z")

</div>

But I have checked the option( USE\_ANTS)in cmake to configure，and would you like to give me some suggestions about solving it? I want to use SyN of the General registration module.  
And thanks for your reply!

---

<div class="post-metadata">

**Author:** ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)\
**Post date:** [October 12, 2019, 3:10am UTC](https://discourse.slicer.org/t/registration-ants-syn/8747/5 "2019-10-12T03:10:54Z")

</div>

I might be wrong but my understanding is that option is only going to work if you locally build Ants on your machine. I believe ANTs it’s not part of the Slicer superbuild.

---

<div class="post-metadata">

**Author:** ![Cincy](https://avatars.discourse-cdn.com/v4/letter/c/d9b06d/32.png) [@Cincy](https://discourse.slicer.org/u/Cincy)\
**Post date:** [October 12, 2019, 4:00am UTC](https://discourse.slicer.org/t/registration-ants-syn/8747/6 "2019-10-12T04:00:51Z")

</div>

Ok,I will try.Thanks for your help !

---

<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:** [October 12, 2019, 4:13am UTC](https://discourse.slicer.org/t/registration-ants-syn/8747/7 "2019-10-12T04:13:37Z")

</div>

You may also try Elastix registration library (available via SlicerElastix extension).
