Package Details: ants-git 2.4.2.r31.g74afcc56-1

Git Clone URL: https://aur.archlinux.org/ants-git.git (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: http://www.picsl.upenn.edu/ANTS/
Keywords: medical-imaging registration segmentation
Licenses: Apache
Conflicts: ants
Provides: ants
Submitter: kai
Maintainer: liamtimms
Last Packager: liamtimms
Votes: 1
Popularity: 0.000000
First Submitted: 2017-03-23 08:51 (UTC)
Last Updated: 2022-12-09 16:21 (UTC)

Dependencies (9)

Required by (2)

Sources (2)

Latest Comments

« First ‹ Previous 1 2

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 https://itk.org/Doxygen/html/group__GenericLabelInterpolator.html

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