[gdal-dev] Windows build errors GDAL 3.3.1
Craig Delancy
cdelancy at blackfangtechnologies.com
Thu Aug 19 22:15:45 PDT 2021
Running the command fixed the problem and the build is now successful. Thank you.
-----Original Message-----
From: gdal-dev <gdal-dev-bounces at lists.osgeo.org> On Behalf Of gdal-dev-request at lists.osgeo.org
Sent: Thursday, August 19, 2021 3:00 PM
To: gdal-dev at lists.osgeo.org
Subject: gdal-dev Digest, Vol 207, Issue 14
Send gdal-dev mailing list submissions to
gdal-dev at lists.osgeo.org
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.osgeo.org/mailman/listinfo/gdal-dev
or, via email, send a message with subject or body 'help' to
gdal-dev-request at lists.osgeo.org
You can reach the person managing the list at
gdal-dev-owner at lists.osgeo.org
When replying, please edit your Subject line so it is more specific than "Re: Contents of gdal-dev digest..."
Today's Topics:
1. Re: Windows build errors GDAL 3.3.1 (Even Rouault)
----------------------------------------------------------------------
Message: 1
Date: Thu, 19 Aug 2021 01:24:54 +0200
From: Even Rouault <even.rouault at spatialys.com>
To: gdal-dev at lists.osgeo.org
Subject: Re: [gdal-dev] Windows build errors GDAL 3.3.1
Message-ID: <e5ced199-7e4e-a274-289a-0b99c1ab0191 at spatialys.com>
Content-Type: text/plain; charset="windows-1252"; Format="flowed"
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-0001.html>
------------------------------
Subject: Digest Footer
_______________________________________________
gdal-dev mailing list
gdal-dev at lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev
------------------------------
End of gdal-dev Digest, Vol 207, Issue 14
*****************************************
More information about the gdal-dev
mailing list