[Insight-users] Notes on WrapITK under Windows
Gaëtan Lehmann
gaetan.lehmann at jouy.inra.fr
Tue Aug 7 10:33:34 EDT 2007
Hi,
Le 7 août 07 à 15:52, Ali - a écrit :
> Hi,
>
> I am not sure how mature WrapITK is at the moment, however, it
> seems that the authors were able to, at least, make it work. I have
> tried to compile WrapITK under windows xp 32-bit and visual studio
> 2005. I am writing the compilation porblems here, if the authors
> help to solve these, it could be a useful reference for other
> people trying to do the same compilation.
>
> (1) The linker complains about the debug version of the python
> library. Python for windows is not shipped with the debug library,
> however, it can be downloaded somewhere from http://
> www.activestate.com .
I never tried that - only a basic install of the binaries from python
website.
>
> (2) Compilation with the default cmake settings takes a long-long
> time generating over 3 Gb of binaries. Obviously, it will take a
> big-big memory to load all these libraries at run time. As ITK is
> continuously gworing, this will get worse and worse -- perhaps it
> is necessary to re-design the architecture of the wrapping mechanism.
sure.
The explicit instantiation may be a solution. We didn't get enough
time to experiment it with wrapitk though.
>
> (3) The compilation of finished with 122 warnings and 8 errors. the
> warnings are mainly C4804, possibly microsfot-related disasters,
> but safe to ignore. However, the errors are more concerning, I
> think this has been posted here before, but not resolved yet:
>
> Error 9 error C2248:
> 'itk::ReconstructionImageFilter<TInputImage,TOutputImage,TCompare>::En
> largeOutputRequestedRegion' : cannot access protected member
> declared in class
> 'itk::ReconstructionImageFilter<TInputImage,TOutputImage,TCompare>'
> e:\dev\itk\WrapITK-bin\Modules\Morphology
> \wrap_itkReconstructionByErosionImageFilterPython.cxx 2888
>
> Error 10 error C2248:
> 'itk::ReconstructionImageFilter<TInputImage,TOutputImage,TCompare>::En
> largeOutputRequestedRegion' : cannot access protected member
> declared in class
> 'itk::ReconstructionImageFilter<TInputImage,TOutputImage,TCompare>'
> e:\dev\itk\WrapITK-bin\Modules\Morphology
> \wrap_itkReconstructionByErosionImageFilterPython.cxx 6154
>
It looks more to an ITK bug than specifically a wrapitk one.
What ITK version are you using?
Are you using the wrapitk include in ITK?
Regards,
Gaëtan
--
Gaëtan Lehmann
Biologie du Développement et de la Reproduction
INRA de Jouy-en-Josas (France)
tel: +33 1 34 65 29 66 fax: 01 34 65 29 09
http://voxel.jouy.inra.fr
More information about the Insight-users
mailing list