conda-forge / libitk-feedstock

A conda-smithy repository for itk.
BSD 3-Clause "New" or "Revised" License
4 stars 13 forks source link

Issue with building a conda-forge package for ANTs #60

Open ghisvail opened 3 years ago

ghisvail commented 3 years ago

I am having troubles building a conda-forge package for ANTs using the libitk-devel package. I filed an issue upstream with details about the errors in the build log. They reckon it may come from differences in ITK configurations between this conda-forge package and what ANTs expect.

Could you help me identify what's missing and where the issue should be fixed?

Thanks.

blowekamp commented 3 years ago

My thoughts where to start:

I see the following modules not enabled in package:

      -DModule_MGHIO:BOOL=ON
      -DModule_GenericLabelInterpolator:BOOL=ON
      -DModule_AdaptiveDenoising:BOOL=ON

Please make a PR to enable them.

I also see some legacy and compatibility flags disable in ANTs, in general we wish to keep those enabled top maximized compatibility. I'd suggest testing ANTs with those flags reenabled to verify they are not a problem.

ghisvail commented 3 years ago

This is what the new build log looks like.

blowekamp commented 3 years ago

The build is using the " -std=c++17" option. Is ANTS compatible?

I see most of the errors are related to templates and the itk::WriteImage method.