[ITK-dev] ITK Python wrapping issue with GCC 6.1.1

Marcus D. Hanwell marcus.hanwell at kitware.com
Fri Jul 1 14:10:27 EDT 2016


I am trying to compile ITK master (73dd6af) with GCC 6.1.1 and am
seeing a compile error:

Wrapping/Modules/ITKCommon/itkTriangleHelperPython.cpp: In function ‘PyObject* _
wrap_new_itkTriangleHelperPD2(PyObject*, PyObject*)’:
Wrapping/Modules/ITKCommon/itkTriangleHelperPython.cpp:5867:65: error: no matchi
ng function for call to ‘itk::TriangleHelper<itk::Point<double, 2u> >::TriangleH
elper()’
      result = (itkTriangleHelperPD2 *)new itkTriangleHelperPD2();
                                                                ^
In file included from /home/marcus/src/ITK/Modules/Core/Common/include/itkLightO
bject.h:21:0,
                from /home/marcus/src/ITK/Modules/Core/Common/include/itkObject
.h:31,
                from /home/marcus/src/ITK/Modules/Core/Common/include/itkComman
d.h:21,
                from Wrapping/Typedefs/itkTriangleHelperSwigInterface.h:3,
                from Wrapping/Modules/ITKCommon/itkTriangleHelperPython.cpp:325
8:
/home/marcus/src/ITK/Modules/Core/Common/include/itkTriangleHelper.h:88:32: note
: candidate: itk::TriangleHelper<TPoint>::TriangleHelper(const itk::TriangleHelp
er<TPoint>&) [with TPoint = itk::Point<double, 2u>] <deleted>
  ITK_DISALLOW_COPY_AND_ASSIGN(TriangleHelper);

Is my GCC too new? It only seems to be happening with the wrapping,
this is on Linux. I can post more details if it helps.


More information about the Insight-developers mailing list