<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt"><div><span><div style="font-size: 10pt; ">Now using ITK v4.2 and I got rid of most of the errors but I still think Python 3.2 is not yet fully supported since I get errors like this:</div><div style="font-size: 10pt; "><br></div><div style="font-size: 16px; "><div><span style="font-size: 13px; ">------ Erstellen gestartet: Projekt: ITKStatisticsSwig, Konfiguration: Release x64 ------</span><br></div><div><font size="2">Der Buildvorgang wurde am 12.07.2012 03:24:55 gestartet.</font></div><div><font size="2">InitializeBuildStatus:</font></div><div><font size="2"> "x64\Release\ITKStatisticsSwig\ITKStatisticsSwig.unsuccessfulbuild" wird erstellt, da "AlwaysCreate" angegeben wurde.</font></div><div><font size="2">CustomBuild:</font></div><div><font size="2"> Building Custom Rule
C:/ITK/src/Modules/Numerics/Statistics/wrapping/CMakeLists.txt</font></div><div><font size="2"> CMake does not need to re-run because C:\ITK\bin\Wrapping\Modules\ITKStatistics\CMakeFiles\generate.stamp is up-to-date.</font></div><div><font size="2"> Generating itkSample.xml</font></div><div><font size="2"> Generating itkHistogram.xml</font></div><div><font size="2"> Generating itkListSample.xml</font></div><div><font size="2"> Generating itkMembershipFunctionBase.xml</font></div><div><font size="2"> Generating itkDistanceMetric.xml</font></div><div><font size="2"> Generating itkEuclideanDistanceMetric.xml</font></div><div><font size="2"> Generating itkHistogramToEntropyImageFilter.xml</font></div><div><font size="2"> Generating itkHistogramToIntensityImageFilter.xml</font></div><div><font size="2"> Generating itkHistogramToLogProbabilityImageFilter.xml</font></div><div><font size="2">
Generating itkHistogramToProbabilityImageFilter.xml</font></div><div><font size="2"> Generating itkHistogramToRunLengthFeaturesFilter.xml</font></div><div><font size="2"> Generating itkHistogramToTextureFeaturesFilter.xml</font></div><div><font size="2"> Generating itkImageToHistogramFilter.xml</font></div><div><font size="2"> Generating itkKdTree.xml</font></div><div><font size="2"> Generating itkMaskedImageToHistogramFilter.xml</font></div><div><font size="2"> Generating itkScalarImageToCooccurrenceMatrixFilter.xml</font></div><div><font size="2"> Generating itkScalarImageToHistogramGenerator.xml</font></div><div><font size="2"> Generating itkScalarImageToRunLengthFeaturesFilter.xml</font></div><div><font size="2"> Generating itkScalarImageToRunLengthMatrixFilter.xml</font></div><div><font size="2"> Generating itkScalarImageToTextureFeaturesFilter.xml</font></div><div><font size="2">
Generating ../../Typedefs/itkSample.idx</font></div><div><font size="2"> Traceback (most recent call last):</font></div><div><font size="2"> File "C:/ITK/src/Wrapping/Generators/SwigInterface/idx.py", line 7, in <module></font></div><div><font size="2"> import pygccxml, sys, cStringIO</font></div><div><font size="2"> File "C:\ITK\src\Wrapping\Generators\SwigInterface\pygccxml-1.0.0\pygccxml\__init__.py", line 32, in <module></font></div><div><font size="2"> import pygccxml.declarations as declarations</font></div><div><font size="2"> File "C:\ITK\src\Wrapping\Generators\SwigInterface\pygccxml-1.0.0\pygccxml\declarations\__init__.py", line 10, in <module></font></div><div><font size="2"> import compilers</font></div><div><font size="2"> ImportError: No module named compilers</font></div><div><font size="2">C:\Program Files
(x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(151,5): error MSB6006: "cmd.exe" wurde mit dem Code 1 beendet.</font></div><div><br></div></div><div style="font-size: 10pt; "><br></div><div style="font-size: 10pt; ">Another strange error I got is this one and I didnt find out why:</div><div style="font-size: 10pt; "><br></div><div style="font-size: 10pt; "><br></div><div style="font-size: 10pt; "><div style="font-size: 16px; "><font size="2">------ Erstellen gestartet: Projekt: ITKIOImageBaseGccXML, Konfiguration: Release x64 ------</font></div><div style="font-size: 16px; "><font size="2">Der Buildvorgang wurde am 12.07.2012 03:24:51 gestartet.</font></div><div style="font-size: 16px; "><font size="2">InitializeBuildStatus:</font></div><div style="font-size: 16px; "><font size="2"> "x64\Release\ITKIOImageBaseGccXML\ITKIOImageBaseGccXML.unsuccessfulbuild" wird erstellt, da "AlwaysCreate" angegeben wurde.</font></div><div
style="font-size: 16px; "><font size="2">CustomBuild:</font></div><div style="font-size: 16px; "><font size="2"> Building Custom Rule C:/ITK/src/Modules/IO/ImageBase/wrapping/CMakeLists.txt</font></div><div style="font-size: 16px; "><font size="2"> CMake does not need to re-run because C:\ITK\bin\Wrapping\Modules\ITKIOImageBase\CMakeFiles\generate.stamp is up-to-date.</font></div><div style="font-size: 16px; "><font size="2"> Generating ITKIOImageBaseBase.xml</font></div><div style="font-size: 16px; "><font size="2"> C:/ITK/bin/Wrapping/Generators/GccXML/gccxml/share/gccxml-0.9/Vc10/Include/vector: In member function 'typename _Myvec::const_reference std::_Vector_const_iterator<_Myvec>::operator*() const [with _Myvec = std::_Vector_val<double, std::allocator<double> >]':</font></div><div style="font-size: 16px; "><font size="2">
C:/ITK/bin/Wrapping/Generators/GccXML/gccxml/share/gccxml-0.9/Vc10/Include/memory:376: instantiated from '_FwdIt std::_Uninit_copy(_InIt, _InIt, _FwdIt, _Alloc&, std::_Nonscalar_ptr_iterator_tag) [with _InIt = std::_Vector_const_iterator<std::_Vector_val<double, std::allocator<double> > >, _FwdIt = double*, _Alloc = std::allocator<double>]'</font></div><div style="font-size: 16px; "><font size="2"> C:/ITK/bin/Wrapping/Generators/GccXML/gccxml/share/gccxml-0.9/Vc10/Include/memory:414: instantiated from '_FwdIt std::_Uninitialized_copy(_InIt, _InIt, _FwdIt, _Alloc&) [with _InIt = std::_Vector_const_iterator<std::_Vector_val<double, std::allocator<double> > >, _FwdIt = double*, _Alloc = std::allocator<double>]'</font></div><div style="font-size: 16px; "><font size="2"> C:/ITK/bin/Wrapping/Generators/GccXML/gccxml/share/gccxml-0.9/Vc10/Include/vector:1318: instantiated
from 'typename std::_Vector_val<_Ty, _Ax>::_Alty::pointer std::vector<_Ty, _Ax>::_Ucopy(_Iter, _Iter, typename std::_Vector_val<_Ty, _Ax>::_Alty::pointer) [with _Iter = std::_Vector_const_iterator<std::_Vector_val<double, std::allocator<double> > >, _Ty = double, _Ax = std::allocator<double>]'</font></div><div style="font-size: 16px; "><font size="2"> C:/ITK/bin/Wrapping/Generators/GccXML/gccxml/share/gccxml-0.9/Vc10/Include/vector:538: instantiated from 'std::vector<_Ty, _Ax>::vector(const std::vector<_Ty, _Ax>&) [with _Ty = double, _Ax = std::allocator<double>]'</font></div><div style="font-size: 16px; "><font size="2"> C:/ITK/src/Modules/IO/ImageBase/include/itkImageIOBase.h:148: instantiated from here</font></div><div style="font-size: 16px; "><font size="2"> C:/ITK/bin/Wrapping/Generators/GccXML/gccxml/share/gccxml-0.9/Vc10/Include/vector:82: error:
'__noop' was not declared in this scope</font></div><div style="font-size: 16px; "><font size="2">C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(151,5): error MSB6006: "cmd.exe" wurde mit dem Code 1 beendet.</font></div><div style="font-size: 16px; "><br></div></div><div style="font-size: 10pt; "><br></div><div style="font-size: 10pt; ">Any help is so much appreciated.</div><div style="font-size: 10pt; "><br></div><div style="font-size: 10pt; ">Cheers,</div><div style="font-size: 10pt; ">Willi</div></span></div><div><br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; margin-top: 5px; padding-left: 5px;"> <div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; "> <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "> <div dir="ltr"> <font size="2" face="Arial"> <hr size="1"> <b><span style="font-weight:bold;">Von:</span></b> Willi
<surfersparadise85-itk@yahoo.com><br> <b><span style="font-weight: bold;">An:</span></b> "insight-users@itk.org" <insight-users@itk.org> <br> <b><span style="font-weight: bold;">Gesendet:</span></b> 22:08 Mittwoch, 11.Juli 2012<br> <b><span style="font-weight: bold;">Betreff:</span></b> [Insight-users] Problems building python bindings for itk<br> </font> </div> <br><div id="yiv1695365668"><div><div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-family: arial, helvetica, sans-serif; font-size: 10pt; "><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; ">Hello all,</div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; "><br></div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; ">since a couple of days I am trying to build ITK v4.1 as downloaded from the webpage.</div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; ">The main ITK
building is working without any problems but if I want to add wrapping support nothing is working.</div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; "><br></div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; ">I am using a Windows 7 x64 with Visual Studio 10 and want to add wrapping support for my installed Python version 3.2</div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; "><br></div><div><span style="font-family: arial, helvetica, sans-serif; font-size: 10pt; ">I downloaded GCCXML on my own using cvs (since it didnt work with GCCXML downloaded and used within the ITK building process) then made the CMake stuff and also built the target vcInstallPatch which I assumed will get me rid of the "VC10 not supported"-error that I received when using ITK and I receive the error: </span></div><div><font face="arial, helvetica, sans-serif" size="2"><br></font></div><div><font
face="arial, helvetica, sans-serif" size="2">CUSTOMBUILD : error : Could not run C:/GCCXML/bin/bin/Release/gccxml_cc1plus.exe:<br></font></div><div><font face="arial, helvetica, sans-serif" size="2">Der Dateiname oder die Erweiterung ist zu lang</font></div><div><br></div><div><font face="arial, helvetica, sans-serif" size="2">"Der Dateiname oder die Erweiterung ist zu lang" == "Filename or extension is too
long"</font></div><div><font face="arial, helvetica, sans-serif" size="2"><br></font></div><div><font face="arial, helvetica, sans-serif" size="2">Can you please help me. I am freakin out since I am trying to compile it for three days now.</font></div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; "><br></div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; "><span style="font-size:10pt;"><br></span></div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; ">Cheers,</div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; ">Willi</div></div></div></div><br>_____________________________________<br>Powered by www.kitware.com<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/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/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_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/listinfo/insight-users</a><br><br><br> </div> </div> </blockquote></div> </div></body></html>