[Insight-users] compile errors building latest python binding.

Ara.T.Howard Ara.T.Howard at noaa.gov
Fri Oct 7 10:28:37 EDT 2005


i'm trying to build the itk python bindings.  i downloaded the latest itk and
checked out cableswig into the Utilities dir.  i went through cmake -i and
configured appropriately.  no errors.  when i run make i get:

   jib:~/build/InsightToolkit-2.2.0 > make
   Generating Python/itk_compile_complete
   Listing /home/ahoward/build/InsightToolkit-2.2.0/Wrapping/CSwig/Python ...
   Listing /home/ahoward/build/InsightToolkit-2.2.0/Wrapping/CSwig/Python/CVS ...
   Listing /home/ahoward/build/InsightToolkit-2.2.0/Wrapping/CSwig/Python/InstallOnly ...
   ...
   Scanning dependencies of target ITKMetaIO
   Building CXX object Utilities/MetaIO/CMakeFiles/ITKMetaIO.dir/metaArrow.o
   Utilities/MetaIO/metaArrow.cxx:7:23: metaUtils.h: No such file or directory
   Utilities/MetaIO/metaArrow.cxx:8:24: metaObject.h: No such file or directory
   Utilities/MetaIO/metaArrow.cxx:9:23: metaArrow.h: No such file or directory
   Utilities/MetaIO/metaArrow.cxx:14: syntax error before `::' token
   Utilities/MetaIO/metaArrow.cxx:19: ISO C++ forbids declaration of `Clear' with
   ...
   ...
   ...
   ...

so it seems the attempt to build the python binding blows up building
dependancy metaio?  looks like a simple include path issue - but i wanted to
see if this is a know issue or i'm missing something fundemental before digging
in...

cheers.


-a
-- 
===============================================================================
| email :: ara [dot] t [dot] howard [at] noaa [dot] gov
| phone :: 303.497.6469
| Your life dwells amoung the causes of death
| Like a lamp standing in a strong breeze.  --Nagarjuna
===============================================================================



More information about the Insight-users mailing list