Add missing include and fix compilation on windows
In otbSARDerampImageFilter
there is a missing include (otbVectorImageFilter
) which causes otb CI to fail.
Also the master version of diapOTB doesn't compile on windows (MSVC) because of a C-array with a length defined at run time, which is non standard in C++, even it is allowed by gcc.
This MR adds fixes for these two issues.
See also these otb CI pipelines:
- with the master branch of diapotb : https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/pipelines/2687
- with the fixes : https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/pipelines/2691