[Insight-users] Help with Python wrapping on either Linux or Cygwin

Nicolaus Andratschke koegli at yahoo.com
Wed Jan 5 05:20:58 EST 2005


Hi there,

I still desperately try to get python wrapping
running.

1) On SuSe 9.1 (gcc 3.3.3) with the CVS-checkout from
4.1.2005 an cmake1.8.3 I get the following internal
compiler error in wrap_vnl_matrix.xml:

/home/koegli/Installation/Visualization/ITK/Insight-Bin/Wrapping/CSwig/VXLNumerics:
building default_target
Building wrap_vnl_matrix.xml from 
/home/koegli/Installation/Visualization/ITK/Insight-Bin/Wrapping/CSwig/VXLNumerics/wrap_vnl_matrix.xml...
In file included from /usr/include/g++/complex:49,
                 from
/home/koegli/Installation/Visualization/ITK/Insight/Utilities/vxl/vcl/iso/vcl_complex.h:6,
                 from
/home/koegli/Installation/Visualization/ITK/Insight/Utilities/vxl/vcl/vcl_complex.h:62,
                 from
/home/koegli/Installation/Visualization/ITK/Insight/Wrapping/CSwig/VXLNumerics/wrap_vnl_matrix.cxx:17:
/usr/include/g++/bits/cpp_type_traits.h:71: internal
compiler error: in 
   nth_token, at cp/spew.c:450
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for
instructions.
make[5]: ***
[/home/koegli/Installation/Visualization/ITK/Insight-Bin/Wrapping/CSwig/VXLNumerics/wrap_vnl_matrix.xml]
Fehler 1
make[4]: *** [default_target] Fehler 2
make[3]: *** [default_target_VXLNumerics] Fehler 2
make[2]: *** [default_target] Fehler 2
make[1]: *** [default_target_Wrapping_CSwig] Fehler 2
make: *** [default_target] Fehler 2

2) I switched to the latest cygwin installation on
windows and there the compilation breaks when trying
to link the _ITKCommonPython.dll with the following
error:

Building shared module
/home/Nicolaus/Programming/Insight-Bin/bin/_ITKCommonPython.dll...
wrap_ITKCommonBasePython.o(.text+0x9277):wrap_ITKCommonBasePython.cxx:
undefined reference to `__imp___ZTVN3itk7VersionE'
wrap_ITKCommonBasePython.o(.text+0x26df7):wrap_ITKCommonBasePython.cxx:
undefined reference to
`__imp___ZTVN3itk13DynamicLoaderE'
collect2: ld returned 1 exit status
make[1]: ***
[/home/Nicolaus/Programming/Insight-Bin/bin/_ITKCommonPython.dll]
Error 1
make: *** [default_target] Error 2

3) Is the python wrapping for cygwin still broken as
it was for the 1.8 branch? Is there a reference linux
system on which it is possible to compile ITK with
full python wrapping.

Any help is highly appreciated...

NIC


		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - Helps protect you from nasty viruses. 
http://promotions.yahoo.com/new_mail


More information about the Insight-users mailing list