[gdal-dev] how to build netCDF driver plugin
Even Rouault
even.rouault at spatialys.com
Thu Feb 24 09:53:32 PST 2022
- The filename is case sensitive: it must be gdal_netCDF.so/dll since
the registration function is called GDALRegister_netCDF()
- You need to set the GDAL_DRIVER_PATH environment variable to point to
the directory where the driver is
- You might find it easier when using master to use CMake: cmake
-DGDAL_ENABLE_DRIVER_NETCDF_PLUGIN:BOOL=ON . That will work on both
Linux and Windows
Le 24/02/2022 à 17:45, Fengting Chen a écrit :
>
> Under current build system, how to build netCDF driver as a plugin on
> linux and windows?
>
> On windows, when I set NETCDF_PLUGIN=YES, the gdal_netcdf.ddl was
> built. But gdalinfo still doesn’t show netcdf as a supported format.
>
> On linux, I changed the local makefile for netcdf and built
> gdal_netcdf.so. But gdalinfo doesn’t show netcdf as a supported format
> either.
>
> Any help would be appreciated.
>
> Thanks
>
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/gdal-dev
--
http://www.spatialys.com
My software is free, but my time generally not.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20220224/ae87ac99/attachment.html>
More information about the gdal-dev
mailing list