<div dir="ltr">Hi all,<div><br></div><div>Thanks for the help on this. I've been traveling and haven't had much time to investigate, but I believe Michka is correct. It looks like the build is successful with the -std=c++98 flag, and only one test fails [1]. I'll test the python wrapping and report back if anything terrible happens -- if not I'll bump the AUR PKGBUILD. Thanks again,</div><div><br></div><div>Chris</div><div><br></div><div>[1] <a href="https://open.cdash.org/buildSummary.php?buildid=4435570">https://open.cdash.org/buildSummary.php?buildid=4435570</a></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jun 15, 2016 at 5:22 PM, Johnson, Hans J <span dir="ltr"><<a href="mailto:hans-johnson@uiowa.edu" target="_blank">hans-johnson@uiowa.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I’m trying to reproduce now.<br>
<span class="HOEnZb"><font color="#888888"><br>
Hans<br>
<br>
<br>
--<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
On 6/15/16, 4:12 PM, "Insight-users on behalf of Michka Popoff" <<a href="mailto:insight-users-bounces@itk.org">insight-users-bounces@itk.org</a> on behalf of <a href="mailto:michkapopoff@gmail.com">michkapopoff@gmail.com</a>> wrote:<br>
<br>
>Hi<br>
><br>
>I think this bug is not known. I had a look and could reproduce it with gcc 6.0.0, Cmake 3.5.2, Python 3.5.1 on OS X.<br>
>GCC 6 is using c++14 by default, but even with c++11 you would probably get the problem.<br>
>The problem is also there with the latest commit from the master branch.<br>
><br>
>Please note that we probably never tested Python Wrappings with c++11, even not speaking of c++14.<br>
><br>
>The problem seems to have appeared with this patch:<br>
><a href="https://github.com/InsightSoftwareConsortium/ITK/commit/b6b9a8e8849da1edbf75f88e11adb8d8d15bb395" rel="noreferrer" target="_blank">https://github.com/InsightSoftwareConsortium/ITK/commit/b6b9a8e8849da1edbf75f88e11adb8d8d15bb395</a><br>
><br>
>I removed the ITK_DELETE_FUNCTION macro from the itkTriangleHelper copy constructor, and was able to compile<br>
>with gcc 6. But it may just a side effect of that patch which is now only appearing with c++ >= 11.<br>
>It is weird that the problem seems to be only for the itkTriangleHelper class.<br>
><br>
>I will have to look what is the difference in the files generated for swig and what is exactly failing,<br>
>though I do not know how long it will take me. I hope I can do this this weekend.<br>
><br>
>Thanks<br>
><br>
>Michka<br>
><br>
><br>
>> On 09 Jun 2016, at 16:14, Christopher Mullins <<a href="mailto:christopherrmullins@gmail.com">christopherrmullins@gmail.com</a>> wrote:<br>
>><br>
>> Hi all,<br>
>><br>
>> Apparently my subscription to this list has lapsed and my first email was rejected (despite receiving the list in my inbox every day). Sorry if there's a double post.<br>
>><br>
>> I'm getting the following build errors when building ITK 4.10.0 with the WRAP_PYTHON option ON[1], [3]. Is this a known issue, or is there a configuration setting I've set improperly?<br>
>><br>
>> Platform is Arch linux, GCC v6.1.1, Python v3.5.1, CMake v3.5.2. There are no warnings. See all output details for this machine here [2], and please let me know if I can provide any others.<br>
>><br>
>> The faster I fix this the faster I'll feel comfortable updating the Arch linux AUR PKGBUILD for ITK, so I appreciate any help you can offer.<br>
>><br>
>> Thanks,<br>
>> Chris<br>
>><br>
>><br>
>><br>
>> [1] <a href="https://open.cdash.org/viewBuildError.php?buildid=4403379" rel="noreferrer" target="_blank">https://open.cdash.org/viewBuildError.php?buildid=4403379</a><br>
>> [2] <a href="https://open.cdash.org/buildSummary.php?buildid=4403379" rel="noreferrer" target="_blank">https://open.cdash.org/buildSummary.php?buildid=4403379</a><br>
>><br>
>> [3] To save you a click, and for the sake of archiving, the error is:<br>
>> /home/chris/projects/MyTests/ITK-build/Wrapping/Modules/ITKCommon/itkTriangleHelperPython.cpp: In function 'PyObject* _wrap_new_itkTriangleHelperPD2(PyObject*, PyObject*)': /home/chris/projects/MyTests/ITK-build/Wrapping/Modules/ITKCommon/itkTriangleHelperPython.cpp:5854:65: error: no matching function for call to 'itk::TriangleHelper<itk::Point<double, 2u> >::TriangleHelper()' result = (itkTriangleHelperPD2 *)new itkTriangleHelperPD2();<br>
>> _____________________________________<br>
>> Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
>><br>
>> Visit other Kitware open-source projects at<br>
>> <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
>><br>
>> Kitware offers ITK Training Courses, for more information visit:<br>
>> <a href="http://www.kitware.com/products/protraining.php" rel="noreferrer" target="_blank">http://www.kitware.com/products/protraining.php</a><br>
>><br>
>> Please keep messages on-topic and check the ITK FAQ at:<br>
>> <a href="http://www.itk.org/Wiki/ITK_FAQ" rel="noreferrer" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
>><br>
>> Follow this link to subscribe/unsubscribe:<br>
>> <a href="http://public.kitware.com/mailman/listinfo/insight-users" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/insight-users</a><br>
><br>
>_____________________________________<br>
>Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
><br>
>Visit other Kitware open-source projects at<br>
><a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
>Kitware offers ITK Training Courses, for more information visit:<br>
><a href="http://www.kitware.com/products/protraining.php" rel="noreferrer" target="_blank">http://www.kitware.com/products/protraining.php</a><br>
><br>
>Please keep messages on-topic and check the ITK FAQ at:<br>
><a href="http://www.itk.org/Wiki/ITK_FAQ" rel="noreferrer" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
><br>
>Follow this link to subscribe/unsubscribe:<br>
><a href="http://public.kitware.com/mailman/listinfo/insight-users" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/insight-users</a><br>
<br>
</div></div></blockquote></div><br></div>