[gdal-dev] [GDAL 1.5.1] How to build and run GDAL 1.5.1 on windows

Mateusz Loskot mateusz at loskot.net
Fri Aug 8 09:52:09 EDT 2008

Lucena, Ivan wrote:
> Friends,
> I would like to exchange my experience on the VS debugging part, if I may.
> [...]


Your notes are very helpful. Belongs to the Wiki :-)

> One note about environment variables, VS2003 doesn't have one entry for 
> "Environment" on the Project Property Pages, VS2005 does.

Ups, my fault. I've forgot how it is with VS2003

> But you can 
> always set them directly on windows. Just remember to close and open 
> VS2003 again so that it will catch the changes.

I think another option is to launch Visual Studio from cmd line

C: \> find an vsvars32.bat
C: \> set MY_ENV_VAR=foo
C: \> devenv.exe makegdal71.sln

Then MY_ENV_VAR is available in the VS env.

Best regards,
Mateusz Loskot, http://mateusz.loskot.net
Charter Member of OSGeo, http://osgeo.org

More information about the gdal-dev mailing list