[gdal-dev] Windows build errors GDAL 3.3.1

Even Rouault even.rouault at spatialys.com
Wed Aug 18 16:24:54 PDT 2021


Craig,

did you update an existing git checkout ? If so, due to the lack of 
header dependency tracking in our nmake & GNUmakefile build systems, you 
generally have to "nmake /f makefile.vc clean" (or "make clean" on Unix) 
before rebuilding.

Even

Le 19/08/2021 à 01:21, Craig Delancy a écrit :
>
> 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?
>
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/gdal-dev

-- 
http://www.spatialys.com
My software is free, but my time generally not.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20210819/334383de/attachment.html>


More information about the gdal-dev mailing list