[Insight-developers] Error building current ITK and Python
wrapping with VC6
Brad King
brad.king at kitware.com
Thu Jun 3 08:45:20 EDT 2004
Charl P. Botha wrote:
> Dear developers,
>
> For the past week, attempting to build CVS ITK and its Python wrappings
> with VC6 (SP6) has yielded the attached error message. I have not been
> able to diagnose this. Does anyone else know what the problem could be?
>
> Thanks for any information,
> Charl
>
>
> ------------------------------------------------------------------------
>
> --------------------Configuration: _VXLNumericsPython - Win32 RelWithDebInfo----
> ----------------
> Building wrap_VXLNumericsPython.xml from c:\build\Insight\Wrapping\CSwig\VXLNum
> erics\wrap_VXLNumericsPython.cxx
> Building wrap_VXLNumericsPython.idx from C:\build\Insight-VC6\Wrapping\CSwig\VX
> LNumerics\wrap_VXLNumericsPython.idx.rule
> Building wrap_vnl_vector_ref.xml from c:\build\Insight\Wrapping\CSwig\VXLNumeri
> cs\wrap_vnl_vector_ref.cxx
> In file included from C:/Program Files/Microsoft Visual Studio/VC98/Include/xloc
> ale:12,
> from C:/Program Files/Microsoft Visual Studio/VC98/Include/xios
> base:9,
> from C:/Program Files/Microsoft Visual Studio/VC98/Include/xloc
> num:13,
> from C:/build/Insight-VC6/bin/Vc6/Include/streambuf:9,
> from C:/build/Insight-VC6/bin/Vc6/Include/ios:9,
> from C:/build/Insight-VC6/bin/Vc6/Include/ostream:9,
> from C:/build/Insight-VC6/bin/Vc6/Include/istream:9,
> from C:/build/Insight-VC6/bin/Vc6/Include/string:9,
> from C:/build/Insight-VC6/bin/Vc6/Include/sstream:9,
> from C:/Program Files/Microsoft Visual Studio/VC98/Include/comp
> lex:11,
> from c:/build/Insight/Utilities/vxl/vcl/win32-vc60/vcl_complex.
> h:31,
> from c:/build/Insight/Utilities/vxl/vcl/vcl_complex.h:30,
> $
> .h:30,
> from c:/build/Insight/Utilities/vxl/core/vnl/vnl_c_vector.h:25,
>
> from c:/build/Insight/Utilities/vxl/core/vnl/vnl_vector.h:19,
> from c:/build/Insight/Utilities/vxl/core/vnl/vnl_vector_ref.h:2
> 0,
> from c:/build/Insight/Wrapping/CSwig/VXLNumerics/wrap_vnl_vecto
> r_ref.cxx:17:
> C:/build/Insight-VC6/bin/Vc6/Include/typeinfo:101: error: `type_info' is
> already declared in this scope
> C:/build/Insight-VC6/bin/Vc6/Include/typeinfo:101: error: using declaration `
> type_info' introduced ambiguous type `std::type_info'
Okay, I've fixed this error. It was related to another change made to
fix a problem with MSVC 7.1. I had applied the fix to the MSVC 6
support in GCC-XML as well, but it looks like I did it a little
incorrectly. It should be fixed now.
-Brad
More information about the Insight-developers
mailing list