Open GoogleCodeExporter opened 9 years ago
Could you attach the file ITKCommonBase.i to this bug?
It would let me see where those warning come from and if they can be safely
disabled.
Original comment by gaetan.l...@gmail.com
on 8 Feb 2011 at 9:45
I attached the ITKCommonBase.i together with the complete BuildLog.
I also tried disabling the warnings in WrapITK/Languages/Python/CMakeLists.txt
by adding -w350 -w394 -w395 to the two definitions of SWIG calls. Compilation
succeeded. I'm not sure how to test the Python wrappers, though. Is there any
unit-testing done on the python side? What does work is this (in IPython):
In [5]: import itk
In [6]: itk?
Type: LazyITKModule
Base Class: <class 'itkLazy.LazyITKModule'>
String Form: <module 'itk' (built-in)>
Namespace: Interactive
File:
d:\programming\cc\install\vs09x32_shared_release\lib\insighttoolkit-4.0\wrapitk\
python\itklazy.py
Docstring:
<no docstring>
Class Docstring:
Subclass of ModuleType that implements a custom __getattribute__ method
to allow lazy-loading of attributes from ITK sub-modules.
In [7]: im = itk.Image[itk.F, 3]
In [8]: im?
Type: type
Base Class: <type 'type'>
String Form: <class 'itkImagePython.itkImageF3'>
Namespace: Interactive
File:
d:\programming\cc\install\vs09x32_shared_release\lib\insighttoolkit-4.0\wrapitk\
lib\itkimagepython.py
Docstring:
Proxy of C++ itkImageF3 class
Constructor information:
Definition: im(self, *args, **kwargs)
Original comment by maddin@gmail.com
on 8 Feb 2011 at 1:37
Attachments:
you can run the tests by building the target RUN_TESTS in visual studio, or by
running
ctest -C Release
in the ITK build tree root.
I don't have those methods at all on my linux build, so I'd say it's safe to
ignore them.
Would you agree to submit your changes to gerrit?
Original comment by gaetan.l...@gmail.com
on 8 Feb 2011 at 3:34
Done. Hope it works.
Original comment by maddin@gmail.com
on 8 Feb 2011 at 4:54
Original issue reported on code.google.com by
maddin@gmail.com
on 8 Feb 2011 at 9:39