[ITK] [ITK-dev] cannot enable python wrapping in ITK
Rashad M
mohammedrashadkm at gmail.com
Thu Jun 5 05:01:48 EDT 2014
Hi,
I tried to build python bindings for ITK and build failed with below output:
canning dependencies of target ITKPyBasePython
[ 23%] Building CXX object
Wrapping/Generators/Python/PyBase/CMakeFiles/ITKPyBasePython.dir/ITKPyBasePython.cpp.o
[ 23%] Building CXX object
Wrapping/Generators/Python/PyBase/CMakeFiles/ITKPyBasePython.dir/pyBasePython.cpp.o
Linking CXX shared module ../../../../lib/_ITKPyBasePython.so
[ 23%] Built target ITKPyBasePython
Scanning dependencies of target ITKCommonIdx
[ 23%] Generating ../../Typedefs/vcl_complex.idx
Traceback (most recent call last):
File
"/home/rashad/code/itk/ITK/Wrapping/Generators/SwigInterface/idx.py", line
28, in <module>
res = pygccxml_reader.read_xml_file(sys.argv[1])
File
"/home/rashad/code/itk/ITK/Wrapping/Generators/SwigInterface/pygccxml-1.0.0/pygccxml/parser/source_reader.py",
line 240, in read_xml_file
ffname = self.__file_full_name(gccxml_created_file)
File
"/home/rashad/code/itk/ITK/Wrapping/Generators/SwigInterface/pygccxml-1.0.0/pygccxml/parser/source_reader.py",
line 277, in __file_full_name
raise RuntimeError( "pygccxml error: file '%s' does not exist" % file )
RuntimeError: pygccxml error: file
'/home/rashad/build/itk/ITK_/Wrapping/Typedefs/vcl_complex.idx' does not
exist
make[2]: *** [Wrapping/Typedefs/vcl_complex.idx] Error 1
make[1]: *** [Wrapping/Modules/ITKCommon/CMakeFiles/ITKCommonIdx.dir/all]
Error 2
make: *** [all] Error 2
For cmake I had given
cmake -DITK_WRAPING=ON -DITK_WRAP_PYTHON=ON -DITK_USE_SYSTEM_SWIG=OFF
-DITK_WRAP_SWIGINTERFACE=ON
but ITK_WRAP_ ( GCCXML JAVA, RUBY, TCL ) are also OFF.
I dont need gccxml and it is off in my cmake configuration but I am getting
pygccxml error
Any ideas?
--
Regards,
Rashad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20140605/c9222647/attachment.html>
-------------- next part --------------
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Kitware offers ITK Training Courses, for more information visit:
http://kitware.com/products/protraining.php
Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ
Follow this link to subscribe/unsubscribe:
http://www.itk.org/mailman/listinfo/insight-developers
More information about the Community
mailing list