[ITK-dev] [ITK] ITK Python wrapping issue with GCC 6.1.1
Matt McCormick
matt.mccormick at kitware.com
Fri Jul 1 14:54:22 EDT 2016
Hi Marcus,
Thanks for reporting the issue. Yes, it looks like GCC 6 / wrapping is
having issues. There is now an issue to track this:
https://issues.itk.org/jira/browse/ITK-3450
Thanks,
Matt
On Fri, Jul 1, 2016 at 2:10 PM, Marcus D. Hanwell
<marcus.hanwell at kitware.com> wrote:
> 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
> _______________________________________________
> Community mailing list
> Community at itk.org
> http://public.kitware.com/mailman/listinfo/community
More information about the Insight-developers
mailing list