[Insight-users] ITK/Python Compile error

Bruno Cassaro bcdalava at cenpra.gov.br
Fri Dec 10 09:40:24 EST 2004


Hi Derek,

There is a simple way to solve your problem , I work with python too and I had the same error here.  I solved it  in the following way. This problem is happing because Microsoft Visual Studio 6.0 sp6 has a limitation in the comand line extent. So, to solve this, you will need to change your source and destination directory to something like this:

Before                                                                                             After

Destination =>C:\Compilaton-1.8.1\InsightToolkit-1.8.1_bin                             C:\C\in

Source =>C:\Compilation-1.8.1\InsightToolkit-1.8.1                                          C:\C\in_bin





With a shorter path the comand line in VS will be shorter so error will not appear , but is a little approach. The right thing to do will be set a parameter to increse the extention of the line comand. But I don´t know where I set this. Can anyone help us with this !???!



Bruno Cassaro



>Hi everyone,
>
>I've been trying to compile today's CVS version of ITK with python wrapping on WinXP using VC6.0 and am getting the following error near the end of the build:
>
>Warning itk::VoronoiSegmentationImageFilter<itk::Image<unsigned char, 2>,itk::Image<unsigned char, 2>,itk::Image<unsigned char, 2> >
>has a class hierarchy that has wrapping gaps.
>The class hierarchy wrapping is as follows:
>Not wrapped: itk::VoronoiSegmentationImageFilterBase<(itk::Image<(unsigned char,2)>,itk::Image<(unsigned char,2)>,itk::Image<(unsigned char,2)>)>
>   Wrapped: itk::ImageToImageFilter<(itk::Image<(unsigned char,2)>,itk::Image<(unsigned char,2)>)>
>   Wrapped: itk::ImageSource<(itk::Image<(unsigned char,2)>)>
>   Wrapped: itk::ProcessObject
>   Wrapped: itk::Object
>   Wrapped: itk::LightObject
>Error executing c:\windows\system32\cmd.exe.
>
>
>On the dashboard the "zion.kitware, Linux-g++-3.3-Python", I see the warning and everything up to the error value, but I don't see the warnings shown on the "terminus.kitware Windows-devenv-Python".  Has anyone run into this problem OR successfully build python wrapping using VC6.0 on WinXP?
>
>Any help is appreciated.
>
>Derek
>_______________________________________________
>Insight-users mailing list
>Insight-users at itk.org
>http://www.itk.org/mailman/listinfo/insight-users



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20041210/e37fe632/attachment.htm


More information about the Insight-users mailing list