ANTsX / ANTsRCore

Rcpp bindings for the C++ ANTs library used by the ANTsR package
9 stars 9 forks source link

Any idea on new #94

Closed muschellij2 closed 5 years ago

muschellij2 commented 5 years ago

Describe the bug Trying to build on windows and getting on https://ci.appveyor.com/project/muschellij2/antsrcore/builds/27054798#L3447 :

C:/run/src/ants/ImageRegistration/itkLabelImageGenericInterpolateImageFunction.h:38:3: error: invalid new-expression of abstract class type 'itk::LabelImageGenericInterpolateImageFunction<itk::Image<double, 2u>, itk::LinearInterpolateImageFunction, double>'
   itkNewMacro( Self );
   ^
In file included from C:\run\src\ants\Examples\antsRegistrationTemplateHeader.h:21:0,
                 from C:\run\src\ants\Examples\antsRegistration2DDouble.cxx:1:
C:/run/src/ants/ImageRegistration/itkLabelImageGenericInterpolateImageFunction.h:23:7: note:   because the following virtual functions are pure within 'itk::LabelImageGenericInterpolateImageFunction<itk::Image<double, 2u>, itk::LinearInterpolateImageFunction, double>':

Getting closer to a full build, but unsure how to use info like this https://stackoverflow.com/questions/12615904/g-because-the-following-virtual-functions-are-pure-with-abstract-base-class (my C++ is not good anymore, if it ever was).

Desktop (please complete the following information):

muschellij2 commented 5 years ago

Build gets to linker area again, but still hangs and cannot install.