[Insight-users] ITK current CVS build error (CableSwig/Python wrapping)

Charl P. Botha c . p . botha at ewi . tudelft . nl
Sun, 23 Nov 2003 21:55:18 +0100


This is a multi-part message in MIME format.
--------------070501090107040904040007
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

I experienced (or rather my compiler did) the attached build error with 
a current Insight CVS checkout.  Is anyone else seeing this?  My 
compiler seems to be choking on the "using ::swap;" statement in the 
GCC_XML "string" header files.  I would appreciate any ideas on fixing this.

Software: Debian Linux 2.2 (Woody), gcc version 2.95.4 20011002
BTW, I couldn't find any gcc 2.95 builds on the dashboard to compare 
results.

Thanks,
Charl

-- 
charl p. botha http://cpbotha . net/ http://visualisation . tudelft . nl/

--------------070501090107040904040007
Content-Type: text/plain;
 name="itk-buildError20031123.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="itk-buildError20031123.txt"

Building object file wrap_VXLNumericsPythonPython.o...
Building shared module /home/cpbotha/DoNotBackup/build/Insight-gcc/bin/_VXLNumericsPython.so...
/home/cpbotha/DoNotBackup/build/Insight-gcc/Wrapping/CSwig/Common: building default_target
Building wrap_ITKCommonBase.xml from  /home/cpbotha/DoNotBackup/build/Insight-gcc/Wrapping/CSwig/Common/wrap_ITKCommonBase.xml...
In file included from /home/cpbotha/DoNotBackup/build/Insight/Code/Common/itkMacro.h:36,
                 from /home/cpbotha/DoNotBackup/build/Insight/Code/Common/itkSmartPointer.h:20,
                 from /home/cpbotha/DoNotBackup/build/Insight/Code/Common/itkLightObject.h:27,
                 from /home/cpbotha/DoNotBackup/build/Insight/Code/Common/itkObject.h:23,
                 from /home/cpbotha/DoNotBackup/build/Insight/Code/Common/itkCommand.h:20,
                 from /home/cpbotha/DoNotBackup/build/Insight/Wrapping/CSwig/Common/wrap_ITKCommonBase.cxx:21:
/home/cpbotha/DoNotBackup/build/Insight/Utilities/CableSwig/GCC_XML/Support/GCC/2.95/string:18: `swap'
   not declared
make[5]: *** [/home/cpbotha/DoNotBackup/build/Insight-gcc/Wrapping/CSwig/Common/wrap_ITKCommonBase.xml] Error 33
make[4]: *** [default_target] Error 2
make[3]: *** [default_target_Common] Error 2
make[2]: *** [default_target] Error 2
make[1]: *** [default_target_Wrapping_CSwig] Error 2
make: *** [default_target] Error 2

--------------070501090107040904040007--