[gdal-dev] Trouble installing gdal 1.6.1

Jeff McKenna jmckenna at gatewaygeomatics.com
Tue Jun 30 11:52:27 EDT 2009


Adeel Raza wrote:
> Hi,
> 
> I compiled gdal 1.6.1 for MSVC 9.0 and then I wrote the following 
> command to install the library files in the desired directory. I get the 
> following error:
> 
> D:\gdal-1.6.1> nmake /f makefile.vc install GDAL_HOME=D:\gdal
> 
> Microsoft (R) Program Maintenance Utility Version 9.00.30729.01
> Copyright (C) Microsoft Corporation.  All rights reserved.
> 
>       if exist gdal.lib del gdal.lib
>       lib /nologo /out:gdal.lib port\*.obj gcore\*.obj alg\*.obj 
> frmts\o\*.obj
> ogr\ogrsf_frmts\ogrsf_frmts.lib ogr\ogr.lib vb6\vb6_support.obj
> LINK : fatal error LNK1181: cannot open input file 'vb6\vb6_support.obj'
> NMAKE : fatal error U1077: '"C:\Softwares\Microsoft Visual C++ 2008 
> Express Edit
> ion\VC\BIN\lib.EXE"' : return code '0x49d'
> Stop.
> 
> 

Once you set the MSVC_VER value in the nmake.opt, then you can also set 
the install directory (see lines ~44-50)...set those, save, and execute 
'nmake /f makefile.vc' and then 'nmake /f makefile.vc install'.

-jeff


-- 
Jeff McKenna
FOSS4G Consulting and Training Services
http://www.gatewaygeomatics.com/




More information about the gdal-dev mailing list