<html>
<head>
<style>
P
{
margin:0px;
padding:0px
}
body
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body><div style="text-align: left;"><br></div><br><pre>Le 7 août 07 à 16:56, Ali - a écrit :<br> <br>><br>><br>><br>><br>><br>><br>> > ><br>> > > (1) The linker complains about the debug version of the python<br>> > > library. Python for windows is not shipped with the debug library,<br>> > > however, it can be downloaded somewhere from http://<br>> > > www.activestate.com .<br>> ><br>> > I never tried that - only a basic install of the binaries from <br>> python<br>> > website.<br>><br>> What python version did you use?<br> <br>python 2.5, and wrapitk built in Release mode<br> <br>> VS complains about not finding python24_d.lib, you<br>> may want to include Dan's trick so that it can be generated <br>> automatically.<br>><br>> ><br>> > ><br>> > > (2) Compilation with the default cmake settings takes a long-long<br>> > > time generating over 3 Gb of binaries. Obviously, it will take a<br>> > > big-big memory to load all these libraries at run time. As ITK is<br>> > > continuously gworing, this will get worse and worse -- perhaps it<br>> > > is necessary to re-design the architecture of the wrapping <br>> mechanism.<br>> ><br>> > sure.<br>> > The explicit instantiation may be a solution. We didn't get enough<br>> > time to experiment it with wrapitk though.<br>><br>> Could you explain more about this?<br>><br> <br>I think that the problem is this one : wrapitk instantiate a lot of <br>template specialization, but never reuse the common superclasses - <br>the super classes are built and built again in all the .o files.<br>The explicit instantiation would let us put those compiled <br>superclasses in a shared object, and reused that compiled code.<br> <br>> ><br>> > ><br>> > > (3) The compilation of finished with 122 warnings and 8 errors. <br>> the<br>> > > warnings are mainly C4804, possibly microsfot-related disasters,<br>> > > but safe to ignore. However, the errors are more concerning, I<br>> > > think this has been posted here before, but not resolved yet:<br>> > ><br>> > > Error 9 error C2248:<br>> > > <br>> 'itk::ReconstructionImageFilter<TInputImage,TOutputImage,TCompare>::En<br>> > > largeOutputRequestedRegion' : cannot access protected member<br>> > > declared in class<br>> > > <br>> 'itk::ReconstructionImageFilter<TInputImage,TOutputImage,TCompare>'<br>> > > e:\dev\itk\WrapITK-bin\Modules\Morphology<br>> > > \wrap_itkReconstructionByErosionImageFilterPython.cxx 2888<br>> > ><br>> > > Error 10 error C2248:<br>> > > <br>> 'itk::ReconstructionImageFilter<TInputImage,TOutputImage,TCompare>::En<br>> > > largeOutputRequestedRegion' : cannot access protected member<br>> > > declared in class<br>> > > <br>> 'itk::ReconstructionImageFilter<TInputImage,TOutputImage,TCompare>'<br>> > > e:\dev\itk\WrapITK-bin\Modules\Morphology<br>> > > \wrap_itkReconstructionByErosionImageFilterPython.cxx 6154<br>> > ><br>> ><br>> > It looks more to an ITK bug than specifically a wrapitk one.<br>> ><br>> > What ITK version are you using?<br>> > Are you using the wrapitk include in ITK?<br>><br>> InsightToolkit-3.2.0, following WrapITK documentation, I downloaded <br>> the source from<br>> your website a few days ago. this cannot be an ITK bug as ITK was <br>> compiled sucessfully.<br>><br> <br>Please use the one included in ITK - the website is outdated.<br> <br>Just set USE_WRAP_ITK to on with cmake, and rebuild itk.<br> <br>Gaëtan<br> <br>--</pre><br><br><br /><hr />Email straight to your blog, upload jokes, photos and more. <a href='http://specials.uk.msn.com/spaces/default.aspx ' target='_new'>Windows Live Spaces, it's FREE!</a></body>
</html>