<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: times new roman,new york,times,serif; font-size: 12pt; color: #000000'>Hi Brad,<br><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><br><div>I don't think we are testing WrapITK against Python 3.3 on the dashboard.</div><div id="DWT3268"><br></div><div>This looks like a swig generated file. What version of swig are you using? The version ITK can build internally is 2.0.4, which may not have support for python 3+. I have had good luck with swig 2.0.9 with SimpleITK. I'd configure Wrap ITK to use this downloaded version of swig.</div><div id="DWT3269"><br></div></blockquote>I was using 2.0.4, but following your advice, I rebuilt anew with 2.0.11, to the same effect, unfortunately.<br>Sébastien<br><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><div></div><div>Brad</div><div><br><div><div>On Sep 24, 2013, at 3:57 AM, <a href="mailto:sebastien.brisard@ifsttar.fr" target="_blank">sebastien.brisard@ifsttar.fr</a> wrote:</div><br class="Apple-interchange-newline"><blockquote><div style="font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; ">Hi,<br>I'm trying to install ITK 4.4.2 on my Windows 7 box using MinGW 32 (mingw32-base is in version 2013072200, everything up-to-date).<br>I've come accross quite a few compilation errors, which I managed to overcome, but I am now stuck with the Python bindings (target ITKPyBasePython). I have installed the CPython 3.3 official binaries.<br>Indeed, I get the following error message<br><blockquote>c:\src\InsightToolkit-4.4.2\build>mingw32-make ITKPyBasePython<br>[ 0%] Built target ITKPyBaseGccXML<br>[ 0%] Built target ITKPyBaseIdx<br>[ 0%] Built target ITKPyBaseSwig<br>[100%] Built target swig<br>Scanning dependencies of target ITKPyBasePython<br>[100%] Building CXX object Wrapping/Generators/Python/PyBase/CMakeFiles/ITKPyBasePython.dir/ITKPyBasePython.cpp.obj<br>C:\src\InsightToolkit-4.4.2\build\Wrapping\Generators\Python\PyBase\ITKPyBasePython.cpp: In function 'PyObject* PyInit__ITKPyBasePython()':<br>C:\src\InsightToolkit-4.4.2\build\Wrapping\Generators\Python\PyBase\ITKPyBasePython.cpp:3768:21: error: 'init_pyBasePython' was not declared in this scope<br> init_pyBasePython();<br> ^<br>Wrapping\Generators\Python\PyBase\CMakeFiles\ITKPyBasePython.dir\build.make:78:<br>recipe for target 'Wrapping/Generators/Python/PyBase/CMakeFiles/ITKPyBasePython.dir/ITKPyBasePython.cpp.obj' failed<br>mingw32-make[3]: *** [Wrapping/Generators/Python/PyBase/CMakeFiles/ITKPyBasePython.dir/ITKPyBasePython.cpp.obj] Error 1<br>CMakeFiles\Makefile2:10530: recipe for target 'Wrapping/Generators/Python/PyBase/CMakeFiles/ITKPyBasePython.dir/all' failed<br>mingw32-make[2]: *** [Wrapping/Generators/Python/PyBase/CMakeFiles/ITKPyBasePython.dir/all] Error 2<br>CMakeFiles\Makefile2:10542: recipe for target 'Wrapping/Generators/Python/PyBase/CMakeFiles/ITKPyBasePython.dir/rule' failed<br>mingw32-make[1]: *** [Wrapping/Generators/Python/PyBase/CMakeFiles/ITKPyBasePython.dir/rule] Error 2<br>Makefile:2678: recipe for target 'ITKPyBasePython' failed<br>mingw32-make: *** [ITKPyBasePython] Error 2<br></blockquote>I can't make head or tail from this error message, and would appreciate any help!<br>Thanks in advance,<br><br><div><span></span><font face="times new roman,new york,times,serif">Sébastien Brisard<br><br></font><hr><font face="times new roman,new york,times,serif">Ecole des Ponts ParisTech, IFSTTAR, UMR CNRS 8205<br>Laboratoire Navier<br>6 et 8 avenue Blaise-Pascal -- Cité Descartes<br>Champs-sur-Marne<br>F-77455 Marne-la-Vallée cedex 2<br>France<br><br>+33(0)1 64 15 37 51<br><a href="mailto:sebastien.brisard@ifsttar.fr" target="_blank">sebastien.brisard@ifsttar.fr</a><br></font><hr><font face="times new roman,new york,times,serif"><br></font><span></span><br></div></div>_____________________________________<br>Powered by<span class="Apple-converted-space"> </span><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/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></div></blockquote></div><br></div></blockquote><br></div></body></html>