Hi,<div><br></div><div>I&#39;m trying to compile ITK-4.0 on Ubuntu 11.04 (natty) with Python wrapping. CMake, libstd, libc, python &amp; gcc are the standard packages of the distribution. I use icecc for distributed compilation.</div>


<div><br></div><div>If I try without Python bindings, everything is fine (it builds without errors). But, when enabling this feature on CMake, I get some errors. At first time, error was some missing parameters on &quot;swig&quot;, so I tried with several version [error compiling itk 4.0 swig error : Unrecognized option -O]. Right now, VXL seems to be the problem.</div>

<div><br></div><div>
I&#39;ve tried:</div><div><ul><li>swig2.0 from ubuntu (build log: <a href="http://db.tt/HEj8T4m">http://db.tt/HEj8T4m</a> , CMakeCache.txt  <a href="http://db.tt/ORCJ6VM">http://db.tt/ORCJ6VM</a>)</li><li>swig1.3 from ubuntu (build log:<a href="http://db.tt/V2pIBzO" target="_blank">http://db.tt/V2pIBzO</a> , CMakeCache.txt: <a href="http://db.tt/rNhnuvj" target="_blank">http://db.tt/rNhnuvj</a> )</li>


<li>cableswig from ubuntu (build log: <a href="http://db.tt/8BgMm0x" target="_blank">http://db.tt/8BgMm0x</a> , CMakeCache.txt: <a href="http://db.tt/bBAEySy" target="_blank">http://db.tt/bBAEySy</a> )</li><li>CableSwig code downloaded from the repository of ITK-3.20. ( build log: <a href="http://db.tt/EyqPzyD">http://db.tt/EyqPzyD</a> , CMakeCache.txt: <a href="http://db.tt/plNF2vx">http://db.tt/plNF2vx</a>)</li>


</ul><div>I&#39;ve tried several times, enabling and disabling several options:</div></div><div><br></div><div><ul><li>WRAP_ITK_GCCXML</li><li>WRAP_ITK_SWIGINTERFACE (I think that the forementionded problems with swig came if this is enabled)</li>

</ul></div><div><br></div><div>For wrapping, I&#39;m following the next guides:</div><div><ul><li><a href="http://www.itk.org/Wiki/ITK_Release_4/Wrapping/BuildProcess">http://www.itk.org/Wiki/ITK_Release_4/Wrapping/BuildProcess</a></li>

<li><a href="http://www.itk.org/Wiki/ITK_Release_4/Wrapping/WrapITK_Installation">http://www.itk.org/Wiki/ITK_Release_4/Wrapping/WrapITK_Installation</a></li></ul><meta http-equiv="content-type" content="text/html; charset=utf-8"></div>

<div>If I use the system&#39;s VXL libraries, I get the next error:</div><div><br></div><div><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">

[ 14%] [ 14%] [ 14%] Building C object Modules/ThirdParty/NrrdIO/src/NrrdIO/CMakeFiles/ITKNrrdIO.dir/dio.c.o<br>In file included from /home/oesteban/workspace/itk-4.0/ITK/Modules/ThirdParty/NrrdIO/src/NrrdIO/NrrdIO.h:25:0,<br>

                 from /home/oesteban/workspace/itk-4.0/ITK/Modules/ThirdParty/NrrdIO/src/NrrdIO/754.c:25:<br>/home/oesteban/workspace/itk-4.0/build/Modules/ThirdParty/NrrdIO/src/NrrdIO/NrrdConfigure.h:11:26: error: operator &#39;==&#39; has no left operand</blockquote>

</div><div><br></div><div><br></div><div>Thanks in advance. Best regards,</div><div>Oscar Esteban</div><div><br></div><div><br></div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div><div><div><b>______________________________________</b></div>

<div><b>Oscar Esteban</b></div><div>PhD Student / Researcher</div><div>Biomedical Image Technologies (Universidad Politécnica de Madrid)</div>
<div><br></div><div><font color="#999999">ETSI Telecomunicación (Lab. C203)</font></div><div><font color="#999999">Av. Complutense s/n - E-28040 Madrid (Spain)</font></div><div><span style="color:rgb(153, 153, 153)">+34 915 495 700 ext.4234</span></div>


</div><br>
</div>