Package Details: ants-git v2.3.2.r28.gb8889562-1

Git Clone URL: https://aur.archlinux.org/ants-git.git (read-only)
Package Base: ants-git
Description: Advanced Normalization Tools (ANTs) computes high-dimensional \ mappings to capture the statistics of brain structure and function
Upstream URL: http://www.picsl.upenn.edu/ANTS/
Keywords: medical-imaging registration segmentation
Licenses: Apache
Conflicts: ants
Provides: ants
Submitter: xuan
Maintainer: liamtimms
Last Packager: liamtimms
Votes: 0
Popularity: 0.000000
First Submitted: 2017-03-23 08:51
Last Updated: 2019-11-13 20:38

Dependencies (4)

Required by (2)

Sources (1)

Pinned Comments

liamtimms commented on 2019-11-13 20:46

I've updated this PKGBUILD to work as of 11/13/19, however it should be noted that this makes it's own version of the insight-toolkit (ITK) as this produces a working package.

If you want to use a system ITK, you need to add the tag mentioned by AKSoo below by adding -DModule_GenericLabelInterpolator:BOOL=ON \ to the cmake flags in the ITK PKGBUILD, then running makepkg -si, then taking this ants-git PKGBUILD and changing the -DUSE_SYSTEM_ITK flag to ON. After that process it should work. I will use the system ITK by default if the insight-toolkit maintainers add the flag to the PKGBUILD here on the AUR.

Latest Comments

liamtimms commented on 2019-11-13 20:46

I've updated this PKGBUILD to work as of 11/13/19, however it should be noted that this makes it's own version of the insight-toolkit (ITK) as this produces a working package.

If you want to use a system ITK, you need to add the tag mentioned by AKSoo below by adding -DModule_GenericLabelInterpolator:BOOL=ON \ to the cmake flags in the ITK PKGBUILD, then running makepkg -si, then taking this ants-git PKGBUILD and changing the -DUSE_SYSTEM_ITK flag to ON. After that process it should work. I will use the system ITK by default if the insight-toolkit maintainers add the flag to the PKGBUILD here on the AUR.

liamtimms commented on 2019-10-02 21:28

Also I should note that the official ITK releases are under "insight-toolkit" rather than "ITK" here.

liamtimms commented on 2019-10-02 21:22

Hi AKSoo, I discovered that same issue some time ago. I'm currently not using either AUR package for ANTs and it looks like this has not been updated since it's initial submission so the flags are out of date here. Meanwhile, the most recent official ANTs release seems to be completely broken. I've been able to get this working by editing the PKGBUILD for ITK, following the manual build instructions on the ANTs github and then turning on the USE_SYSTEM_ITK flag during the build configuration.

From their github, it looks like the ANTs developers are in the process of setting up a better build/release system. It might be a good idea for one of us to take maintainer status of this -git version if we can unless Xuan comes back but we'll need to convince the ITK maintainer to add that flag if we want to really take advantage of the AUR.

AKSoo commented on 2019-09-27 14:44

Fails to build because it can't find itkLabelImageGenericInterpolateImageFunction.h

This is problem with itk-git not building with Module_GenericLabelInterpolator:BOOL=ON as described here https://itk.org/Doxygen/html/group__GenericLabelInterpolator.html

Also, please fix dependencies to work with itk git versions.