No member named 'GetModifiableFunctor'
Description
Try to compile HyperspectralUnmixingExample.cxx and got the following error messages :
~/Examples/Tutorials/HyperspectralUnmixingExample.cxx: In function ‘int main(int, char**)’: ~/Examples/Tutorials/HyperspectralUnmixingExample.cxx:128:12: error: ‘itk::SmartPointer<otb::UnConstrainedLeastSquareImageFilter<otb::VectorImage<double, 2>, otb::VectorImage<double, 2>, double> >::ObjectType {aka class otb::UnConstrainedLeastSquareImageFilter<otb::VectorImage<double, 2>, otb::VectorImage<double, 2>, double>}’ has no member named ‘GetModifiableFunctor’; did you mean ‘GetFunctor’? unmixer->GetModifiableFunctor().SetMatrix(endMember2Matrix->GetMatrix()); ^~~~~~~~~~~~~~~~~~~~ GetFunctor
Steps to reproduce
add_executable(HyperspectralUnmixingExample HyperspectralUnmixingExample.cxx ) target_link_libraries(HyperspectralUnmixingExample ${OTB_LIBRARIES})
Configuration information
Ubuntu 18.04, OTB 6.6.1