GDAL 1.5.0
Step 01
Download the GDAL lib at http://www.gdal.org/ (version 1.5.0 - gdal150.zip).
Unpacking the zip file in:
C:\gdal
Step 02
Execute in the directory that was been unpacking:
C:\gdal\gdal-1.5.0>vcvars32.bat
Note: the path to vcvars32.bat must be specified. Usually it is:
C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin
Step 03
Open the nmake.opt file in a text editor.
C:\gdal\gdal-1.5.0\nmake.opt
Change the line:
GDAL_HOME = "C:\warmerda\bld"
to:
GDAL_HOME = "C:\gdal\gdal-1.5.0\bld"
* Note: If the enviromente variable was already defined comment the lines:
!IFNDEF GDAL_HOME
!ENDIF
The nmake.opt file will must be like that:
#!IFNDEF GDAL_HOME (-)
GDAL_HOME = "C:\omte\gdal\gdal-1.5.0\bld"
#!ENDIF
Change the line:
VCDIR = D:\Software\VStudio\VC98
to:
VCDIR = C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7
Step 04
Execute:
C:\gdal\gdal-1.5.0>submake.bat
Execute:
C:\gdal\gdal-1.5.0>nmake /f makefile.vc devinstall
Step 05
Make the enviromente variable:
GDAL_HOME = C:\gdal\gdal-1.5.0\bld