[gdal-dev] Is there a way to build GDAL without FreeType?

Craig Delancy cdelancy at blackfangtechnologies.com
Sat Apr 25 12:40:36 PDT 2020


(Windows 10, 64-bit)

Is there a way to compile GDAL (3.0.4) without the dependency on FreeType?
I am trying to integrate the GDAL libraries into an existing software, which itself already links to FreeType2. This causes a series of conflicts such as:

freetype.lib(ftbase.obj) : error LNK2005: FT_DivFix already defined in gdal_i.lib(gdal300.dll)

These prevent me from being able to link GDAL and compile the executable. Is there a way to remove the dependency, or another way to resolve the multiple definitions?
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20200425/6b54d5d4/attachment.html>


More information about the gdal-dev mailing list