<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt"><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; "><span>Hi Douglas,</span></div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; "><span><br></span></div><div><font size="2">I am sorry to&nbsp;disappoint&nbsp;you. Matthias told me that since Python 2.7 was built with VS2008 it is not possible to build itk with python support using VS2010.</font></div><div><span style="font-size: 13px; ">Hope this answer helps.</span><br></div><div><font size="2"><br></font></div><div><font size="2">Cheers,</font></div><div><font size="2">Willi</font></div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; "><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> douglas souza &lt;dougnsouza@gmail.com&gt;<br> <b><span style="font-weight: bold;">An:</span></b> Willi &lt;surfersparadise85-itk@yahoo.com&gt; <br><b><span style="font-weight: bold;">CC:</span></b> insight-users@itk.org <br> <b><span style="font-weight: bold;">Gesendet:</span></b> 20:46 Dienstag, 31.Juli 2012<br> <b><span style="font-weight: bold;">Betreff:</span></b> Re: [Insight-users] Problems building python bindings for itk<br> </font> </div> <br><div id="yiv1694366998"><div>Where you able to fix this&nbsp; ?&nbsp; I am strugling with the same for quite sometime.. Python 2.7.3 + Visual Studio 2010 64bits.&nbsp; Same __noop that does not go away....</div><div>&nbsp;</div><div>rgds, doug<br><br></div><div class="yiv1694366998gmail_quote">

On Mon, Jul 16, 2012 at 5:28 PM, Willi <span dir="ltr">&lt;<a rel="nofollow" ymailto="mailto:surfersparadise85-itk@yahoo.com" target="_blank" href="mailto:surfersparadise85-itk@yahoo.com">surfersparadise85-itk@yahoo.com</a>&gt;</span> wrote:<br><blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid;" class="yiv1694366998gmail_quote">

<div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; "><div><span>I forgot to add that since I received the error&nbsp;</span></div><div><span><br></span></div><div><span><div><font face="arial, helvetica, sans-serif">CUSTOMBUILD : error : Could not run C:/GCCXML/bin/bin/Release/gccxml_cc1plus.exe:<br>

</font></div><div><font face="arial, helvetica, sans-serif">Der Dateiname oder die Erweiterung ist zu lang</font></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">again, I compiled the actual version (that I donwloaded with CVS) of gccxml myself and installed it.</font></div>

<div><font face="arial, helvetica, sans-serif"><br></font></div><div>I am still trying to get WrapITK working for Python 2.7 using MS Visual Studio 2010 - 64bit.&nbsp;<span style="font-size:10pt;">I was told that __noop comes from using the MSVC-STL with GCC
 so it could not get working. What am I supposed to do?</span></div><div><br></div><div>Willi</div></span></div><div><br><blockquote style="padding-left:5px;margin-top:5px;margin-left:5px;border-left-color:rgb(16,16,255);border-left-width:2px;border-left-style:solid;">

  <div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; "> <div style="font-size:12pt;"> <div dir="ltr"> <font face="Arial"> <hr size="1">

  <b><span style="font-weight:bold;">Von:</span></b> Willi &lt;<a rel="nofollow" ymailto="mailto:surfersparadise85-itk@yahoo.com" target="_blank" href="mailto:surfersparadise85-itk@yahoo.com">surfersparadise85-itk@yahoo.com</a>&gt;<br> <b><span style="font-weight:bold;">An:</span></b> Matthias Seise &lt;<a rel="nofollow" ymailto="mailto:mseise@gmail.com" target="_blank" href="mailto:mseise@gmail.com">mseise@gmail.com</a>&gt; <br>

<b><span style="font-weight:bold;">CC:</span></b> "<a rel="nofollow" ymailto="mailto:Insight-users@itk.org" target="_blank" href="mailto:Insight-users@itk.org">Insight-users@itk.org</a>" &lt;<a rel="nofollow" ymailto="mailto:Insight-users@itk.org" target="_blank" href="mailto:Insight-users@itk.org">Insight-users@itk.org</a>&gt; <br>

 <b><span style="font-weight:bold;">Gesendet:</span></b> 22:05 Montag, 16.Juli 2012<br> <b><span style="font-weight:bold;">Betreff:</span></b> Re: [Insight-users] Problems building python bindings
 for itk<br> </font> </div> <br><div><div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; "><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; "><span>Hi Matthias,</span></div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; ">

<span><br></span></div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; "><span>I tried to compile it now with your patch installed and it still isn't compiling.</span></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; ">Now I am back to:</div><div><div><font>C:/Program Files/gccxml/share/gccxml-0.9/Vc10/Include/vector: In member function 'typename _Myvec::const_reference std::_Vector_const_iterator&lt;_Myvec&gt;::operator*() const [with _Myvec =
 std::_Vector_val&lt;double, std::allocator&lt;double&gt;
 &gt;]':</font></div><div><font>&nbsp; C:/Program Files/gccxml/share/gccxml-0.9/Vc10/Include/memory:376: &nbsp; instantiated from '_FwdIt std::_Uninit_copy(_InIt, _InIt, _FwdIt, _Alloc&amp;, std::_Nonscalar_ptr_iterator_tag) [with _InIt = std::_Vector_const_iterator&lt;std::_Vector_val&lt;double, std::allocator&lt;double&gt; &gt; &gt;, _FwdIt = double*, _Alloc = std::allocator&lt;double&gt;]'</font></div>

<div><font>&nbsp; C:/Program Files/gccxml/share/gccxml-0.9/Vc10/Include/memory:414: &nbsp; instantiated from '_FwdIt std::_Uninitialized_copy(_InIt, _InIt, _FwdIt, _Alloc&amp;) [with _InIt = std::_Vector_const_iterator&lt;std::_Vector_val&lt;double, std::allocator&lt;double&gt; &gt; &gt;, _FwdIt = double*, _Alloc = std::allocator&lt;double&gt;]'</font></div>

<div><font>&nbsp; C:/Program Files/gccxml/share/gccxml-0.9/Vc10/Include/vector:1318: &nbsp; instantiated from 'typename std::_Vector_val&lt;_Ty, _Ax&gt;::_Alty::pointer
 std::vector&lt;_Ty, _Ax&gt;::_Ucopy(_Iter, _Iter, typename std::_Vector_val&lt;_Ty, _Ax&gt;::_Alty::pointer) [with _Iter = std::_Vector_const_iterator&lt;std::_Vector_val&lt;double, std::allocator&lt;double&gt; &gt; &gt;, _Ty = double, _Ax = std::allocator&lt;double&gt;]'</font></div>

<div><font>&nbsp; C:/Program Files/gccxml/share/gccxml-0.9/Vc10/Include/vector:538: &nbsp; instantiated from 'std::vector&lt;_Ty, _Ax&gt;::vector(const std::vector&lt;_Ty, _Ax&gt;&amp;) [with _Ty = double, _Ax = std::allocator&lt;double&gt;]'</font></div>

<div><font>&nbsp; C:/ITK/src/Modules/IO/ImageBase/include/itkImageIOBase.h:148: &nbsp; instantiated from here</font></div><div><font>&nbsp; C:/Program Files/gccxml/share/gccxml-0.9/Vc10/Include/vector:82: error: '__noop' was not declared in this scope</font></div>

<div><font><br></font></div><div><font>during the call:</font></div><div><font>"C:\Program
 Files\gccxml\bin\gccxml.exe" -fxml-start=_cable_ -fxml=C:/ITK/bin/Wrapping/Modules/ITKIOImageBase/itkImageSeriesReader.xml --gccxml-gcc-options C:/ITK/bin/Wrapping/Modules/ITKIOImageBase/gcc_xml.inc -DCSWIG -DCABLE_CONFIGURATION -DITK_MANUAL_INSTANTIATION -D"_HAS_TR1=0" C:/ITK/bin/Wrapping/Modules/ITKIOImageBase/itkImageSeriesReader.cxx<br>

</font></div><div><font><br></font></div><div><font>You can see your switch&nbsp;</font><span style="font-size:small;">-D"_HAS_TR1=0"</span></div><div><font><br></font></div></div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; ">

<span>I am still frustrated. Anyone else has an idea?</span></div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; "><span><br></span></div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; ">

<span>Cheers,</span></div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; "><span>Willi</span></div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; "><span><br></span></div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; ">

<br><blockquote style="padding-left:5px;margin-top:5px;margin-left:5px;border-left-color:rgb(16,16,255);border-left-width:2px;border-left-style:solid;">  <div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; ">
 <div style="font-family: times, serif; font-size: 12pt; ">
 <div dir="ltr"> <font face="Arial"> <hr size="1">  <b><span style="font-weight:bold;">Von:</span></b> Matthias Seise &lt;<a rel="nofollow" ymailto="mailto:mseise@gmail.com" target="_blank" href="mailto:mseise@gmail.com">mseise@gmail.com</a>&gt;<br> <b><span style="font-weight:bold;">An:</span></b> Willi &lt;<a rel="nofollow" ymailto="mailto:surfersparadise85-itk@yahoo.com" target="_blank" href="mailto:surfersparadise85-itk@yahoo.com">surfersparadise85-itk@yahoo.com</a>&gt; <br>

<b><span style="font-weight:bold;">CC:</span></b> "<a rel="nofollow" ymailto="mailto:Insight-users@itk.org" target="_blank" href="mailto:Insight-users@itk.org">Insight-users@itk.org</a>" &lt;<a rel="nofollow" ymailto="mailto:Insight-users@itk.org" target="_blank" href="mailto:Insight-users@itk.org">Insight-users@itk.org</a>&gt; <br>

 <b><span style="font-weight:bold;">Gesendet:</span></b> 12:17 Samstag, 14.Juli 2012<br> <b><span style="font-weight:bold;">Betreff:</span></b> Re: Problems building python bindings for itk<br> </font> </div> <br>Hi Willi,<br>

<br>sometimes there are unresolved dependncies and starting the build again <br>helps...<br><br>Matthias<br><br>Am 14.07.2012 00:55, schrieb Willi:<br>&gt; Hi Matthias,<br>&gt;<br>&gt; thank you very much.<br>&gt; You also changed in SwigInterface/CMakeLists.txt the name of swigwin to<br>

&gt; swig. This is also helpful since I had the same problem too.<br>&gt; The last remaining error looks like this:<br>&gt;<br>&gt; ------ Erstellen gestartet: Projekt: ITKAntiAliasPython, Konfiguration:<br>&gt; Release x64 ------<br>

&gt; Der Buildvorgang wurde am 13.07.2012 19:57:15 gestartet.<br>&gt; InitializeBuildStatus:<br>&gt; Aktualisieren des Timestamps von<br>&gt; "ITKAntiAliasPython.dir\Release\ITKAntiAliasPython.unsuccessfulbuild".<br>

&gt; CustomBuild:<br>&gt; Building Custom Rule<br>&gt;
 C:/ITK/src/Modules/Filtering/AntiAlias/wrapping/CMakeLists.txt<br>&gt; CMake does not need to re-run because<br>&gt; C:\ITK\bin\Wrapping\Modules\ITKAntiAlias\CMakeFiles\generate.stamp is<br>&gt; up-to-date.<br>&gt; Generating itkAntiAliasBinaryImageFilter.xml<br>

&gt; Generating ../../Typedefs/itkAntiAliasBinaryImageFilter.idx<br>&gt; Generating ../../Typedefs/itkAntiAliasBinaryImageFilter.i,<br>&gt; ../../Typedefs/itkAntiAliasBinaryImageFilterSwigInterface.h<br>&gt; Traceback (most recent call last):<br>

&gt; File "C:/ITK/src/Wrapping/Generators/SwigInterface/igenerator.py", line<br>&gt; 560, in &lt;module&gt;<br>&gt; load_mdx(f)<br>&gt; File "C:/ITK/src/Wrapping/Generators/SwigInterface/igenerator.py", line<br>

&gt; 319, in load_mdx<br>&gt; load_mdx(os.path.dirname(file_name)+os.sep+l.strip())<br>&gt; File "C:/ITK/src/Wrapping/Generators/SwigInterface/igenerator.py", line<br>&gt; 319, in load_mdx<br>&gt;
 load_mdx(os.path.dirname(file_name)+os.sep+l.strip())<br>&gt; File "C:/ITK/src/Wrapping/Generators/SwigInterface/igenerator.py", line<br>&gt; 319, in load_mdx<br>&gt; load_mdx(os.path.dirname(file_name)+os.sep+l.strip())<br>

&gt; File "C:/ITK/src/Wrapping/Generators/SwigInterface/igenerator.py", line<br>&gt; 319, in load_mdx<br>&gt; load_mdx(os.path.dirname(file_name)+os.sep+l.strip())<br>&gt; File "C:/ITK/src/Wrapping/Generators/SwigInterface/igenerator.py", line<br>

&gt; 321, in load_mdx<br>&gt; load_idx(os.path.dirname(file_name)+os.sep+l.strip())<br>&gt; File "C:/ITK/src/Wrapping/Generators/SwigInterface/igenerator.py", line<br>&gt; 286, in load_idx<br>&gt; f = file(file_name)<br>

&gt; IOError: [Errno 2] No such file or directory:<br>&gt; 'C:/ITK/bin/Wrapping/Typedefs\\ITKIOImageBaseBase.idx'<br>&gt; C:\Program Files<br>&gt; (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(151,5):<br>

&gt; error MSB6006: "cmd.exe" wurde mit dem Code 1
 beendet.<br>&gt;<br>&gt; but I think this is an easy one.<br>&gt; I am going to tackle this problem tomorrow and upload the patch.<br>&gt;<br>&gt; Cheers,<br>&gt; Willi<br>&gt;<br>&gt;&nbsp; &nbsp;  ------------------------------------------------------------------------<br>

&gt;&nbsp; &nbsp;  *Von:* Matthias Seise &lt;<a rel="nofollow" ymailto="mailto:mseise@gmail.com" target="_blank" href="mailto:mseise@gmail.com">mseise@gmail.com</a>&gt;<br>&gt;&nbsp; &nbsp;  *An:* <a rel="nofollow" ymailto="mailto:surfersparadise85-itk@yahoo.com" target="_blank" href="mailto:surfersparadise85-itk@yahoo.com">surfersparadise85-itk@yahoo.com</a><br>

&gt;&nbsp; &nbsp;  *CC:* <a rel="nofollow" ymailto="mailto:Insight-users@itk.org" target="_blank" href="mailto:Insight-users@itk.org">Insight-users@itk.org</a><br>&gt;&nbsp; &nbsp;  *Gesendet:* 21:04 Donnerstag, 12.Juli 2012<br>&gt;&nbsp; &nbsp;  *Betreff:* RE: Problems building python bindings for itk<br>

&gt;<br>&gt;&nbsp;
 &nbsp;  Hi Willi,<br>&gt;<br>&gt;&nbsp; &nbsp;  I had the same problem with VS 2008 - you need
 to add the gccxml<br>&gt;&nbsp; &nbsp;  flag -D"_HAS_TR1=0"<br>&gt;&nbsp; &nbsp;  I just submitted a patch for compiling wrapITK for python 2.7, 64<br>&gt;&nbsp; &nbsp;  bit (see <a rel="nofollow" target="_blank" href="http://review.source.kitware.com/#/c/6411/">http://review.source.kitware.com/#/c/6411/</a>)<br>

&gt;<br>&gt;&nbsp; &nbsp;  Good luck!<br>&gt;<br>&gt;&nbsp; &nbsp;  Matthias<br>&gt;<br>&gt;<br><br><br> </div> </div> </blockquote></div>   </div></div></div><br>_____________________________________<br>Powered by <a rel="nofollow" target="_blank" href="http://www.kitware.com/">www.kitware.com</a><br>

<br>Visit other Kitware open-source projects at<br><a rel="nofollow" target="_blank" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br><br>Kitware offers ITK Training Courses, for more information visit:<br>

<a rel="nofollow" target="_blank" href="http://www.kitware.com/products/protraining.php">http://www.kitware.com/products/protraining.php</a><br><br>Please keep messages on-topic
 and check the ITK FAQ at:<br><a rel="nofollow" target="_blank" href="http://www.itk.org/Wiki/ITK_FAQ">http://www.itk.org/Wiki/ITK_FAQ</a><br><br>Follow this link to subscribe/unsubscribe:<br><a rel="nofollow" target="_blank" href="http://www.itk.org/mailman/listinfo/insight-users">http://www.itk.org/mailman/listinfo/insight-users</a><br>

<br><br> </div> </div> </blockquote></div>   </div></div><br>_____________________________________<br>
Powered by <a rel="nofollow" target="_blank" href="http://www.kitware.com/">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a rel="nofollow" target="_blank" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a rel="nofollow" target="_blank" href="http://www.kitware.com/products/protraining.php">http://www.kitware.com/products/protraining.php</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a rel="nofollow" target="_blank" href="http://www.itk.org/Wiki/ITK_FAQ">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a rel="nofollow" target="_blank" href="http://www.itk.org/mailman/listinfo/insight-users">http://www.itk.org/mailman/listinfo/insight-users</a><br>
<br></blockquote></div><br>
</div><br><br> </div> </div> </blockquote></div>   </div></body></html>