[gdal-dev] How to compile gdal 1.9.1 from GDAL'S SVN ?

Saâd HESSANE saad.hessane at gmail.com
Fri Jul 13 05:08:51 PDT 2012


To build GDAL it's easy. Visual Studio have to be installed in the system.
You download the source code. The easiest way to do that is to download it
from http://trac.osgeo.org/gdal/wiki/DownloadSource. (Or if you have SVN
you can just do a checkout from https://svn.osgeo.org/gdal/trunk/gdal. If
you don't know what I'm talking about forget that last part :D).
After that you open Visual Studio Command Line (Start Menu -> All programs
-> Microsoft Visual Studio -> Visual Studio Tools -> Visual Studio Command
line ).
You go to the gdal source folder "cd GDAL_PATH" with GDAL_PATH is the path
of your gdal folder.
And you do "nmake -f makefile.vc".

This is the easiest way. You can open the nmake.opt file before building
gdal to enable/disable some fonctionality, or to build 64-bit version.

I'm never build QGIS from source, I can't help you on that sorry.

Best regards.

2012/7/13 laurent celati <lcelati at latitude-geosystems.com>

> Hello,
> I would like compile gdal 1.9.1 from GDAL'S SVN then compile Qgis 1.8 from
> source using Gdal SVN version. I'm working on Windows 7 64bits.
> I am not in the habit of compiling software
> I did not used to compile software. Can you tell me how to do please?
> --
> View this message in context:
> http://osgeo-org.1560.n6.nabble.com/How-to-compile-gdal-1-9-1-from-GDAL-S-SVN-tp4988197.html
> Sent from the GDAL - Dev mailing list archive at Nabble.com.
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20120713/1e5086cc/attachment.html>

More information about the gdal-dev mailing list