<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 disappoint 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 <dougnsouza@gmail.com><br> <b><span style="font-weight: bold;">An:</span></b> Willi <surfersparadise85-itk@yahoo.com> <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 ? I am strugling with the same for quite sometime.. Python 2.7.3 + Visual Studio 2010 64bits. Same __noop that does not go away....</div><div> </div><div>rgds, doug<br><br></div><div class="yiv1694366998gmail_quote">
On Mon, Jul 16, 2012 at 5:28 PM, Willi <span dir="ltr"><<a rel="nofollow" ymailto="mailto:surfersparadise85-itk@yahoo.com" target="_blank" href="mailto:surfersparadise85-itk@yahoo.com">surfersparadise85-itk@yahoo.com</a>></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 </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. <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 <<a rel="nofollow" ymailto="mailto:surfersparadise85-itk@yahoo.com" target="_blank" href="mailto:surfersparadise85-itk@yahoo.com">surfersparadise85-itk@yahoo.com</a>><br> <b><span style="font-weight:bold;">An:</span></b> Matthias Seise <<a rel="nofollow" ymailto="mailto:mseise@gmail.com" target="_blank" href="mailto:mseise@gmail.com">mseise@gmail.com</a>> <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>" <<a rel="nofollow" ymailto="mailto:Insight-users@itk.org" target="_blank" href="mailto:Insight-users@itk.org">Insight-users@itk.org</a>> <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<_Myvec>::operator*() const [with _Myvec =
std::_Vector_val<double, std::allocator<double>
>]':</font></div><div><font> C:/Program Files/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><font> C:/Program Files/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><font> C:/Program Files/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><font> C:/Program Files/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><font> C:/ITK/src/Modules/IO/ImageBase/include/itkImageIOBase.h:148: instantiated from here</font></div><div><font> 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 </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 <<a rel="nofollow" ymailto="mailto:mseise@gmail.com" target="_blank" href="mailto:mseise@gmail.com">mseise@gmail.com</a>><br> <b><span style="font-weight:bold;">An:</span></b> Willi <<a rel="nofollow" ymailto="mailto:surfersparadise85-itk@yahoo.com" target="_blank" href="mailto:surfersparadise85-itk@yahoo.com">surfersparadise85-itk@yahoo.com</a>> <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>" <<a rel="nofollow" ymailto="mailto:Insight-users@itk.org" target="_blank" href="mailto:Insight-users@itk.org">Insight-users@itk.org</a>> <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>> Hi Matthias,<br>><br>> thank you very much.<br>> You also changed in SwigInterface/CMakeLists.txt the name of swigwin to<br>
> swig. This is also helpful since I had the same problem too.<br>> The last remaining error looks like this:<br>><br>> ------ Erstellen gestartet: Projekt: ITKAntiAliasPython, Konfiguration:<br>> Release x64 ------<br>
> Der Buildvorgang wurde am 13.07.2012 19:57:15 gestartet.<br>> InitializeBuildStatus:<br>> Aktualisieren des Timestamps von<br>> "ITKAntiAliasPython.dir\Release\ITKAntiAliasPython.unsuccessfulbuild".<br>
> CustomBuild:<br>> Building Custom Rule<br>>
C:/ITK/src/Modules/Filtering/AntiAlias/wrapping/CMakeLists.txt<br>> CMake does not need to re-run because<br>> C:\ITK\bin\Wrapping\Modules\ITKAntiAlias\CMakeFiles\generate.stamp is<br>> up-to-date.<br>> Generating itkAntiAliasBinaryImageFilter.xml<br>
> Generating ../../Typedefs/itkAntiAliasBinaryImageFilter.idx<br>> Generating ../../Typedefs/itkAntiAliasBinaryImageFilter.i,<br>> ../../Typedefs/itkAntiAliasBinaryImageFilterSwigInterface.h<br>> Traceback (most recent call last):<br>
> File "C:/ITK/src/Wrapping/Generators/SwigInterface/igenerator.py", line<br>> 560, in <module><br>> load_mdx(f)<br>> File "C:/ITK/src/Wrapping/Generators/SwigInterface/igenerator.py", line<br>
> 319, in load_mdx<br>> load_mdx(os.path.dirname(file_name)+os.sep+l.strip())<br>> File "C:/ITK/src/Wrapping/Generators/SwigInterface/igenerator.py", line<br>> 319, in load_mdx<br>>
load_mdx(os.path.dirname(file_name)+os.sep+l.strip())<br>> File "C:/ITK/src/Wrapping/Generators/SwigInterface/igenerator.py", line<br>> 319, in load_mdx<br>> load_mdx(os.path.dirname(file_name)+os.sep+l.strip())<br>
> File "C:/ITK/src/Wrapping/Generators/SwigInterface/igenerator.py", line<br>> 319, in load_mdx<br>> load_mdx(os.path.dirname(file_name)+os.sep+l.strip())<br>> File "C:/ITK/src/Wrapping/Generators/SwigInterface/igenerator.py", line<br>
> 321, in load_mdx<br>> load_idx(os.path.dirname(file_name)+os.sep+l.strip())<br>> File "C:/ITK/src/Wrapping/Generators/SwigInterface/igenerator.py", line<br>> 286, in load_idx<br>> f = file(file_name)<br>
> IOError: [Errno 2] No such file or directory:<br>> 'C:/ITK/bin/Wrapping/Typedefs\\ITKIOImageBaseBase.idx'<br>> C:\Program Files<br>> (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(151,5):<br>
> error MSB6006: "cmd.exe" wurde mit dem Code 1
beendet.<br>><br>> but I think this is an easy one.<br>> I am going to tackle this problem tomorrow and upload the patch.<br>><br>> Cheers,<br>> Willi<br>><br>> ------------------------------------------------------------------------<br>
> *Von:* Matthias Seise <<a rel="nofollow" ymailto="mailto:mseise@gmail.com" target="_blank" href="mailto:mseise@gmail.com">mseise@gmail.com</a>><br>> *An:* <a rel="nofollow" ymailto="mailto:surfersparadise85-itk@yahoo.com" target="_blank" href="mailto:surfersparadise85-itk@yahoo.com">surfersparadise85-itk@yahoo.com</a><br>
> *CC:* <a rel="nofollow" ymailto="mailto:Insight-users@itk.org" target="_blank" href="mailto:Insight-users@itk.org">Insight-users@itk.org</a><br>> *Gesendet:* 21:04 Donnerstag, 12.Juli 2012<br>> *Betreff:* RE: Problems building python bindings for itk<br>
><br>>
Hi Willi,<br>><br>> I had the same problem with VS 2008 - you need
to add the gccxml<br>> flag -D"_HAS_TR1=0"<br>> I just submitted a patch for compiling wrapITK for python 2.7, 64<br>> bit (see <a rel="nofollow" target="_blank" href="http://review.source.kitware.com/#/c/6411/">http://review.source.kitware.com/#/c/6411/</a>)<br>
><br>> Good luck!<br>><br>> Matthias<br>><br>><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>