[Insight-users] PyBuffer compile problems

Bradley Lowekamp blowekamp at mail.nih.gov
Mon Dec 3 21:50:44 EST 2012


Hello,

I drop the following ITK module into the Modules/External directory:

https://github.com/tobiasmaier/itkPyBuffer

the last time converted to and fro numpy with WrapITK.

Brad

On Dec 3, 2012, at 9:25 PM, Peter Forthmann <peterspamspam at gmx.de> wrote:

> Dear ITK experts,
> 
> I have successfully (at least it looks like it so far) compiled and installed ITK with Python wrapping.
> 
> Now I'm trying to compile PyBuffer in the Wrapping/ExternalProjects folder. After 75% progress I get the following error:
> 
> Traceback (most recent call last):
> File "/usr/local/lib/cmake/ITK-4.3/WrapITK/Configuration/Generators/SwigInterface/igenerator.py", line 560, in <module>
>   load_mdx(f)
> File "/usr/local/lib/cmake/ITK-4.3/WrapITK/Configuration/Generators/SwigInterface/igenerator.py", line 311, in load_mdx
>   f = file( file_name )
> IOError: [Errno 2] No such file or directory: '/usr/local/lib/cmake/ITK-4.3/WrapITK/Configuration/Typedefs/Base.mdx'
> make[2]: *** [Typedefs/itkPyBuffer.i] Error 1
> make[1]: *** [CMakeFiles/BufferConversionSwig.dir/all] Error 2
> make: *** [all] Error 2
> 
> Apparently Base.mdx is missing. I remember that I tried this a year ago or so with ITK4.1 and stumbled over the same problem. Can't be that I'm the only one trying to compile this since 4.1 and that there's eben an error like this that's still not fixed. What may I be doing wrong?
> 
> Thanks you guys.
> 
> Peter.
> _____________________________________
> 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://www.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-users



More information about the Insight-users mailing list