[gdal-dev] failed using with GPKG driver

beng in epiciskandar at gmail.com
Thu Jul 18 05:45:42 PDT 2019


Hi, I compiled GDAL 2.3.3 under Windows/MSVC_VER=1910 with nmake.opt almost
unchaned, everything looks fine, the gdal.dll and bunch of exe files
succeesfully generated.
but when I tried to use gdal such like:

(c++)
GDALAllRegister();
auto ds(GDALDataset::Open("filepath/to/a/.gpkg",
GDAL_OF_VECTOR|GDAL_OF_VERBOSE_ERROR, nullptr,....))

it failed, ds is NULL. with error msg, gdal told that the file not
recognized as a supported file format.
and then I tried run "ogrinfo.exe --formats", cannot found GPKG/GEOPKG.
so, am I wrong in any step with compile or misuse? thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20190718/541a3450/attachment.html>


More information about the gdal-dev mailing list