<div dir="ltr">Hi,<div><br></div><div>I tried to build python bindings for ITK and build failed with below output:</div><div><br></div><div><div>canning dependencies of target ITKPyBasePython</div><div>[ 23%] Building CXX object Wrapping/Generators/Python/PyBase/CMakeFiles/ITKPyBasePython.dir/ITKPyBasePython.cpp.o</div>
<div>[ 23%] Building CXX object Wrapping/Generators/Python/PyBase/CMakeFiles/ITKPyBasePython.dir/pyBasePython.cpp.o</div><div>Linking CXX shared module ../../../../lib/_ITKPyBasePython.so</div><div>[ 23%] Built target ITKPyBasePython</div>
<div>Scanning dependencies of target ITKCommonIdx</div><div>[ 23%] Generating ../../Typedefs/vcl_complex.idx</div><div>Traceback (most recent call last):</div><div> File "/home/rashad/code/itk/ITK/Wrapping/Generators/SwigInterface/idx.py", line 28, in <module></div>
<div> res = pygccxml_reader.read_xml_file(sys.argv[1])</div><div> File "/home/rashad/code/itk/ITK/Wrapping/Generators/SwigInterface/pygccxml-1.0.0/pygccxml/parser/source_reader.py", line 240, in read_xml_file</div>
<div> ffname = self.__file_full_name(gccxml_created_file)</div><div> File "/home/rashad/code/itk/ITK/Wrapping/Generators/SwigInterface/pygccxml-1.0.0/pygccxml/parser/source_reader.py", line 277, in __file_full_name</div>
<div> raise RuntimeError( "pygccxml error: file '%s' does not exist" % file )</div><div>RuntimeError: pygccxml error: file '/home/rashad/build/itk/ITK_/Wrapping/Typedefs/vcl_complex.idx' does not exist</div>
<div>make[2]: *** [Wrapping/Typedefs/vcl_complex.idx] Error 1</div><div>make[1]: *** [Wrapping/Modules/ITKCommon/CMakeFiles/ITKCommonIdx.dir/all] Error 2</div><div>make: *** [all] Error 2</div><div><br></div><div><br></div>
<div>For cmake I had given</div><div>cmake -DITK_WRAPING=ON -DITK_WRAP_PYTHON=ON -DITK_USE_SYSTEM_SWIG=OFF -DITK_WRAP_SWIGINTERFACE=ON<br></div><div><br></div><div>but ITK_WRAP_ ( GCCXML JAVA, RUBY, TCL ) are also OFF.</div>
<div><br></div><div><br></div><div>I dont need gccxml and it is off in my cmake configuration but I am getting pygccxml error</div><div><br></div><div>Any ideas?</div><div><br></div>-- <br><div><font face="arial, helvetica, sans-serif">Regards,<br>
Rashad</font></div>
</div></div>