[Gdal-dev] Link error on Windows XP64

Anders Moe anders.moe at geocap.no
Fri Sep 1 05:15:24 EDT 2006


Hi all

 

I'm building gdal 1.3.2  in a win 64XP using MSVC 2005. However, I'm getting
linking errors, given below. Can anyone see whats wrong ? This is my first
time building gdal, and I find it rather difficult to navigate all the
makefiles etc. 

 

Thanks, 

 

Anders

 

 

--- - - - - - 

 

C:\Documents and Settings\Anders\My Documents\src\gdal-1.3.2\frmts>cd netcdf
&& nmake /NOLOGO /f makefile.vc   && cd .. 

            copy *.obj ..\o

gmtdataset.obj

netcdfdataset.obj

        2 file(s) copied.

            cd ..

            cd vb6

            nmake /nologo /f makefile.vc

            cd ..

            if exist gdal.lib del gdal.lib

            lib /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

Microsoft (R) Library Manager Version 8.00.50727.42

Copyright (C) Microsoft Corporation.  All rights reserved.

 

ogrsf_frmts.lib(parsexsd.obj) : warning LNK4221: no public symbols found;
archive member will be inaccessible

            link /dll /debug /INCLUDE:_OGRFeatureStylePuller
/INCLUDE:_OSRValidate  /INCLUDE:_OPTGetProjectionMethods
/INCLUDE:_OGR_G_GetPointCount  /INCLUDE:_OGRRegisterAll
/INCLUDE:_GDALSimpleImageWarp at 36  /INCLUDE:_GDALReprojectImage at 48
/INCLUDE:_GDALComputeMedianCutPCT at 32  /INCLUDE:_GDALDitherRGB2PCT at 28
/INCLUDE:_vbSafeArrayToPtr at 16  /INCLUDE:_OCTNewCoordinateTransformation at 8
port\*.obj gcore\*.obj alg\*.obj frmts\o\*.obj
ogr\ogrsf_frmts\ogrsf_frmts.lib ogr\ogr.lib vb6\vb6_support.obj
odbc32.lib           "C:\Documents and Settings\Anders\My
Documents\src\netcdf-3.6.1\src\win32\NET\x64\debug\netcdf.lib"
gcore\Version.res  /out:gdal13.dll /implib:gdal_i.lib 

Microsoft (R) Incremental Linker Version 8.00.50727.42

Copyright (C) Microsoft Corporation.  All rights reserved.

 

   Creating library gdal_i.lib and object gdal_i.exp

LINK : error LNK2001: unresolved external symbol
_OCTNewCoordinateTransformation at 8

LINK : error LNK2001: unresolved external symbol _vbSafeArrayToPtr at 16

LINK : error LNK2001: unresolved external symbol _GDALDitherRGB2PCT at 28

LINK : error LNK2001: unresolved external symbol _GDALComputeMedianCutPCT at 32

LINK : error LNK2001: unresolved external symbol _GDALReprojectImage at 48

LINK : error LNK2001: unresolved external symbol _GDALSimpleImageWarp at 36

LINK : error LNK2001: unresolved external symbol _OGRRegisterAll

LINK : error LNK2001: unresolved external symbol _OGR_G_GetPointCount

LINK : error LNK2001: unresolved external symbol _OPTGetProjectionMethods

LINK : error LNK2001: unresolved external symbol _OSRValidate

LINK : error LNK2001: unresolved external symbol _OGRFeatureStylePuller

gdal13.dll : fatal error LNK1120: 11 unresolved externals

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20060901/a81dcdaf/attachment.html


More information about the Gdal-dev mailing list