[gdal-dev] Trouble enabling MBTiles Driver

Cory Foy foyc at flighttactics.com
Mon Nov 10 18:58:58 PST 2025


> On Nov 10, 2025, at 12:03 PM, Cory Foy <foyc at flighttactics.com> wrote:
> 
> I also don’t see it in the list of drivers using GDALGetDriver after calling GDALAllRegister():
> 
> ***Found 13 drivers
> ***Checking Driver 0: Virtual Raster
> ***Checking Driver 1: GeoTIFF
> ***Checking Driver 2: Cloud optimized GeoTIFF generator
> ***Checking Driver 3: Portable Network Graphics
> ***Checking Driver 4: In Memory raster, vector and multidimensional raster
> ***Checking Driver 5: Geospatial PDF
> ***Checking Driver 6: Geographic Network generic file based model
> ***Checking Driver 7: Geographic Network generic DB based model
> ***Checking Driver 8: ESRI Shapefile
> ***Checking Driver 9: GeoJSON
> ***Checking Driver 10: GeoJSON Sequence
> ***Checking Driver 11: ESRIJSON
> ***Checking Driver 12: TopoJSON
> 
> It does look like it’s enabled in the build, though (I’ll paste the build output below) but I wonder if some other driver I’m missing is not enabled which is causing it to not be enabled in the final build. Is there something I’m maybe missing here?

This was my clue that something was *not* right with my build. It turns out my build was fine, but I have to kind of finish the build loop to generate the actual .a file to include in the rest of my build steps if I want the changes to make it to my application. In other words, it helps to actually _build_ the output of the first cmake command if I want the library files.

Sorry for the noise!

Cory 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3965 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20251110/92a8efe6/attachment.bin>


More information about the gdal-dev mailing list