Package Details: ants-git 2.3.5.r126.gd30526f9-1

Git Clone URL: (read-only, click to copy)
Package Base: ants-git
Description: Advanced Normalization Tools (ANTs) computes high-dimensional \ mappings to capture the statistics of brain structure and function
Upstream URL:
Keywords: medical-imaging registration segmentation
Licenses: Apache
Conflicts: ants
Provides: ants
Submitter: kai
Maintainer: liamtimms
Last Packager: liamtimms
Votes: 1
Popularity: 0.007630
First Submitted: 2017-03-23 08:51 (UTC)
Last Updated: 2022-05-24 21:17 (UTC)

Latest Comments

MarsSeed commented on 2022-05-22 15:29 (UTC)

Please change source to: (repo got moved).

Also, please kindly cut the 'v' prefix from pkgver (add a sed statement to that effect), as written in Arch Linux VCS package guidelines (sed example in the third code block under the 'Git' heading).

Such change will be seen by users as a package version update but will cause no ill effect (they'll need to update once).

Also please kindly change provides to:


This would be useful for allowing dependent packages to define version constraints for 'ants' dependency, and ants-git then could also be evaluated as a candidate for such version-constrained dependency.

liamtimms commented on 2021-10-29 02:01 (UTC)

Recommend downgrading VTK to 8 series if you hit issues compiling with the new 9.0 package.

liamtimms commented on 2019-11-13 20:46 (UTC) (edited on 2020-06-04 17:24 (UTC) by liamtimms)

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 (UTC)

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 (UTC) (edited on 2019-10-02 21:26 (UTC) by liamtimms)

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 (UTC) (edited on 2019-09-27 15:27 (UTC) by AKSoo)

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

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