[Insight-users] wrapITK+Python2.7+Visual Studio 2010

Matt McCormick matt.mccormick at kitware.com
Mon Aug 6 10:26:56 EDT 2012


Hi Manuel,

On Mon, Aug 6, 2012 at 1:34 PM, manuelspinheiro
<manuelspinheiro2 at gmail.com> wrote:
> Hello Matt,
>
> First of all thanks for answering, I saw the updates made in the tutorial
> (http://farsight-toolkit.org/wiki/FARSIGHT_Tutorials/Building_Software/Building_ITK).

This would be a better location to use as a guide (although it is less
complete).  Even though it looks less complete, building wrapping
should be easier with ITKv4.

>
> I've tried with ITK v4.2.0, CableSwig 3.20.0 and Python 2.7.3 (because it
> seems that Python 3.2 is not supported by the current version of ITK). All
> project configurations were performed with Cmake 2.8.8.
>
> I've put the CableSwig inside the InsightToolkit-4.2.0 source dir
> \Utilities\CableSwig as I did before and I've followed the tutorial, the
> only difference is that I've put the ITK_WRAPPING variable ON (I think it is
> the equivalent to the USE_WRAP_ITK mentioned in the tutorial).

Again, CableSwig is not needed for ITKv4.

>
> I've got an error related with the GCC_XML but after specifying the path to
> the cvs:
>
> /InsightToolkit-4.2.0/Documentation/cvspasswd.exe

You will need to download a native third-party CVS client for Windows.
 In the future, we can maybe improve this situation by pointing the
ExternalProject to a tarball snapshot.

HTH,
Matt

>
> and after specifying all python variables to target the Python 2.7.3 Cmake
> generated the project without errors.
>
> In Visual Studio 2010 184 projected were builded successfully but 275
> projects failed. Am I missing something?
>
> Best Regards
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> --
> View this message in context: http://itk-insight-users.2283740.n2.nabble.com/wrapITK-Python2-7-Visual-Studio-2010-tp7580674p7580685.html
> Sent from the ITK Insight Users mailing list archive at Nabble.com.
> _____________________________________
> 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://www.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://www.itk.org/mailman/listinfo/insight-users


More information about the Insight-users mailing list