<div dir="ltr"><div>Hi,</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 21 Feb 2024 at 11:18, Michael Otto <<a href="mailto:michael.otto@data-experts.de">michael.otto@data-experts.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><br><span style="font-size:10pt;font-family:sans-serif">I've also tried
the problem with libtiff, but couldn't solve it. Thanks for the tip!</span> </blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"> </blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><span style="font-size:10pt;font-family:sans-serif">With "gdal[core,tools]"
the apps are now static. </span></blockquote><div><br></div><div>Excellent.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><span style="font-size:10pt;font-family:sans-serif">BUT I want to
use exactly what is still causing problems: SQLite for the creation of
MBTiles (possibly GPKG) .</span></blockquote><div><br></div><div>Inevitably!</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><br><span style="font-size:10pt;font-family:sans-serif">Is there perhaps
still a possibility to use SQLite3 in the static apps if I continue my
first attempt without vcpkg?</span></blockquote><div><br></div><div>I think it's possible: I chucked away my test container, but I vaguely recall it was in something in the sqlite ogr driver labelled "test"? There's a couple defined at the end of ogr/ogrsf_frmts/sqlite/CMakeLists.txt — it's possible commenting those blocks out will make the compile complete with [core,tools,sqlite3].  There may be some downsides: I don't know off the top of my head how the GDAL SQLite/GPKG integration works wrt exposing the necessary GDAL functions into SQLite. It might just work though :-) </div><div><br></div><div><div>You'll need to:</div><div>* copy the vcpkg/ports/gdal/ dir to custom-ports/gdal/</div><div>* add a patch with the change to the sqlite CMakeLists.txt file</div>* add your patch name to the top of custom-ports/gdal/portfile.cmake</div><div><br></div><div>You <i>probably</i> want to add [geos,png] as well. That might throw up some more fun.<br></div><div><br></div><div>Rob :)</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><font face="sans-serif"></font>
</blockquote></div></div>