How to use GDAL plugin in another plugin

  • I am using the unreal gdal plugin in another new plugin named.

  • And basically in my new plugin, in the uplugin file i inserted
    “Plugins”: [
    {
    “Name”: “UnrealGDAL”,
    “Enabled”: true
    },

  • In the build,cs I included the dependency

     PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore", "XmlParser", "UMG", "UnrealGDAL"/*, "GDAL"*/ });
    
  • Then I make a variable in the new plugin named GDALDatasetRef heightmap1;

  • GDALDatasetRef heightmap = mergetiff::DatasetManagement::openDataset(std::string(TCHAR_TO_UTF8(*buildingShapeFilesPath1)));

  • And the following error prompted

  • Have any of u have any idea on this.

I try to build and use this pluging as well.Did you figured out ?