[Insight-users] itk python wrapping failing on Win

Alexandre GOUAILLARD agouaillard at gmail.com
Sat May 26 04:22:14 EDT 2012


hi,

my guts feeling is that the path to the executable is too long.
try to either relocate ITK closer to the D:/ root, or to install
gccXML first, and use the installed version within ITK.

regards,

alex.


On Sat, May 26, 2012 at 6:13 AM, Prevrhal, Sven
<Sven.Prevrhal at philips.com> wrote:
> Gccxml is making trouble. Non-wrapping projects all compile just fine, using
> VS2008 32-bit debug. Python wrappers don’t compile at all. Here is a snippet
> of the build log – any ideas? I did set GCCXML_COMPILER to msvc9 but it
> apparently got ignored, and probably wouldn’t solve the problem anyway.
>
>
>
> 290>Generating itkAntiAliasBinaryImageFilter.xml
>
> 289>Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 15.00.21022.08
> for 80x86
>
> 289>Copyright (C) Microsoft Corporation.  All rights reserved.
>
> 289>usage: cl [ option... ] filename... [ /link linkoption... ]
>
> 289>Warning:
>
> 289>Compiler "cl" specified, but more than one of MSVC 6, 7, 7.1, 8, 9, and
> 10 are installed.
>
> 289>Please specify "msvc6", "msvc7", "msvc71", "msvc8", "msvc8ex", "msvc9",
> or "msvc10" for the GCCXML_COMPILER setting.
>
> 289>Using MSVC 9 because it was used to build GCC-XML.
>
> 289>Error: Could not run
> D:/packages/builds/itk-nightly-x86/Wrapping/Generators/GccXML/gccxml/bin/gccxml_cc1plus.exe:
>
> 289>The filename or extension is too long
>
> 289>Project : error PRJ0019: A tool returned an error code from "Generating
> itkErodeObjectMorphologyImageFilter.xml"
>
>
>
>
>
>
> ________________________________
> The information contained in this message may be confidential and legally
> protected under applicable law. The message is intended solely for the
> addressee(s). If you are not the intended recipient, you are hereby notified
> that any use, forwarding, dissemination, or reproduction of this message is
> strictly prohibited and may be unlawful. If you are not the intended
> recipient, please contact the sender by return e-mail and destroy all copies
> of the original message.
>
> _____________________________________
> 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