HomePhabricator

Merge branch 'T25506-portRAP'

Description

Merge branch 'T25506-portRAP'

Details

Provenance
hentschAuthored on Oct 17 2018, 3:08 PM
hentschPushed on Oct 17 2018, 3:09 PM
Parents
rMPd253c24681fb: Added JOM Plastimatch BSpline algorithm
rMPdc0753f245b4: Fixed Linux error for T24863
Branches
Unknown
Tags
Unknown

Event Timeline

@hentsch I get build errors with the current master (in ubuntu), without your commit everything is fine.
Do I have to change something with cmake flags?
The last lines before failure:
/home/hanno/myDocker/Matchpoint/src/Code/Algorithms/ITK/boxed/mapITKRigid3DMattesMIHeadNeckRegistrationAlgorithmTemplate.tpp:128:25: error: ‘zSize’ was not declared in this scope

region.SetIndex(2, zSize / 3);
                   ^~~~~

/home/hanno/myDocker/Matchpoint/src/Code/Algorithms/ITK/boxed/mapITKRigid3DMattesMIHeadNeckRegistrationAlgorithmTemplate.tpp:139:11: error: ‘spInitializer’ was not declared in this scope

spInitializer->SetMovingImage(this->getInternalMovingImage());
^~~~~~~~~~~~~

/home/hanno/myDocker/Matchpoint/src/Code/Algorithms/ITK/boxed/mapITKRigid3DMattesMIHeadNeckRegistrationAlgorithmTemplate.tpp:139:11: note: suggested alternative: ‘InitializerType’

spInitializer->SetMovingImage(this->getInternalMovingImage());
^~~~~~~~~~~~~
InitializerType

[77/125] Building CXX object Code/IO/C...dir/source/mapGenericImageReader.cpp.o
ninja: build stopped: subcommand failed.

@hentsch I get build errors with the current master (in ubuntu), without your commit everything is fine.
Do I have to change something with cmake flags?
The last lines before failure:
/home/hanno/myDocker/Matchpoint/src/Code/Algorithms/ITK/boxed/mapITKRigid3DMattesMIHeadNeckRegistrationAlgorithmTemplate.tpp:128:25: error: ‘zSize’ was not declared in this scope

region.SetIndex(2, zSize / 3);

There is a typename missing in the line above:

typename ROIFilterType::RegionType::SizeValueType zSize

/home/hanno/myDocker/Matchpoint/src/Code/Algorithms/ITK/boxed/mapITKRigid3DMattesMIHeadNeckRegistrationAlgorithmTemplate.tpp:139:11: error: ‘spInitializer’ was not declared in this scope

spInitializer->SetMovingImage(this->getInternalMovingImage());
^~~~~~~~~~~~~

Same here in line 122. Should be:

typename InitializerType::Pointer spInitializer = InitializerType::New();