Undefined symbol (otbOGRIOHelper.ConvertGeometryToPolygonNode)
Description
We use otbOGRIOHelper.ConvertGeometryToPolygonNode in one of our OTB Application : with OTB 6.6, it fails with an "undefined symbol" error :
[tanguyy@visu01 test_2]$ otbcli_VectorDataEvaluation -in test_2_result.shp -ref buildings_from_LIDAR_small.shp -outstats stats.xml -matchthreshold 0.2 -ratethreshold 0.2 2018-05-28 08:56:20 (INFO): Default RAM limit for OTB is 128 MB 2018-05-28 08:56:20 (INFO): GDAL maximum cache size is 12854 MB 2018-05-28 08:56:20 (INFO): OTB will use at most 48 threads /work/logiciels/otb/rh7/6.6-python2/bin/otbApplicationLauncherCommandLine: symbol lookup error: /home/qt/tanguyy/BUILD/ImageToDBRegistration_ITK/lib/otb/applications/otbapp_VectorDataEvaluation.so: undef ined symbol: _ZNK3otb11OGRIOHelper28ConvertGeometryToPolygonNodeEPK11OGRGeometryN3itk12SmartPointerINS_8DataNodeIdLj2EdEEEE
Steps to reproduce
This application is linked with OTB 6.6
The ConvertGeometryToPolygonNode function is declared "inline" in the .cxx file (and not in the header file). We have a merge request that solves this problem.
Configuration information
OTB 6.6