[Geotiff] geotiff_i.lib not being created

Thom DeCarlo t.r.decarlo at larc.nasa.gov
Fri Dec 17 17:17:37 EST 2004


Hi Frank,
Well, the only thing I changed was to add the PROJ4 library so the
geotiff_proj4.c file would compile.

This is the output of the nmake:

        lib /out:geotiff.lib xtiff.obj  geo_free.obj  geo_get.obj
  geo_names.obj geo_new.obj  geo_print.obj  geo_set.obj  geo_tiffp.obj
  geo_write.obj  geo_extra.obj  geo_trans.obj  geo_normalize.obj
  geotiff_proj4.obj  cpl_csv.obj  cpl_serv.obj
Microsoft (R) Library Manager Version 7.10.3077
Copyright (C) Microsoft Corporation.  All rights reserved.

        link /dll /out:geotiff.dll /implib:geotiff_i.lib xtiff.obj
  geo_free.obj geo_get.obj  geo_names.obj  geo_new.obj  geo_print.obj
  geo_set.obj  geo_tiffp.obj  geo_write.obj  geo_extra.obj
  geo_trans.obj  geo_normalize.obj  geotiff_proj4.obj  cpl_csv.obj
  cpl_serv.obj ..\..\libtiff\libtiff\libtiff_i.lib
  ..\..\proj-4.4.8\src\proj_i.lib
Microsoft (R) Incremental Linker Version 7.10.3077
Copyright (C) Microsoft Corporation.  All rights reserved.

        cl -I. -Ilibxtiff -I..\..\libtiff\libtiff -I..\..\proj-4.4.8\src
 /MD /Ox /nologo bin\listgeo.c geotiff_i.lib
 ..\..\libtiff\libtiff\libtiff_i.lib ..\..\proj-4.4.8\src\proj_i.lib
listgeo.c
LINK : fatal error LNK1181: cannot open input file 'geotiff_i.lib'
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.

I tried adding a '/verbose' to the link line, but it produced big, heaping,
stinking, piles of output. :-/ I'm not sure yet what they mean, but I can
send them if you'd like.

Thanks,
Thom

--
Thom DeCarlo
------------------------------------------------------
              Experience is a wonderful thing
It allows you to recognize a mistake when you make it again.

> -----Original Message-----
> From: Frank Warmerdam
> Sent: Friday, December 17, 2004 4:50 PM
> To: Thom DeCarlo
> Subject: Re: [Geotiff] geotiff_i.lib not being created
> 
> Thom,
> 
> I am not sure why you have this problem.  I seem to have a pretty stock
> form of makefile.vc and the library portion of my build looks like the
> following, and makes the geotiff_i.lib:
> 
>         lib /out:geotiff.lib xtiff.obj  geo_free.obj  geo_get.obj
> geo_names.obj geo_new.obj  geo_print.obj  geo_set.obj  geo_tiffp.obj
> geo_write.obj geo_extra.obj  geo_trans.obj  geo_normalize.obj
> geotiff_proj4.obj  cpl_csv.obj cpl_serv.obj
> Microsoft (R) Library Manager Version 7.00.9466
> Copyright (C) Microsoft Corporation.  All rights reserved.
> 
>         link /dll /out:geotiff.dll /implib:geotiff_i.lib xtiff.obj
> geo_free.obj geo_get.obj  geo_names.obj  geo_new.obj  geo_print.obj
> geo_set.obj geo_tiffp.obj  geo_write.obj  geo_extra.obj  geo_trans.obj
> geo_normalize.obj geotiff_proj4.obj  cpl_csv.obj  cpl_serv.obj 
> ..\libtiff\libtiff\libtiff_i.lib
> Microsoft (R) Incremental Linker Version 7.00.9466
> Copyright (C) Microsoft Corporation.  All rights reserved.
> 
>    Creating library geotiff_i.lib and object geotiff_i.exp
> 
> Can you see anything different in what your build does?  This is VS.NET
> 2002 apparently.  So a bit out of date, but at least the same generation
> as what you would be running.
> 
> Best regards,
> --






More information about the Geotiff mailing list