[Gdal-dev] Link error when building gdal on VC++6

Frank Warmerdam warmerdam at pobox.com
Thu Sep 9 15:01:56 EDT 2004


Pereira, Ricardo Scachetti wrote:
>    Creating library gdal_i.lib and object gdal_i.exp
> gdalallregister.obj : error LNK2001: unresolved external symbol
> _GDALRegister_CP
> G
> gdal12.dll : fatal error LNK1120: 1 unresolved externals
> NMAKE : fatal error U1077: 'link' : return code '0x460'
> Stop.
> 
> 
> 	When I move back to the last working copy I had (from 07/17/04)
> it builds fine.
> 	Does anyone know what is broken in the latest version in CVS?

Ricardo,

Sorry, cpgdataset.obj was missing from gdal/frmts/raw/makefile.vc.  I have
commited a fix for this, but you can easily add it manually and build again.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent




More information about the Gdal-dev mailing list