<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 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 size="2">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 size="2"> 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 size="2"> 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 size="2"> 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 size="2"> 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 size="2"> C:/ITK/src/Modules/IO/ImageBase/include/itkImageIOBase.h:148: instantiated from here</font></div><div><font size="2"> C:/Program Files/gccxml/share/gccxml-0.9/Vc10/Include/vector:82: error: '__noop' was not declared in this scope</font></div><div><font size="2"><br></font></div><div><font size="2">during the call:</font></div><div><font size="2">"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 size="2"><br></font></div><div><font size="2">You can see your switch </font><span style="font-size: small; ">-D"_HAS_TR1=0"</span></div><div><font size="2"><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="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> Matthias Seise <mseise@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" <Insight-users@itk.org> <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 ymailto="mailto:mseise@gmail.com" href="mailto:mseise@gmail.com">mseise@gmail.com</a>><br>> *An:* <a ymailto="mailto:surfersparadise85-itk@yahoo.com" href="mailto:surfersparadise85-itk@yahoo.com">surfersparadise85-itk@yahoo.com</a><br>> *CC:* <a ymailto="mailto:Insight-users@itk.org" 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 href="http://review.source.kitware.com/#/c/6411/" target="_blank">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></body></html>