Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation problem in Ubuntu 24.04 #408

Open
vinferrer opened this issue Oct 16, 2024 · 0 comments
Open

Installation problem in Ubuntu 24.04 #408

vinferrer opened this issue Oct 16, 2024 · 0 comments

Comments

@vinferrer
Copy link

Describe the bug
A clear and concise description of what the bug is.
Installing ANTSRcore this error appears that seems to be related to ITKR although it was installed properly

  151 |   itkOverrideGetNameOfClassMacro(AnisotropicDiffusionFunction);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkMacro.h:418:45: error: expected ‘)’ before ‘std’
  418 |     static_assert(std::is_same_v<thisClass, std::remove_const_t<std::remove_reference_t<decltype(*this)>>>, \
      |                                             ^~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkMacro.h:433:48: note: in expansion of macro ‘itkInternalGetNameOfClassImplementationMacro’
  433 |   const char * GetNameOfClass() const override itkInternalGetNameOfClassImplementationMacro(thisClass)
      |                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkAnisotropicDiffusionFunction.h:151:3: note: in expansion of macro ‘itkOverrideGetNameOfClassMacro’
  151 |   itkOverrideGetNameOfClassMacro(AnisotropicDiffusionFunction);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkMacro.h:418:18: note: to match this ‘(’
  418 |     static_assert(std::is_same_v<thisClass, std::remove_const_t<std::remove_reference_t<decltype(*this)>>>, \
      |                  ^
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkMacro.h:433:48: note: in expansion of macro ‘itkInternalGetNameOfClassImplementationMacro’
  433 |   const char * GetNameOfClass() const override itkInternalGetNameOfClassImplementationMacro(thisClass)
      |                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkAnisotropicDiffusionFunction.h:151:3: note: in expansion of macro ‘itkOverrideGetNameOfClassMacro’
  151 |   itkOverrideGetNameOfClassMacro(AnisotropicDiffusionFunction);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkAnisotropicDiffusionImageFilter.h: In member function ‘const char* itk::AnisotropicDiffusionImageFilter<TInputImage, TOutputImage>::GetNameOfClass() const’:
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkMacro.h:418:24: error: ‘is_same_v’ is not a member of ‘std’; did you mean ‘is_same’?
  418 |     static_assert(std::is_same_v<thisClass, std::remove_const_t<std::remove_reference_t<decltype(*this)>>>, \
      |                        ^~~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkMacro.h:433:48: note: in expansion of macro ‘itkInternalGetNameOfClassImplementationMacro’
  433 |   const char * GetNameOfClass() const override itkInternalGetNameOfClassImplementationMacro(thisClass)
      |                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkAnisotropicDiffusionImageFilter.h:86:3: note: in expansion of macro ‘itkOverrideGetNameOfClassMacro’
   86 |   itkOverrideGetNameOfClassMacro(AnisotropicDiffusionImageFilter);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkMacro.h:418:43: error: expected primary-expression before ‘,’ token
  418 |     static_assert(std::is_same_v<thisClass, std::remove_const_t<std::remove_reference_t<decltype(*this)>>>, \
      |                                           ^
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkMacro.h:433:48: note: in expansion of macro ‘itkInternalGetNameOfClassImplementationMacro’
  433 |   const char * GetNameOfClass() const override itkInternalGetNameOfClassImplementationMacro(thisClass)
      |                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkAnisotropicDiffusionImageFilter.h:86:3: note: in expansion of macro ‘itkOverrideGetNameOfClassMacro’
   86 |   itkOverrideGetNameOfClassMacro(AnisotropicDiffusionImageFilter);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkMacro.h:418:45: error: expected string-literal before ‘std’
  418 |     static_assert(std::is_same_v<thisClass, std::remove_const_t<std::remove_reference_t<decltype(*this)>>>, \
      |                                             ^~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkMacro.h:433:48: note: in expansion of macro ‘itkInternalGetNameOfClassImplementationMacro’
  433 |   const char * GetNameOfClass() const override itkInternalGetNameOfClassImplementationMacro(thisClass)
      |                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkAnisotropicDiffusionImageFilter.h:86:3: note: in expansion of macro ‘itkOverrideGetNameOfClassMacro’
   86 |   itkOverrideGetNameOfClassMacro(AnisotropicDiffusionImageFilter);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkMacro.h:418:45: error: expected ‘)’ before ‘std’
  418 |     static_assert(std::is_same_v<thisClass, std::remove_const_t<std::remove_reference_t<decltype(*this)>>>, \
      |                                             ^~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkMacro.h:433:48: note: in expansion of macro ‘itkInternalGetNameOfClassImplementationMacro’
  433 |   const char * GetNameOfClass() const override itkInternalGetNameOfClassImplementationMacro(thisClass)
      |                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkAnisotropicDiffusionImageFilter.h:86:3: note: in expansion of macro ‘itkOverrideGetNameOfClassMacro’
   86 |   itkOverrideGetNameOfClassMacro(AnisotropicDiffusionImageFilter);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkMacro.h:418:18: note: to match this ‘(’
  418 |     static_assert(std::is_same_v<thisClass, std::remove_const_t<std::remove_reference_t<decltype(*this)>>>, \
      |                  ^
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkMacro.h:433:48: note: in expansion of macro ‘itkInternalGetNameOfClassImplementationMacro’
  433 |   const char * GetNameOfClass() const override itkInternalGetNameOfClassImplementationMacro(thisClass)
      |                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkAnisotropicDiffusionImageFilter.h:86:3: note: in expansion of macro ‘itkOverrideGetNameOfClassMacro’
   86 |   itkOverrideGetNameOfClassMacro(AnisotropicDiffusionImageFilter);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkVectorAnisotropicDiffusionFunction.h: In member function ‘const char* itk::VectorAnisotropicDiffusionFunction<TImage>::GetNameOfClass() const’:
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkMacro.h:418:24: error: ‘is_same_v’ is not a member of ‘std’; did you mean ‘is_same’?
  418 |     static_assert(std::is_same_v<thisClass, std::remove_const_t<std::remove_reference_t<decltype(*this)>>>, \
      |                        ^~~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkMacro.h:433:48: note: in expansion of macro ‘itkInternalGetNameOfClassImplementationMacro’
  433 |   const char * GetNameOfClass() const override itkInternalGetNameOfClassImplementationMacro(thisClass)
      |                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkVectorAnisotropicDiffusionFunction.h:65:3: note: in expansion of macro ‘itkOverrideGetNameOfClassMacro’
   65 |   itkOverrideGetNameOfClassMacro(VectorAnisotropicDiffusionFunction);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkMacro.h:418:43: error: expected primary-expression before ‘,’ token
  418 |     static_assert(std::is_same_v<thisClass, std::remove_const_t<std::remove_reference_t<decltype(*this)>>>, \
      |                                           ^
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkMacro.h:433:48: note: in expansion of macro ‘itkInternalGetNameOfClassImplementationMacro’
  433 |   const char * GetNameOfClass() const override itkInternalGetNameOfClassImplementationMacro(thisClass)
      |                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkVectorAnisotropicDiffusionFunction.h:65:3: note: in expansion of macro ‘itkOverrideGetNameOfClassMacro’
   65 |   itkOverrideGetNameOfClassMacro(VectorAnisotropicDiffusionFunction);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkMacro.h:418:45: error: expected string-literal before ‘std’
  418 |     static_assert(std::is_same_v<thisClass, std::remove_const_t<std::remove_reference_t<decltype(*this)>>>, \
      |                                             ^~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkMacro.h:433:48: note: in expansion of macro ‘itkInternalGetNameOfClassImplementationMacro’
  433 |   const char * GetNameOfClass() const override itkInternalGetNameOfClassImplementationMacro(thisClass)
      |                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkVectorAnisotropicDiffusionFunction.h:65:3: note: in expansion of macro ‘itkOverrideGetNameOfClassMacro’
   65 |   itkOverrideGetNameOfClassMacro(VectorAnisotropicDiffusionFunction);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkMacro.h:418:45: error: expected ‘)’ before ‘std’
  418 |     static_assert(std::is_same_v<thisClass, std::remove_const_t<std::remove_reference_t<decltype(*this)>>>, \
      |                                             ^~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkMacro.h:433:48: note: in expansion of macro ‘itkInternalGetNameOfClassImplementationMacro’
  433 |   const char * GetNameOfClass() const override itkInternalGetNameOfClassImplementationMacro(thisClass)
      |                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkVectorAnisotropicDiffusionFunction.h:65:3: note: in expansion of macro ‘itkOverrideGetNameOfClassMacro’
   65 |   itkOverrideGetNameOfClassMacro(VectorAnisotropicDiffusionFunction);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkMacro.h:418:18: note: to match this ‘(’
  418 |     static_assert(std::is_same_v<thisClass, std::remove_const_t<std::remove_reference_t<decltype(*this)>>>, \
      |                  ^
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkMacro.h:433:48: note: in expansion of macro ‘itkInternalGetNameOfClassImplementationMacro’
  433 |   const char * GetNameOfClass() const override itkInternalGetNameOfClassImplementationMacro(thisClass)
      |                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkVectorAnisotropicDiffusionFunction.h:65:3: note: in expansion of macro ‘itkOverrideGetNameOfClassMacro’
   65 |   itkOverrideGetNameOfClassMacro(VectorAnisotropicDiffusionFunction);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkDerivativeOperator.h: In member function ‘const char* itk::DerivativeOperator<TPixel, VDimension, TAllocator>::GetNameOfClass() const’:
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkMacro.h:418:24: error: ‘is_same_v’ is not a member of ‘std’; did you mean ‘is_same’?
  418 |     static_assert(std::is_same_v<thisClass, std::remove_const_t<std::remove_reference_t<decltype(*this)>>>, \
      |                        ^~~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkMacro.h:433:48: note: in expansion of macro ‘itkInternalGetNameOfClassImplementationMacro’
  433 |   const char * GetNameOfClass() const override itkInternalGetNameOfClassImplementationMacro(thisClass)
      |                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkDerivativeOperator.h:77:3: note: in expansion of macro ‘itkOverrideGetNameOfClassMacro’
   77 |   itkOverrideGetNameOfClassMacro(DerivativeOperator);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkMacro.h:418:43: error: expected primary-expression before ‘,’ token
  418 |     static_assert(std::is_same_v<thisClass, std::remove_const_t<std::remove_reference_t<decltype(*this)>>>, \
      |                                           ^
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkMacro.h:433:48: note: in expansion of macro ‘itkInternalGetNameOfClassImplementationMacro’
  433 |   const char * GetNameOfClass() const override itkInternalGetNameOfClassImplementationMacro(thisClass)
      |                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkDerivativeOperator.h:77:3: note: in expansion of macro ‘itkOverrideGetNameOfClassMacro’
   77 |   itkOverrideGetNameOfClassMacro(DerivativeOperator);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkMacro.h:418:45: error: expected string-literal before ‘std’
  418 |     static_assert(std::is_same_v<thisClass, std::remove_const_t<std::remove_reference_t<decltype(*this)>>>, \
      |                                             ^~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkMacro.h:433:48: note: in expansion of macro ‘itkInternalGetNameOfClassImplementationMacro’
  433 |   const char * GetNameOfClass() const override itkInternalGetNameOfClassImplementationMacro(thisClass)
      |                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkDerivativeOperator.h:77:3: note: in expansion of macro ‘itkOverrideGetNameOfClassMacro’
   77 |   itkOverrideGetNameOfClassMacro(DerivativeOperator);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkMacro.h:418:45: error: expected ‘)’ before ‘std’
  418 |     static_assert(std::is_same_v<thisClass, std::remove_const_t<std::remove_reference_t<decltype(*this)>>>, \
      |                                             ^~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkMacro.h:433:48: note: in expansion of macro ‘itkInternalGetNameOfClassImplementationMacro’
  433 |   const char * GetNameOfClass() const override itkInternalGetNameOfClassImplementationMacro(thisClass)
      |                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkDerivativeOperator.h:77:3: note: in expansion of macro ‘itkOverrideGetNameOfClassMacro’
   77 |   itkOverrideGetNameOfClassMacro(DerivativeOperator);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkMacro.h:418:18: note: to match this ‘(’
  418 |     static_assert(std::is_same_v<thisClass, std::remove_const_t<std::remove_reference_t<decltype(*this)>>>, \
      |                  ^
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkMacro.h:433:48: note: in expansion of macro ‘itkInternalGetNameOfClassImplementationMacro’
  433 |   const char * GetNameOfClass() const override itkInternalGetNameOfClassImplementationMacro(thisClass)
      |                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkDerivativeOperator.h:77:3: note: in expansion of macro ‘itkOverrideGetNameOfClassMacro’
   77 |   itkOverrideGetNameOfClassMacro(DerivativeOperator);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkVectorCurvatureNDAnisotropicDiffusionFunction.h: In member function ‘const char* itk::VectorCurvatureNDAnisotropicDiffusionFunction<TImage>::GetNameOfClass() const’:
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkMacro.h:418:24: error: ‘is_same_v’ is not a member of ‘std’; did you mean ‘is_same’?
  418 |     static_assert(std::is_same_v<thisClass, std::remove_const_t<std::remove_reference_t<decltype(*this)>>>, \
      |                        ^~~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkMacro.h:433:48: note: in expansion of macro ‘itkInternalGetNameOfClassImplementationMacro’
  433 |   const char * GetNameOfClass() const override itkInternalGetNameOfClassImplementationMacro(thisClass)
      |                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkVectorCurvatureNDAnisotropicDiffusionFunction.h:60:3: note: in expansion of macro ‘itkOverrideGetNameOfClassMacro’
   60 |   itkOverrideGetNameOfClassMacro(VectorCurvatureNDAnisotropicDiffusionFunction);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkMacro.h:418:43: error: expected primary-expression before ‘,’ token
  418 |     static_assert(std::is_same_v<thisClass, std::remove_const_t<std::remove_reference_t<decltype(*this)>>>, \
      |                                           ^
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkMacro.h:433:48: note: in expansion of macro ‘itkInternalGetNameOfClassImplementationMacro’
  433 |   const char * GetNameOfClass() const override itkInternalGetNameOfClassImplementationMacro(thisClass)
      |                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkVectorCurvatureNDAnisotropicDiffusionFunction.h:60:3: note: in expansion of macro ‘itkOverrideGetNameOfClassMacro’
   60 |   itkOverrideGetNameOfClassMacro(VectorCurvatureNDAnisotropicDiffusionFunction);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkMacro.h:418:45: error: expected string-literal before ‘std’
  418 |     static_assert(std::is_same_v<thisClass, std::remove_const_t<std::remove_reference_t<decltype(*this)>>>, \
      |                                             ^~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkMacro.h:433:48: note: in expansion of macro ‘itkInternalGetNameOfClassImplementationMacro’
  433 |   const char * GetNameOfClass() const override itkInternalGetNameOfClassImplementationMacro(thisClass)
      |                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkVectorCurvatureNDAnisotropicDiffusionFunction.h:60:3: note: in expansion of macro ‘itkOverrideGetNameOfClassMacro’
   60 |   itkOverrideGetNameOfClassMacro(VectorCurvatureNDAnisotropicDiffusionFunction);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkMacro.h:418:45: error: expected ‘)’ before ‘std’
  418 |     static_assert(std::is_same_v<thisClass, std::remove_const_t<std::remove_reference_t<decltype(*this)>>>, \
      |                                             ^~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkMacro.h:433:48: note: in expansion of macro ‘itkInternalGetNameOfClassImplementationMacro’
  433 |   const char * GetNameOfClass() const override itkInternalGetNameOfClassImplementationMacro(thisClass)
      |                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkVectorCurvatureNDAnisotropicDiffusionFunction.h:60:3: note: in expansion of macro ‘itkOverrideGetNameOfClassMacro’
   60 |   itkOverrideGetNameOfClassMacro(VectorCurvatureNDAnisotropicDiffusionFunction);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkMacro.h:418:18: note: to match this ‘(’
  418 |     static_assert(std::is_same_v<thisClass, std::remove_const_t<std::remove_reference_t<decltype(*this)>>>, \
      |                  ^
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkMacro.h:433:48: note: in expansion of macro ‘itkInternalGetNameOfClassImplementationMacro’
  433 |   const char * GetNameOfClass() const override itkInternalGetNameOfClassImplementationMacro(thisClass)
      |                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkVectorCurvatureNDAnisotropicDiffusionFunction.h:60:3: note: in expansion of macro ‘itkOverrideGetNameOfClassMacro’
   60 |   itkOverrideGetNameOfClassMacro(VectorCurvatureNDAnisotropicDiffusionFunction);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkVectorCurvatureAnisotropicDiffusionImageFilter.h: In member function ‘const char* itk::VectorCurvatureAnisotropicDiffusionImageFilter<TInputImage, TOutputImage>::GetNameOfClass() const’:
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkMacro.h:418:24: error: ‘is_same_v’ is not a member of ‘std’; did you mean ‘is_same’?
  418 |     static_assert(std::is_same_v<thisClass, std::remove_const_t<std::remove_reference_t<decltype(*this)>>>, \
      |                        ^~~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkMacro.h:433:48: note: in expansion of macro ‘itkInternalGetNameOfClassImplementationMacro’
  433 |   const char * GetNameOfClass() const override itkInternalGetNameOfClassImplementationMacro(thisClass)
      |                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkVectorCurvatureAnisotropicDiffusionImageFilter.h:84:3: note: in expansion of macro ‘itkOverrideGetNameOfClassMacro’
   84 |   itkOverrideGetNameOfClassMacro(VectorCurvatureAnisotropicDiffusionImageFilter);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkMacro.h:418:43: error: expected primary-expression before ‘,’ token
  418 |     static_assert(std::is_same_v<thisClass, std::remove_const_t<std::remove_reference_t<decltype(*this)>>>, \
      |                                           ^
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkMacro.h:433:48: note: in expansion of macro ‘itkInternalGetNameOfClassImplementationMacro’
  433 |   const char * GetNameOfClass() const override itkInternalGetNameOfClassImplementationMacro(thisClass)
      |                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkVectorCurvatureAnisotropicDiffusionImageFilter.h:84:3: note: in expansion of macro ‘itkOverrideGetNameOfClassMacro’
   84 |   itkOverrideGetNameOfClassMacro(VectorCurvatureAnisotropicDiffusionImageFilter);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkMacro.h:418:45: error: expected string-literal before ‘std’
  418 |     static_assert(std::is_same_v<thisClass, std::remove_const_t<std::remove_reference_t<decltype(*this)>>>, \
      |                                             ^~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkMacro.h:433:48: note: in expansion of macro ‘itkInternalGetNameOfClassImplementationMacro’
  433 |   const char * GetNameOfClass() const override itkInternalGetNameOfClassImplementationMacro(thisClass)
      |                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkVectorCurvatureAnisotropicDiffusionImageFilter.h:84:3: note: in expansion of macro ‘itkOverrideGetNameOfClassMacro’
   84 |   itkOverrideGetNameOfClassMacro(VectorCurvatureAnisotropicDiffusionImageFilter);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkMacro.h:418:45: error: expected ‘)’ before ‘std’
  418 |     static_assert(std::is_same_v<thisClass, std::remove_const_t<std::remove_reference_t<decltype(*this)>>>, \
      |                                             ^~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkMacro.h:433:48: note: in expansion of macro ‘itkInternalGetNameOfClassImplementationMacro’
  433 |   const char * GetNameOfClass() const override itkInternalGetNameOfClassImplementationMacro(thisClass)
      |                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkVectorCurvatureAnisotropicDiffusionImageFilter.h:84:3: note: in expansion of macro ‘itkOverrideGetNameOfClassMacro’
   84 |   itkOverrideGetNameOfClassMacro(VectorCurvatureAnisotropicDiffusionImageFilter);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkMacro.h:418:18: note: to match this ‘(’
  418 |     static_assert(std::is_same_v<thisClass, std::remove_const_t<std::remove_reference_t<decltype(*this)>>>, \
      |                  ^
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkMacro.h:433:48: note: in expansion of macro ‘itkInternalGetNameOfClassImplementationMacro’
  433 |   const char * GetNameOfClass() const override itkInternalGetNameOfClassImplementationMacro(thisClass)
      |                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkVectorCurvatureAnisotropicDiffusionImageFilter.h:84:3: note: in expansion of macro ‘itkOverrideGetNameOfClassMacro’
   84 |   itkOverrideGetNameOfClassMacro(VectorCurvatureAnisotropicDiffusionImageFilter);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkLaplacianRecursiveGaussianImageFilter.h: In member function ‘const char* itk::LaplacianRecursiveGaussianImageFilter<TInputImage, TOutputImage>::GetNameOfClass() const’:
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkMacro.h:418:24: error: ‘is_same_v’ is not a member of ‘std’; did you mean ‘is_same’?
  418 |     static_assert(std::is_same_v<thisClass, std::remove_const_t<std::remove_reference_t<decltype(*this)>>>, \
      |                        ^~~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkMacro.h:433:48: note: in expansion of macro ‘itkInternalGetNameOfClassImplementationMacro’
  433 |   const char * GetNameOfClass() const override itkInternalGetNameOfClassImplementationMacro(thisClass)
      |                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkLaplacianRecursiveGaussianImageFilter.h:100:3: note: in expansion of macro ‘itkOverrideGetNameOfClassMacro’
  100 |   itkOverrideGetNameOfClassMacro(LaplacianRecursiveGaussianImageFilter);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkMacro.h:418:43: error: expected primary-expression before ‘,’ token
  418 |     static_assert(std::is_same_v<thisClass, std::remove_const_t<std::remove_reference_t<decltype(*this)>>>, \
      |                                           ^
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkMacro.h:433:48: note: in expansion of macro ‘itkInternalGetNameOfClassImplementationMacro’
  433 |   const char * GetNameOfClass() const override itkInternalGetNameOfClassImplementationMacro(thisClass)
      |                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkLaplacianRecursiveGaussianImageFilter.h:100:3: note: in expansion of macro ‘itkOverrideGetNameOfClassMacro’
  100 |   itkOverrideGetNameOfClassMacro(LaplacianRecursiveGaussianImageFilter);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkMacro.h:418:45: error: expected string-literal before ‘std’
  418 |     static_assert(std::is_same_v<thisClass, std::remove_const_t<std::remove_reference_t<decltype(*this)>>>, \
      |                                             ^~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkMacro.h:433:48: note: in expansion of macro ‘itkInternalGetNameOfClassImplementationMacro’
  433 |   const char * GetNameOfClass() const override itkInternalGetNameOfClassImplementationMacro(thisClass)
      |                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkLaplacianRecursiveGaussianImageFilter.h:100:3: note: in expansion of macro ‘itkOverrideGetNameOfClassMacro’
  100 |   itkOverrideGetNameOfClassMacro(LaplacianRecursiveGaussianImageFilter);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkMacro.h:418:45: error: expected ‘)’ before ‘std’
  418 |     static_assert(std::is_same_v<thisClass, std::remove_const_t<std::remove_reference_t<decltype(*this)>>>, \
      |                                             ^~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkMacro.h:433:48: note: in expansion of macro ‘itkInternalGetNameOfClassImplementationMacro’
  433 |   const char * GetNameOfClass() const override itkInternalGetNameOfClassImplementationMacro(thisClass)
      |                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkLaplacianRecursiveGaussianImageFilter.h:100:3: note: in expansion of macro ‘itkOverrideGetNameOfClassMacro’
  100 |   itkOverrideGetNameOfClassMacro(LaplacianRecursiveGaussianImageFilter);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkMacro.h:418:18: note: to match this ‘(’
  418 |     static_assert(std::is_same_v<thisClass, std::remove_const_t<std::remove_reference_t<decltype(*this)>>>, \
      |                  ^
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkMacro.h:433:48: note: in expansion of macro ‘itkInternalGetNameOfClassImplementationMacro’
  433 |   const char * GetNameOfClass() const override itkInternalGetNameOfClassImplementationMacro(thisClass)
      |                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkLaplacianRecursiveGaussianImageFilter.h:100:3: note: in expansion of macro ‘itkOverrideGetNameOfClassMacro’
  100 |   itkOverrideGetNameOfClassMacro(LaplacianRecursiveGaussianImageFilter);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/vicente/R/ITKR/libs/include/ITK-6.0/itkLaplacianRecursiveGaussianImageFilter.h:139,
                 from ANTSIntegrateVectorField.cpp:26:
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkLaplacianRecursiveGaussianImageFilter.hxx: In member function ‘void itk::LaplacianRecursiveGaussianImageFilter<TInputImage, TOutputImage>::GenerateData()’:
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkLaplacianRecursiveGaussianImageFilter.hxx:220:6: warning: ‘if constexpr’ only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
  220 |   if constexpr (ImageDimension > 1)
      |      ^~~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkTimeVaryingVelocityFieldIntegrationImageFilter.hxx: In instantiation of ‘itk::TimeVaryingVelocityFieldIntegrationImageFilter<TTimeVaryingVelocityField, TDisplacementField>::TimeVaryingVelocityFieldIntegrationImageFilter() [with TTimeVaryingVelocityField = itk::Image<itk::Vector<float, 2>, 2>; TDisplacementField = itk::Image<itk::Vector<float, 2>, 2>]’:
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkTimeVaryingVelocityFieldIntegrationImageFilter.h:67:3:   required from ‘static itk::TimeVaryingVelocityFieldIntegrationImageFilter<TTimeVaryingVelocityField, TDisplacementField>::Pointer itk::TimeVaryingVelocityFieldIntegrationImageFilter<TTimeVaryingVelocityField, TDisplacementField>::New() [with TTimeVaryingVelocityField = itk::Image<itk::Vector<float, 2>, 2>; TDisplacementField = itk::Image<itk::Vector<float, 2>, 2>; Pointer = itk::SmartPointer<itk::TimeVaryingVelocityFieldIntegrationImageFilter<itk::Image<itk::Vector<float, 2>, 2>, itk::Image<itk::Vector<float, 2>, 2> > >]’
ANTSIntegrateVectorField.cpp:81:68:   required from ‘void vectorIntegrationHelper(SEXP, std::string, std::string, SEXP, SEXP, SEXP) [with ImageType = itk::Image<float, 2>; SEXP = SEXPREC*; std::string = std::__cxx11::basic_string<char>]’
ANTSIntegrateVectorField.cpp:124:41:   required from here
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkTimeVaryingVelocityFieldIntegrationImageFilter.hxx:50:37: error: no match for ‘operator=’ (operand types are ‘itk::TimeVaryingVelocityFieldIntegrationImageFilter<itk::Image<itk::Vector<float, 2>, 2>, itk::Image<itk::Vector<float, 2>, 2> >::VelocityFieldInterpolatorPointer’ {aka ‘itk::SmartPointer<itk::VectorInterpolateImageFunction<itk::Image<itk::Vector<float, 2>, 2>, float> >’} and ‘itk::VectorLinearInterpolateImageFunction<itk::Image<itk::Vector<float, 2>, 2>, float>::Pointer’ {aka ‘itk::SmartPointer<itk::VectorLinearInterpolateImageFunction<itk::Image<itk::Vector<float, 2>, 2>, float> >’})
   50 |   this->m_VelocityFieldInterpolator = velocityFieldInterpolator;
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkSmartPointer.h:154:3: note: candidate: ‘itk::SmartPointer<TObjectType>& itk::SmartPointer<TObjectType>::operator=(itk::SmartPointer<TObjectType>) [with TObjectType = itk::VectorInterpolateImageFunction<itk::Image<itk::Vector<float, 2>, 2>, float>]’
  154 |   operator=(SmartPointer r) noexcept
      |   ^~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkSmartPointer.h:154:26: note:   no known conversion for argument 1 from ‘SmartPointer<itk::VectorLinearInterpolateImageFunction<itk::Image<itk::Vector<float, 2>, 2>, float>>’ to ‘SmartPointer<itk::VectorInterpolateImageFunction<itk::Image<itk::Vector<float, 2>, 2>, float>>’
  154 |   operator=(SmartPointer r) noexcept
      |             ~~~~~~~~~~~~~^
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkSmartPointer.h:163:18: note: candidate: ‘itk::SmartPointer<TObjectType>& itk::SmartPointer<TObjectType>::operator=(std::nullptr_t) [with TObjectType = itk::VectorInterpolateImageFunction<itk::Image<itk::Vector<float, 2>, 2>, float>; std::nullptr_t = std::nullptr_t]’
  163 |   SmartPointer & operator=(std::nullptr_t) noexcept
      |                  ^~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkSmartPointer.h:163:28: note:   no known conversion for argument 1 from ‘itk::VectorLinearInterpolateImageFunction<itk::Image<itk::Vector<float, 2>, 2>, float>::Pointer’ {aka ‘itk::SmartPointer<itk::VectorLinearInterpolateImageFunction<itk::Image<itk::Vector<float, 2>, 2>, float> >’} to ‘std::nullptr_t’
  163 |   SmartPointer & operator=(std::nullptr_t) noexcept
      |                            ^~~~~~~~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkTimeVaryingVelocityFieldIntegrationImageFilter.hxx:58:41: error: no match for ‘operator=’ (operand types are ‘itk::TimeVaryingVelocityFieldIntegrationImageFilter<itk::Image<itk::Vector<float, 2>, 2>, itk::Image<itk::Vector<float, 2>, 2> >::DisplacementFieldInterpolatorPointer’ {aka ‘itk::SmartPointer<itk::VectorInterpolateImageFunction<itk::Image<itk::Vector<float, 2>, 2>, float> >’} and ‘itk::VectorLinearInterpolateImageFunction<itk::Image<itk::Vector<float, 2>, 2>, float>::Pointer’ {aka ‘itk::SmartPointer<itk::VectorLinearInterpolateImageFunction<itk::Image<itk::Vector<float, 2>, 2>, float> >’})
   58 |   this->m_DisplacementFieldInterpolator = deformationFieldInterpolator;
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkSmartPointer.h:154:3: note: candidate: ‘itk::SmartPointer<TObjectType>& itk::SmartPointer<TObjectType>::operator=(itk::SmartPointer<TObjectType>) [with TObjectType = itk::VectorInterpolateImageFunction<itk::Image<itk::Vector<float, 2>, 2>, float>]’
  154 |   operator=(SmartPointer r) noexcept
      |   ^~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkSmartPointer.h:154:26: note:   no known conversion for argument 1 from ‘SmartPointer<itk::VectorLinearInterpolateImageFunction<itk::Image<itk::Vector<float, 2>, 2>, float>>’ to ‘SmartPointer<itk::VectorInterpolateImageFunction<itk::Image<itk::Vector<float, 2>, 2>, float>>’
  154 |   operator=(SmartPointer r) noexcept
      |             ~~~~~~~~~~~~~^
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkSmartPointer.h:163:18: note: candidate: ‘itk::SmartPointer<TObjectType>& itk::SmartPointer<TObjectType>::operator=(std::nullptr_t) [with TObjectType = itk::VectorInterpolateImageFunction<itk::Image<itk::Vector<float, 2>, 2>, float>; std::nullptr_t = std::nullptr_t]’
  163 |   SmartPointer & operator=(std::nullptr_t) noexcept
      |                  ^~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkSmartPointer.h:163:28: note:   no known conversion for argument 1 from ‘itk::VectorLinearInterpolateImageFunction<itk::Image<itk::Vector<float, 2>, 2>, float>::Pointer’ {aka ‘itk::SmartPointer<itk::VectorLinearInterpolateImageFunction<itk::Image<itk::Vector<float, 2>, 2>, float> >’} to ‘std::nullptr_t’
  163 |   SmartPointer & operator=(std::nullptr_t) noexcept
      |                            ^~~~~~~~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkTimeVaryingVelocityFieldIntegrationImageFilter.hxx: In instantiation of ‘itk::TimeVaryingVelocityFieldIntegrationImageFilter<TTimeVaryingVelocityField, TDisplacementField>::TimeVaryingVelocityFieldIntegrationImageFilter() [with TTimeVaryingVelocityField = itk::Image<itk::Vector<float, 3>, 3>; TDisplacementField = itk::Image<itk::Vector<float, 3>, 3>]’:
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkTimeVaryingVelocityFieldIntegrationImageFilter.h:67:3:   required from ‘static itk::TimeVaryingVelocityFieldIntegrationImageFilter<TTimeVaryingVelocityField, TDisplacementField>::Pointer itk::TimeVaryingVelocityFieldIntegrationImageFilter<TTimeVaryingVelocityField, TDisplacementField>::New() [with TTimeVaryingVelocityField = itk::Image<itk::Vector<float, 3>, 3>; TDisplacementField = itk::Image<itk::Vector<float, 3>, 3>; Pointer = itk::SmartPointer<itk::TimeVaryingVelocityFieldIntegrationImageFilter<itk::Image<itk::Vector<float, 3>, 3>, itk::Image<itk::Vector<float, 3>, 3> > >]’
ANTSIntegrateVectorField.cpp:81:68:   required from ‘void vectorIntegrationHelper(SEXP, std::string, std::string, SEXP, SEXP, SEXP) [with ImageType = itk::Image<float, 3>; SEXP = SEXPREC*; std::string = std::__cxx11::basic_string<char>]’
ANTSIntegrateVectorField.cpp:137:41:   required from here
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkTimeVaryingVelocityFieldIntegrationImageFilter.hxx:50:37: error: no match for ‘operator=’ (operand types are ‘itk::TimeVaryingVelocityFieldIntegrationImageFilter<itk::Image<itk::Vector<float, 3>, 3>, itk::Image<itk::Vector<float, 3>, 3> >::VelocityFieldInterpolatorPointer’ {aka ‘itk::SmartPointer<itk::VectorInterpolateImageFunction<itk::Image<itk::Vector<float, 3>, 3>, float> >’} and ‘itk::VectorLinearInterpolateImageFunction<itk::Image<itk::Vector<float, 3>, 3>, float>::Pointer’ {aka ‘itk::SmartPointer<itk::VectorLinearInterpolateImageFunction<itk::Image<itk::Vector<float, 3>, 3>, float> >’})
   50 |   this->m_VelocityFieldInterpolator = velocityFieldInterpolator;
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkSmartPointer.h:154:3: note: candidate: ‘itk::SmartPointer<TObjectType>& itk::SmartPointer<TObjectType>::operator=(itk::SmartPointer<TObjectType>) [with TObjectType = itk::VectorInterpolateImageFunction<itk::Image<itk::Vector<float, 3>, 3>, float>]’
  154 |   operator=(SmartPointer r) noexcept
      |   ^~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkSmartPointer.h:154:26: note:   no known conversion for argument 1 from ‘SmartPointer<itk::VectorLinearInterpolateImageFunction<itk::Image<itk::Vector<float, 3>, 3>, float>>’ to ‘SmartPointer<itk::VectorInterpolateImageFunction<itk::Image<itk::Vector<float, 3>, 3>, float>>’
  154 |   operator=(SmartPointer r) noexcept
      |             ~~~~~~~~~~~~~^
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkSmartPointer.h:163:18: note: candidate: ‘itk::SmartPointer<TObjectType>& itk::SmartPointer<TObjectType>::operator=(std::nullptr_t) [with TObjectType = itk::VectorInterpolateImageFunction<itk::Image<itk::Vector<float, 3>, 3>, float>; std::nullptr_t = std::nullptr_t]’
  163 |   SmartPointer & operator=(std::nullptr_t) noexcept
      |                  ^~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkSmartPointer.h:163:28: note:   no known conversion for argument 1 from ‘itk::VectorLinearInterpolateImageFunction<itk::Image<itk::Vector<float, 3>, 3>, float>::Pointer’ {aka ‘itk::SmartPointer<itk::VectorLinearInterpolateImageFunction<itk::Image<itk::Vector<float, 3>, 3>, float> >’} to ‘std::nullptr_t’
  163 |   SmartPointer & operator=(std::nullptr_t) noexcept
      |                            ^~~~~~~~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkTimeVaryingVelocityFieldIntegrationImageFilter.hxx:58:41: error: no match for ‘operator=’ (operand types are ‘itk::TimeVaryingVelocityFieldIntegrationImageFilter<itk::Image<itk::Vector<float, 3>, 3>, itk::Image<itk::Vector<float, 3>, 3> >::DisplacementFieldInterpolatorPointer’ {aka ‘itk::SmartPointer<itk::VectorInterpolateImageFunction<itk::Image<itk::Vector<float, 3>, 3>, float> >’} and ‘itk::VectorLinearInterpolateImageFunction<itk::Image<itk::Vector<float, 3>, 3>, float>::Pointer’ {aka ‘itk::SmartPointer<itk::VectorLinearInterpolateImageFunction<itk::Image<itk::Vector<float, 3>, 3>, float> >’})
   58 |   this->m_DisplacementFieldInterpolator = deformationFieldInterpolator;
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkSmartPointer.h:154:3: note: candidate: ‘itk::SmartPointer<TObjectType>& itk::SmartPointer<TObjectType>::operator=(itk::SmartPointer<TObjectType>) [with TObjectType = itk::VectorInterpolateImageFunction<itk::Image<itk::Vector<float, 3>, 3>, float>]’
  154 |   operator=(SmartPointer r) noexcept
      |   ^~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkSmartPointer.h:154:26: note:   no known conversion for argument 1 from ‘SmartPointer<itk::VectorLinearInterpolateImageFunction<itk::Image<itk::Vector<float, 3>, 3>, float>>’ to ‘SmartPointer<itk::VectorInterpolateImageFunction<itk::Image<itk::Vector<float, 3>, 3>, float>>’
  154 |   operator=(SmartPointer r) noexcept
      |             ~~~~~~~~~~~~~^
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkSmartPointer.h:163:18: note: candidate: ‘itk::SmartPointer<TObjectType>& itk::SmartPointer<TObjectType>::operator=(std::nullptr_t) [with TObjectType = itk::VectorInterpolateImageFunction<itk::Image<itk::Vector<float, 3>, 3>, float>; std::nullptr_t = std::nullptr_t]’
  163 |   SmartPointer & operator=(std::nullptr_t) noexcept
      |                  ^~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkSmartPointer.h:163:28: note:   no known conversion for argument 1 from ‘itk::VectorLinearInterpolateImageFunction<itk::Image<itk::Vector<float, 3>, 3>, float>::Pointer’ {aka ‘itk::SmartPointer<itk::VectorLinearInterpolateImageFunction<itk::Image<itk::Vector<float, 3>, 3>, float> >’} to ‘std::nullptr_t’
  163 |   SmartPointer & operator=(std::nullptr_t) noexcept
      |                            ^~~~~~~~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkMetaDataObject.h: In instantiation of ‘void itk::EncapsulateMetaData(MetaDataDictionary&, const std::string&, const T&) [with T = std::vector<double, std::allocator<double> >; std::string = std::__cxx11::basic_string<char>]’:
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkMetaDataObject.h:226:22:   required from ‘void itk::EncapsulateMetaData(MetaDataDictionary&, const char*, const T&) [with T = std::vector<double, std::allocator<double> >]’
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkImageFileReader.hxx:218:43:   required from ‘void itk::ImageFileReader<TOutputImage, ConvertPixelTraits>::GenerateOutputInformation() [with TOutputImage = itk::Image<itk::Vector<float, 3>, 3>; ConvertPixelTraits = itk::DefaultConvertPixelTraits<itk::Vector<float, 3> >]’
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkImageFileReader.hxx:73:1:   required from here
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkMetaDataObject.h:219:19: error: no match for ‘operator=’ (operand types are ‘itk::MetaDataObjectBase::Pointer’ {aka ‘itk::SmartPointer<itk::MetaDataObjectBase>’} and ‘itk::MetaDataObject<std::vector<double, std::allocator<double> > >::Pointer’ {aka ‘itk::SmartPointer<itk::MetaDataObject<std::vector<double, std::allocator<double> > > >’})
  219 |   Dictionary[key] = temp;
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkSmartPointer.h:154:3: note: candidate: ‘itk::SmartPointer<TObjectType>& itk::SmartPointer<TObjectType>::operator=(itk::SmartPointer<TObjectType>) [with TObjectType = itk::MetaDataObjectBase]’
  154 |   operator=(SmartPointer r) noexcept
      |   ^~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkSmartPointer.h:154:26: note:   no known conversion for argument 1 from ‘SmartPointer<itk::MetaDataObject<std::vector<double, std::allocator<double> > >>’ to ‘SmartPointer<itk::MetaDataObjectBase>’
  154 |   operator=(SmartPointer r) noexcept
      |             ~~~~~~~~~~~~~^
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkSmartPointer.h:163:18: note: candidate: ‘itk::SmartPointer<TObjectType>& itk::SmartPointer<TObjectType>::operator=(std::nullptr_t) [with TObjectType = itk::MetaDataObjectBase; std::nullptr_t = std::nullptr_t]’
  163 |   SmartPointer & operator=(std::nullptr_t) noexcept
      |                  ^~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkSmartPointer.h:163:28: note:   no known conversion for argument 1 from ‘itk::MetaDataObject<std::vector<double, std::allocator<double> > >::Pointer’ {aka ‘itk::SmartPointer<itk::MetaDataObject<std::vector<double, std::allocator<double> > > >’} to ‘std::nullptr_t’
  163 |   SmartPointer & operator=(std::nullptr_t) noexcept
      |                            ^~~~~~~~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkMetaDataObject.h: In instantiation of ‘void itk::EncapsulateMetaData(MetaDataDictionary&, const std::string&, const T&) [with T = Matrix<double, 3, 3>; std::string = std::__cxx11::basic_string<char>]’:
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkMetaDataObject.h:226:22:   required from ‘void itk::EncapsulateMetaData(MetaDataDictionary&, const char*, const T&) [with T = Matrix<double, 3, 3>]’
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkImageFileReader.hxx:220:60:   required from ‘void itk::ImageFileReader<TOutputImage, ConvertPixelTraits>::GenerateOutputInformation() [with TOutputImage = itk::Image<itk::Vector<float, 3>, 3>; ConvertPixelTraits = itk::DefaultConvertPixelTraits<itk::Vector<float, 3> >]’
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkImageFileReader.hxx:73:1:   required from here
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkMetaDataObject.h:219:19: error: no match for ‘operator=’ (operand types are ‘itk::MetaDataObjectBase::Pointer’ {aka ‘itk::SmartPointer<itk::MetaDataObjectBase>’} and ‘itk::MetaDataObject<itk::Matrix<double, 3, 3> >::Pointer’ {aka ‘itk::SmartPointer<itk::MetaDataObject<itk::Matrix<double, 3, 3> > >’})
  219 |   Dictionary[key] = temp;
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkSmartPointer.h:154:3: note: candidate: ‘itk::SmartPointer<TObjectType>& itk::SmartPointer<TObjectType>::operator=(itk::SmartPointer<TObjectType>) [with TObjectType = itk::MetaDataObjectBase]’
  154 |   operator=(SmartPointer r) noexcept
      |   ^~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkSmartPointer.h:154:26: note:   no known conversion for argument 1 from ‘SmartPointer<itk::MetaDataObject<itk::Matrix<double, 3, 3> >>’ to ‘SmartPointer<itk::MetaDataObjectBase>’
  154 |   operator=(SmartPointer r) noexcept
      |             ~~~~~~~~~~~~~^
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkSmartPointer.h:163:18: note: candidate: ‘itk::SmartPointer<TObjectType>& itk::SmartPointer<TObjectType>::operator=(std::nullptr_t) [with TObjectType = itk::MetaDataObjectBase; std::nullptr_t = std::nullptr_t]’
  163 |   SmartPointer & operator=(std::nullptr_t) noexcept
      |                  ^~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkSmartPointer.h:163:28: note:   no known conversion for argument 1 from ‘itk::MetaDataObject<itk::Matrix<double, 3, 3> >::Pointer’ {aka ‘itk::SmartPointer<itk::MetaDataObject<itk::Matrix<double, 3, 3> > >’} to ‘std::nullptr_t’
  163 |   SmartPointer & operator=(std::nullptr_t) noexcept
      |                            ^~~~~~~~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkMetaDataObject.h: In instantiation of ‘void itk::EncapsulateMetaData(MetaDataDictionary&, const std::string&, const T&) [with T = Matrix<double, 2, 2>; std::string = std::__cxx11::basic_string<char>]’:
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkMetaDataObject.h:226:22:   required from ‘void itk::EncapsulateMetaData(MetaDataDictionary&, const char*, const T&) [with T = Matrix<double, 2, 2>]’
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkImageFileReader.hxx:220:60:   required from ‘void itk::ImageFileReader<TOutputImage, ConvertPixelTraits>::GenerateOutputInformation() [with TOutputImage = itk::Image<itk::Vector<float, 2>, 2>; ConvertPixelTraits = itk::DefaultConvertPixelTraits<itk::Vector<float, 2> >]’
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkImageFileReader.hxx:73:1:   required from here
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkMetaDataObject.h:219:19: error: no match for ‘operator=’ (operand types are ‘itk::MetaDataObjectBase::Pointer’ {aka ‘itk::SmartPointer<itk::MetaDataObjectBase>’} and ‘itk::MetaDataObject<itk::Matrix<double, 2, 2> >::Pointer’ {aka ‘itk::SmartPointer<itk::MetaDataObject<itk::Matrix<double, 2, 2> > >’})
  219 |   Dictionary[key] = temp;
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkSmartPointer.h:154:3: note: candidate: ‘itk::SmartPointer<TObjectType>& itk::SmartPointer<TObjectType>::operator=(itk::SmartPointer<TObjectType>) [with TObjectType = itk::MetaDataObjectBase]’
  154 |   operator=(SmartPointer r) noexcept
      |   ^~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkSmartPointer.h:154:26: note:   no known conversion for argument 1 from ‘SmartPointer<itk::MetaDataObject<itk::Matrix<double, 2, 2> >>’ to ‘SmartPointer<itk::MetaDataObjectBase>’
  154 |   operator=(SmartPointer r) noexcept
      |             ~~~~~~~~~~~~~^
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkSmartPointer.h:163:18: note: candidate: ‘itk::SmartPointer<TObjectType>& itk::SmartPointer<TObjectType>::operator=(std::nullptr_t) [with TObjectType = itk::MetaDataObjectBase; std::nullptr_t = std::nullptr_t]’
  163 |   SmartPointer & operator=(std::nullptr_t) noexcept
      |                  ^~~~~~~~
/home/vicente/R/ITKR/libs/include/ITK-6.0/itkSmartPointer.h:163:28: note:   no known conversion for argument 1 from ‘itk::MetaDataObject<itk::Matrix<double, 2, 2> >::Pointer’ {aka ‘itk::SmartPointer<itk::MetaDataObject<itk::Matrix<double, 2, 2> > >’} to ‘std::nullptr_t’
  163 |   SmartPointer & operator=(std::nullptr_t) noexcept
      |                            ^~~~~~~~~~~~~~
make: *** [/usr/lib/R/etc/Makeconf:200: ANTSIntegrateVectorField.o] Error 1
ERROR: compilation failed for package ‘ANTsRCore’
* removing ‘/home/vicente/R/ANTsRCore’

To Reproduce
Steps to reproduce the behavior:

  1. git clone https://github.com/stnava/ITKR.git && R CMD INSTALL ITKR
  2. git clone https://github.com/ANTsX/ANTsRCore.git && R CMD INSTALL ANTsRCore
  3. See error

Expected behavior
Normal installation to be able to install ANTsR
Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: Dell Inc. XPS 13 7390
    Ubuntu 24.02
    R 4.3.3
    gcc version 13.2.0
    GNU Make 4.3

Additional context
Add any other context about the problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant