[ 25%] Building CXX object CMakeFiles/fit-asm.dir/src/itkFitASM.cxx.o
In file included from <myPath>/src/itkFitASM.cxx:14:0:
<myPath>/src/ASM/itkASMFitting.h:70:35: error: ‘std::shared_ptr’ has not been declared
void SetInternalData(std::shared_ptr<ASMMeshOperations> asmMeshOperations, ImplType statismoResult, ModelPointerType model) {
^
<myPath>/src/ASM/itkASMFitting.h:70:45: error: expected ‘,’ or ‘...’ before ‘<’ token
void SetInternalData(std::shared_ptr<ASMMeshOperations> asmMeshOperations, ImplType statismoResult, ModelPointerType model) {
^
In file included from <myPath>/src/itkFitASM.cxx:14:0:
<myPath>/src/ASM/itkASMFitting.h:95:14: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type
std::shared_ptr<ASMMeshOperations> m_meshOperations;
^
<myPath>/src/ASM/itkASMFitting.h: In member function ‘void itk::ASMFittingResult<TPointSet, TImage>::SetInternalData(int)’:
<myPath>/src/ASM/itkASMFitting.h:71:13: error: ‘m_meshOperations’ was not declared in this scope
m_meshOperations = asmMeshOperations;
^
<myPath>/src/ASM/itkASMFitting.h:71:32: error: ‘asmMeshOperations’ was not declared in this scope
m_meshOperations = asmMeshOperations;
^
<myPath>/src/ASM/itkASMFitting.h:72:23: error: ‘model’ was not declared in this scope
m_model = model;
^
<myPath>/src/ASM/itkASMFitting.h:73:32: error: ‘statismoResult’ was not declared in this scope
m_statismoResult = statismoResult;
^
<myPath>/src/ASM/itkASMFitting.h: In member function ‘typename TPointSet::Pointer itk::ASMFittingResult<TPointSet, TImage>::GetMesh()’:
<myPath>/src/ASM/itkASMFitting.h:90:20: error: ‘m_meshOperations’ was not declared in this scope
return m_meshOperations->TransformMesh(instance, GetRigidTransformation());
^
<myPath>/src/ASM/itkASMFitting.h: At global scope:
<myPath>/ASM/itkASMFitting.h:169:14: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type
std::shared_ptr<ASMMeshOperations> m_asmOperations;
^
<myPath>/src/ASM/itkASMFitting.h: In constructor ‘itk::ASMFittingStep<TPointSet, TImage>::ASMFittingStep()’:
<myPath>/src/ASM/itkASMFitting.h:127:28: error: class ‘itk::ASMFittingStep<TPointSet, TImage>’ does not have any field named ‘m_asmOperations’
ASMFittingStep() : m_asmOperations(new ASMMeshOperations()), m_model(0), m_target(0), m_configuration(0, 0, 0), m_transform(0) { }
^
<myPath>/src/ASM/itkASMFitting.h: In member function ‘void itk::ASMFittingStep<TPointSet, TImage>::Update()’:
<myPath>/src/ASM/itkASMFitting.h:154:47: error: ‘m_asmOperations’ was not declared in this scope
ImplType *impl = ImplType::Create(m_asmOperations.get(), m_configuration, m_model->GetstatismoImplObj(), m_coeffs, m_transform,
^
In file included from /media/ibr/Ohome/ibr/sw/XXXstatismo-asm/src/itkFitASM.cxx:12:0:
<myPath>/src/ASM/itkASMIdentityImagePreprocessor.h: In instantiation of ‘typename statismo::ASMPreprocessedImage<TPointSet>::ImageType itk::ASMIdentityPreprocessedImage<TPointSet, TImage>::GetType() const [with TPointSet = itk::Mesh<float, 3u>; TImage = itk::Image<float, 3u>; typename statismo::ASMPreprocessedImage<TPointSet>::ImageType = statismo::ASMPreprocessedImage<itk::Mesh<float, 3u> >::ImageType]’:
<myPath>/src/itkFitASM.cxx:134:1: required from here
<myPath>/src/ASM/itkASMIdentityImagePreprocessor.h:68:74: error: ‘Intensity’ is not a member of ‘statismo::ASMPreprocessedImage<itk::Mesh<float, 3u> >::ImageType’
return statismo::ASMPreprocessedImage<TPointSet>::ImageType::Intensity;
^
make[2]: *** [CMakeFiles/fit-asm.dir/src/itkFitASM.cxx.o] Error 1
make[1]: *** [CMakeFiles/fit-asm.dir/all] Error 2
make: *** [all] Error 2