[gdal-dev] Windows build errors GDAL 3.3.1

Craig Delancy cdelancy at blackfangtechnologies.com
Wed Aug 18 16:21:54 PDT 2021


When pulling and building the latest release from GitHub, there are several unresolved externals that halt the build.

1>   Creating library gdal_translate.lib and object gdal_translate.exp
1>gdal_d.lib(eedacommon.obj) : error LNK2019: unresolved external symbol "bool __cdecl CPLIsMachinePotentiallyGCEInstance(void)" (?CPLIsMachinePotentiallyGCEInstance@@YA_NXZ) referenced in function "protected: char * * __cdecl GDALEEDABaseDataset::GetBaseHTTPOptions(void)" (?GetBaseHTTPOptions at GDALEEDABaseDataset@@IEAAPEAPEADXZ)
1>gdal_d.lib(gdalhttp.obj) : error LNK2019: unresolved external symbol "void * __cdecl CPLHTTPSetOptions(void *,char const *,char const * const *)" (?CPLHTTPSetOptions@@YAPEAXPEAXPEBDPEBQEBD at Z) referenced in function "void __cdecl WMSHTTPInitializeRequest(struct WMSHTTPRequest *)" (?WMSHTTPInitializeRequest@@YAXPEAUWMSHTTPRequest@@@Z)
1>gdal_d.lib(gdalhttp.obj) : error LNK2019: unresolved external symbol "void * __cdecl CPLHTTPIgnoreSigPipe(void)" (?CPLHTTPIgnoreSigPipe@@YAPEAXXZ) referenced in function "enum CPLErr __cdecl WMSHTTPFetchMulti(struct WMSHTTPRequest *,int)" (?WMSHTTPFetchMulti@@YA?AW4CPLErr@@PEAUWMSHTTPRequest@@H at Z)
1>gdal_d.lib(gdalhttp.obj) : error LNK2019: unresolved external symbol "void __cdecl CPLHTTPRestoreSigPipeHandler(void *)" (?CPLHTTPRestoreSigPipeHandler@@YAXPEAX at Z) referenced in function "enum CPLErr __cdecl WMSHTTPFetchMulti(struct WMSHTTPRequest *,int)" (?WMSHTTPFetchMulti@@YA?AW4CPLErr@@PEAUWMSHTTPRequest@@H at Z)
1>gdal_translate.exe : fatal error LNK1120: 4 unresolved externals
1>NMAKE : fatal error U1077: 'cl' : return code '0x2'
1>Stop.

Is it possible I have misconfigured something in the build process?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20210818/ca4724f4/attachment-0001.html>


More information about the gdal-dev mailing list