[gdal-dev] Compiling gdal-svn-stable-2008.01.21 with libcurl support

Miguel Fernandes mgfernandes at ualg.pt
Mon Jan 21 18:53:37 EST 2008


Hello,

I'm compiling gdal version gdal-svn-stable-2008.01.21 with libcurl 
libcurl-7.15.1-msvc-win32-ssl-0.9.8a-zlib-1.2.3 support and netcdf 3.6.1 
using MC VC7.
I'm having a linkage error in function select in file gdalhttp.cpp, i've 
tried to look for the declaration of this function in the code but i'm 
not being able to find it, is it part of gdal code or i'm i missing some 
library, i've checked the includes and i seem to have them all. The 
output is the following:

  link /nologo /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  /IN
CLUDE:_OCTNewCoordinateTransformation at 8 /INCLUDE:_vbSafeArrayToPtr at 16 
port\*.obj gcore\*.obj alg\*.obj frmts\o\*.obj 
ogr\ogrsf_frmts\ogrsf_frmts.lib ogr\ogr.lib
 vb6\vb6_support.obj       odbc32.lib odbccp32.lib user32.lib           
C:\Programas\netCDF_3.6.1\lib\netcdf.lib               
C:\Programas\libs\libcurl\libcurl_imp.lib  gcore\Version.res  
/out:gdal15.dll /implib:gdal_i.lib

Creating library gdal_i.lib and object gdal_i.exp
gdalhttp.obj : error LNK2019: unresolved external symbol 
__imp__select at 20 referenced in function "enum CPLErr __cdecl 
CPLHTTPFetchMulti(struct CPLHTTPRequest *,
int,char const * const *)" 
(?CPLHTTPFetchMulti@@YA?AW4CPLErr@@PAUCPLHTTPRequest@
@HPBQBD at Z)

gdal15.dll : fatal error LNK1120: 1 unresolved externals

Can anyone point where i can find the declaration of this function or 
why the linker isn't finding it.
Thanks in advance.

-- 
/Miguel Fernandes
/*
**Projecto ERSTA*
CIMA - Centro de Investigação Marinha Ambiental
Campus de Gambelas
8005-139 Faro
Portugal

+351 289800995 ext.7574
mgfernandes at ualg.pt



More information about the gdal-dev mailing list