0

I'm trying to build GDAL using the 64-bit developer command prompt for VS2017. When I try to run the nmake command on the makefile, I get the following fatal error:

odbccp32.lib(dllload.obj) : error LNK 2019: unresolved external symbol _vsnwprintf_s
referenced in function StringCchPrintfW
gdal202.dll : fatal error LNK1120: 1 unresolved externals

I found another question that addresses the exact same issue, but on MSVC 2015. I checked the nmake.opt file, and it already had the MSVC 2015 solution implemented. Any guidance on how to resolve this issue would be appreciated.

Benjamin
  • 11
  • 1
  • 4

1 Answers1

0

Make sure to run nmake like

nmake /f makefile.vc devinstall MSVC_VER=1900
BlueSpud
  • 1,555
  • 3
  • 19
  • 44