[gdal-dev] Build using VS2015

Even Rouault even.rouault at spatialys.com
Mon Oct 3 15:05:19 PDT 2016


Le lundi 03 octobre 2016 23:57:45, David Adler a écrit :
> Should the build succeed with the 2015 version of the MS compiler using
> x86? I get
> 
> With x64 it gets a lot more errors.
> 
> It works fine with VS 2010 x86 - haven't tried x64.

David,

Specify MSVC_VER=1900 on the nmake command line.

nmake.opt :

!IFDEF ODBC_SUPPORTED
!IF $(MSVC_VER) >= 1900
# legacy_stdio_definitions.lib : 
https://connect.microsoft.com/VisualStudio/feedback/details/1134693/vs-2015-
ctp-5-c-vsnwprintf-s-and-other-functions-are-not-exported-in-appcrt140-dll-
breaking-linkage-of-static-libraries
ODBCLIB = legacy_stdio_definitions.lib odbc32.lib odbccp32.lib user32.lib
[...]

Even

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


More information about the gdal-dev mailing list