[ITK] [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.
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Kitware offers ITK Training Courses, for more information visit:
http://kitware.com/products/protraining.php
Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/insight-developers
More information about the Community
mailing list