[gdal-dev] Compiling GDAL with Visual Studio 2015

Even Rouault even.rouault at spatialys.com
Fri Jul 1 17:23:12 PDT 2016


Le samedi 02 juillet 2016 02:13:03, vous avez écrit :
> Hi, Even.  Thank you for your response.  Yes, I uncommented out this line
> in the nmake.opt file, and I used the "WIN64=yes" nmake command-line
> argument.
> 

And MSVC_VER=1900 ?
Make sure to clean before rebuilding if you change options

Here's a successful build on AppVeyour in case that helps:
https://ci.appveyor.com/project/rouault/gdal-coverage/build/1.0.5162/job/7np9al6m0uriphp1

> Thank you,
> Chris
> 
> -----Original Message-----
> From: Even Rouault [mailto:even.rouault at spatialys.com]
> Sent: Friday, July 01, 2016 6:10 PM
> To: gdal-dev at lists.osgeo.org
> Cc: Christopher McGeorge <cmcgeorge at surgeforward.com>
> Subject: Re: [gdal-dev] Compiling GDAL with Visual Studio 2015
> 
> Le samedi 02 juillet 2016 01:57:10, Christopher McGeorge a écrit :
> > Hi.  Has anyone been able to build 64-bit GDAL 2.1 using Visual Studio
> > 2015? I keep getting the following errors that I have not been able to
> 
> > resolve:
> Did you define WIN64=YES in nmake.opt/nmake.local ?
> 
> > LINK : error LNK2001: unresolved external symbol
> > OCTNewCoordinateTransformation
> > 
> > LINK : error LNK2001: unresolved external symbol GDALDitherRGB2PCT
> > 
> > LINK : error LNK2001: unresolved external symbol
> > GDALComputeMedianCutPCT
> > 
> > LINK : error LNK2001: unresolved external symbol GDALReprojectImage
> > 
> > LINK : error LNK2001: unresolved external symbol GDALSimpleImageWarp
> > 
> > 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
> > 
> > gdal201.dll : fatal error LNK1120: 9 unresolved externals
> > 
> > 
> > 
> > Thank you,
> > 
> > Chris
> > 
> > 
> > 
> > ---
> > This email has been checked for viruses by Avast antivirus software.
> > https://www.avast.com/antivirus
> 
> --
> Spatialys - Geospatial professional services http://www.spatialys.com
> 
> 
> ---
> This email has been checked for viruses by Avast antivirus software.
> https://www.avast.com/antivirus

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com


More information about the gdal-dev mailing list