[Insight-users] Python and ITK

Gaëtan Lehmann gaetan.lehmann at jouy.inra.fr
Sun Jul 2 07:37:08 EDT 2006


Selon Erik Anderson <eranders at cs.utah.edu>:

> Hi all,
>     I've been trying with no success to get WrapITK built and usable.  I
> have built ITK from cvs (the 2.6.0 branch) and it is wrapped for Python
> and I have verified that that is working properly.  I have tried using
> CMake versions 2.2 and 2.4 with MS Visual Studio 2003 .NET.
>     I am building in a new directory and running CMake on the WrapITK
> src directory.
> Upon running CMake, I get the following errors (and the errors never
> seem to be the same twice):
> Required internal CMake variable not set :  CMAKE_SIZEOF_VOID_P
> Warning:  CMake is forcing CMAKE_C_FLAGS_DEBUG to "/MDd /Zi /Od /GZ to
> match that imported from ITK.
> CMake Error:  Error in cmake code at c:\env\WrapITK\WrapITKTypes.cmake:37:
>       Unkown CMake command "WRAP_TEMPLATE"
> and then CMake crashes and exits with no other error messages
>
>

Hi,

Are you using the last WrapITK ?
If not you should try it:
http://voxel.jouy.inra.fr/darcs/contrib-itk/WrapITK/WrapITK.tar.gz . It is
known to build on windows, is in a pretty good shape and comes with lots of
improvements. It require ITK 2.8.
We were waiting for ITK 2.8.0 to publish a new version to the insight journal,
but I see that it is now available for download, so I will publish it in the
next days :-)

Please report any problem, so we can fix any problem before the release

Thanks,

Gaetan


More information about the Insight-users mailing list