[Insight-users] Python Debug Library for WrapITK Build on Windows

Jean-Christophe Fillion-Robin jchris.fillionr at kitware.com
Fri Oct 4 17:13:03 EDT 2013


((Re-send for the user list))


On Fri, Oct 4, 2013 at 2:17 PM, Jean-Christophe Fillion-Robin <
jchris.fillionr at kitware.com> wrote:

> Hi,
> Indeed, some work is needed to support Debug build of python using cmake
> based system.
>
> 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 http://github.com/Slicer/Slicer/
>
> Hth
> Jc
>
> --
> Sent from my mobile device
> On Oct 4, 2013 2:07 PM, "Constantine Zakkaroff" <mnkz at leeds.ac.uk> wrote:
>
>> Hi Matt,
>>
>> To begin with I've tried building Python with CMake as specified here:
>>
>> https://github.com/**davidsansome/python-cmake-**buildsystem<https://github.com/davidsansome/python-cmake-buildsystem>
>>
>> This Python-CMake-Build system is forcing Release builds only. Release
>> build works fine.
>>
>> 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.
>>
>> I'll try building Release WrapITK with the binaries produced by this
>> Python-CMake-Build system next, just to see if it works.
>>
>> Regards,
>> Constantine
>>
>>
>>
>>
>> On 02/10/2013 18:31, Matt McCormick wrote:
>>
>>> Hi Constantine,
>>>
>>> It would interesting to see if it is possible to make a WrapITK build
>>> with Python built from:
>>>
>>>    https://github.com/**davidsansome/python-cmake-**buildsystem<https://github.com/davidsansome/python-cmake-buildsystem>
>>>
>>> Thanks,
>>> Matt
>>>
>>> On Wed, Oct 2, 2013 at 3:35 PM, Constantine Zakkaroff <mnkz at leeds.ac.uk>
>>> wrote:
>>>
>>>> Hello ALL,
>>>>
>>>> I suspect if I try to build WrapITK on Windows in Debug mode, it should
>>>> fail
>>>> because on my system I don't have Python debug libraries.
>>>>
>>>> Can anyone suggest what to do in this case?
>>>>
>>>> Many thanks,
>>>> Constantine
>>>> ______________________________**_______
>>>> Powered by www.kitware.com
>>>>
>>>> Visit other Kitware open-source projects at
>>>> http://www.kitware.com/**opensource/opensource.html<http://www.kitware.com/opensource/opensource.html>
>>>>
>>>> Kitware offers ITK Training Courses, for more information visit:
>>>> http://www.kitware.com/**products/protraining.php<http://www.kitware.com/products/protraining.php>
>>>>
>>>> Please keep messages on-topic and check the ITK FAQ at:
>>>> http://www.itk.org/Wiki/ITK_**FAQ <http://www.itk.org/Wiki/ITK_FAQ>
>>>>
>>>> Follow this link to subscribe/unsubscribe:
>>>> http://www.itk.org/mailman/**listinfo/insight-users<http://www.itk.org/mailman/listinfo/insight-users>
>>>>
>>>


-- 
+1 919 869 8849
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20131004/6f1b6ae3/attachment.htm>


More information about the Insight-users mailing list