[gdal-dev] libgdal.o for including in a program

Tom Kazimiers 2voodoo at gmx.de
Fri May 23 03:27:26 EDT 2008

Hello Yann,

sure is this possible. I think all you have to do is: Get the sources, 
compile GDAL and you are left with the object files, etc. which you 
could again link in your project.


Yann Chemin schrieb:
> Hello,
> I am writing code for processing images using gdal library,
> and I do not have administrator access to the computers it is going to 
> run on.
> Those computers do not have gdal in them (and run Linux OS)
> I would like to get libgdal inside my code at compilation time.
> something like:
> gcc -o ndvigdal main.o ndvi.o libgdal.o
> if that is possible, please kindly suggest ways to get on track.
> Thanks,
> Yann
> -- 
> Yann Chemin
> International Rice Research Institute
> Office: http://www.irri.org/gis
> Perso: http://www.freewebs.com/ychemin
> ------------------------------------------------------------------------
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev

More information about the gdal-dev mailing list