[Insight-users] ITK Build Failing

jmerkow jmerkow at gmail.com
Sat Nov 2 13:55:27 EDT 2013


I also get a number of these errors:


In file included from
/home/jameson/code/ITK/Modules/Core/Common/include/itkIndex.h:21:0,
                 from
/home/jameson/code/ITK/Modules/Filtering/LabelMap/include/itkLabelObjectLine.h:21,
                 from
/home/jameson/code/ITK/Modules/Filtering/LabelMap/include/itkLabelObject.h:23,
                 from
/home/jameson/code/ITK/Modules/Filtering/LabelMap/include/itkShapeLabelObject.h:21,
                 from
/home/jameson/code/ITK/Modules/Filtering/LabelMap/include/itkStatisticsLabelObject.h:21,
                 from
/home/jameson/code/ITKbin/Wrapping/Typedefs/ITKCommonExplicit.h:12,
                 from
/home/jameson/code/ITKbin/Wrapping/Modules/ITKCommon/itkOffsetExplicit.cxx:2:
/home/jameson/code/ITK/Modules/Core/Common/include/itkOffset.h: In
instantiation of ‘static itk::Offset<VOffsetDimension>
itk::Offset<VOffsetDimension>::GetBasisOffset(unsigned int) [with unsigned
int VOffsetDimension = 1u]’:
/home/jameson/code/ITKbin/Wrapping/Modules/ITKCommon/itkOffsetExplicit.cxx:7:47:  
required from here
/home/jameson/code/ITK/Modules/Core/Common/include/itkOffset.h:258:71:
error: ‘memset’ was not declared in this scope, and no declarations were
found by argument-dependent lookup at the point of instantiation
[-fpermissive]
   memset(ind.m_Offset, 0, sizeof( OffsetValueType ) * VOffsetDimension);
                                                                       ^
In file included from /usr/include/features.h:371:0,
                 from
/usr/include/x86_64-linux-gnu/c++/4.8/bits/os_defines.h:39,
                 from
/usr/include/x86_64-linux-gnu/c++/4.8/bits/c++config.h:426,
                 from /usr/include/c++/4.8/exception:37,
                 from /usr/include/c++/4.8/typeinfo:34,
                 from
/home/jameson/code/ITK/Modules/Core/Common/include/itkMacro.h:45,
                 from
/home/jameson/code/ITK/Modules/Core/Common/include/itkLightObject.h:21,
                 from
/home/jameson/code/ITK/Modules/Core/Common/include/itkObject.h:31,
                 from
/home/jameson/code/ITK/Modules/Core/Common/include/itkCommand.h:21,
                 from
/home/jameson/code/ITKbin/Wrapping/Typedefs/ITKCommonExplicit.h:11,
                 from
/home/jameson/code/ITKbin/Wrapping/Modules/ITKCommon/itkOffsetExplicit.cxx:2:
/usr/include/x86_64-linux-gnu/bits/string3.h:76:1: note: ‘void*
memset(void*, int, std::size_t)’ declared here, later in the translation
unit
 __NTH (memset (void *__dest, int __ch, size_t __len))






--
View this message in context: http://itk-users.7.n7.nabble.com/ITK-Build-Failing-tp32665p32666.html
Sent from the ITK - Users mailing list archive at Nabble.com.


More information about the Insight-users mailing list