[gdal-dev] gdal static library build

Lavanya Subramaniam lavanya.aws at gmail.com
Wed Aug 19 07:44:05 PDT 2015


Hi there,

I have an application from which I am trying to access gdal library.
Everything works fine when I use the dynamic library and the dll but we
would like for it to work with static build, as it would help the delivery
of the software. The problem is the current application already uses
different libraries for tif, png and jpeg. So I am trying to avoid them in
the gdal static build as they cause linker errors because of duplication.
Has anyone done it? I am trying to build on a windows machine with vs10.
The software has to work on cross-platforms. I tried to manipulate the
nmake.opt file, to ignore tif, png and jpeg. Should I always provide the
external library location and include files for them as well? If anyone has
succeeded in doing something similar, please provide some directions.

Thanks,
lavanya
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20150819/4ab259d1/attachment.html>


More information about the gdal-dev mailing list