Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reason: Prior to C++17 one must provide the definition of the static constexpr member as well as the declaration. The declaration and the initializer go inside the class definition, but the member definition has to be separate. FAILED: bin/ITKCommon2TestDriver Undefined symbols for architecture x86_64: "itk::BSplineInterpolationWeightFunction<float, 2u, 1u>::SupportSize", referenced from: itk::BSplineInterpolationWeightFunction<float, 2u, 1u>::GetSupportSize() const in itkBSplineInterpolationWeightFunctionTest.cxx.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) [1081/1334] Building CXX object Modules/Registration/RegistrationMethodsv4/test/CMakeFiles/ITKRegistrationMethodsv4TestDriver.dir/itkSimpleImageRegistrationTestWithMaskAndSampling.cxx.o ninja: build stopped: subcommand failed.
- Loading branch information