acil-bwh / ChestImagingPlatform

Chest Imaging Platform (CIP)
Other
55 stars 34 forks source link

COMP: Fix build error C2899: typename cannot be used outside a template decl #21

Closed jcfr closed 7 years ago

jcfr commented 7 years ago

This commit update ComputeStrainFromDeformationField CLI to fix Visual Studio 2013 build errors like the following:

D:\D\N\S-1-E-b\Chest_Imaging_Platform-build\CIP\CommandLineTools\ComputeStrainFromDeformationField\ComputeStrainFromDeformationField.cxx(53):
  error C2899: typename cannot be used outside a template declaration [D:\D\N\S-1-E-b\Chest_Imaging_Platform-build\CIP-build\CommandLineTools\ComputeStrainFromDeformationField\ComputeStrainFromDeformationFieldLib.vcxproj] [D:\D\N\S-1-E-b\Chest_Imaging_Platform-build\CIP.vcxproj]

See http://slicer.cdash.org/viewBuildError.php?buildid=1086191

jcfr commented 7 years ago

Thanks for merging.

No problem. I also have a topic fixing SlicerCIP. Stay tuned.