<div dir="ltr">((Re-send for the user list))<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Oct 4, 2013 at 2:17 PM, Jean-Christophe Fillion-Robin <span dir="ltr"><<a href="mailto:jchris.fillionr@kitware.com" target="_blank">jchris.fillionr@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p>Hi,<br>
Indeed, some work is needed to support Debug build of python using cmake based system.</p>
<p> That said it should be possible to build a project in Debug against a python build in Release. Check the available option, you also look file Superbuild/External_puthon.cmake at <a href="http://github.com/Slicer/Slicer/" target="_blank">http://github.com/Slicer/Slicer/</a></p>
<p>Hth<br>
Jc<br></p>
<p>--<br>
Sent from my mobile device</p><div class="HOEnZb"><div class="h5">
<div class="gmail_quote">On Oct 4, 2013 2:07 PM, "Constantine Zakkaroff" <<a href="mailto:mnkz@leeds.ac.uk" target="_blank">mnkz@leeds.ac.uk</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Matt,<br>
<br>
To begin with I've tried building Python with CMake as specified here:<br>
<br>
<a href="https://github.com/davidsansome/python-cmake-buildsystem" target="_blank">https://github.com/<u></u>davidsansome/python-cmake-<u></u>buildsystem</a><br>
<br>
This Python-CMake-Build system is forcing Release builds only. Release build works fine.<br>
<br>
I changed the CMakeLists.txt to allow Debug builds, but... The Debug build fails on building extensions, because it expects python27_d.lib, but instead there's Debug/python27.lib. Just an incorrect name. I guess with a couple minor tweaks to the library names Debug builds could work.<br>
<br>
I'll try building Release WrapITK with the binaries produced by this Python-CMake-Build system next, just to see if it works.<br>
<br>
Regards,<br>
Constantine<br>
<br>
<br>
<br>
<br>
On 02/10/2013 18:31, Matt McCormick wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Constantine,<br>
<br>
It would interesting to see if it is possible to make a WrapITK build<br>
with Python built from:<br>
<br>
<a href="https://github.com/davidsansome/python-cmake-buildsystem" target="_blank">https://github.com/<u></u>davidsansome/python-cmake-<u></u>buildsystem</a><br>
<br>
Thanks,<br>
Matt<br>
<br>
On Wed, Oct 2, 2013 at 3:35 PM, Constantine Zakkaroff <<a href="mailto:mnkz@leeds.ac.uk" target="_blank">mnkz@leeds.ac.uk</a>> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello ALL,<br>
<br>
I suspect if I try to build WrapITK on Windows in Debug mode, it should fail<br>
because on my system I don't have Python debug libraries.<br>
<br>
Can anyone suggest what to do in this case?<br>
<br>
Many thanks,<br>
Constantine<br>
______________________________<u></u>_______<br>
Powered by <a href="http://www.kitware.com" 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" target="_blank">http://www.kitware.com/<u></u>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" target="_blank">http://www.kitware.com/<u></u>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" target="_blank">http://www.itk.org/Wiki/ITK_<u></u>FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/<u></u>listinfo/insight-users</a><br>
</blockquote></blockquote>
</blockquote></div>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>+1 919 869 8849<br>
</div>