[gdal-dev] Missing GDALMemDataset , GDALDatasetRasterIOEx , VSIMem when GDAL is built with CSHARP Bindings

Parveen Sharma sharma1981 at outlook.com
Fri Jan 31 04:55:48 PST 2025


Hi

I am building GDAL Master branch (https://github.com/OSGeo/gdal/tree/master/swig/csharp/apps) using CMAKE. I am using below flags to build the CSHARP Bindings

<arg value="-DBUILD_CSHARP_BINDINGS=ON"/>
<arg value="-DBUILD_APPS=ON"/>

However,


  1.
I notice that in "RelWithDebInfo" build mode there is NO "apps" folder generated in "RelWithDebInfo\swig\csharp" folder. I do see individual apps folder like "GDALCreateCopy", "GDALDatasetWrite", "GDALInfo" generated though. Is this expected?


  2.
I DO NOT see the any folder corresponding to GDALMemDataset , GDALDatasetRasterIOEx ,  VSIMem in my "RelWithDebInfo\swig\csharp" folder even though the source file is present at
https://github.com/OSGeo/gdal/blob/master/swig/csharp/apps/GDALMemDataset.cs
https://github.com/OSGeo/gdal/blob/master/swig/csharp/apps/GDALDatasetRasterIOEx.cs
https://github.com/OSGeo/gdal/blob/master/swig/csharp/apps/VSIMem.cs

Am I missing any additional CMAKE Flags. Can you please let me know?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20250131/e3fa303f/attachment.htm>


More information about the gdal-dev mailing list