[gdal-dev] Building on windows

Jerome Siot jerome.siot at mytimezero.com
Tue Mar 17 08:04:49 PDT 2020


Hello,

  *   Be sure to launch a terminal by executing :


C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\Tools\LaunchDevCmd.bat


  *   Then , give the VS version in nmake command :

nmake /f makefile.vc MSVC_VER=1900

Hope this helps, Jérome

De : gdal-dev <gdal-dev-bounces at lists.osgeo.org> De la part de Darrel Maddy
Envoyé : Sunday, March 15, 2020 1:08 PM
À : 'gdal-dev at lists.osgeo.org' <gdal-dev at lists.osgeo.org>
Objet : [gdal-dev] Building on windows

I have recently switched back to windows for a specific project that uses the gdal library.  I am getting the following error on compilation of the VS project
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.22.27905\bin\HostX86\x64\cl.EXE"' : return code '0x2'

The cl.exe file is present in the directory (there are a number of similar messages that follow)  and I am unsure how to proceed. Any suggestions?

Thanks

Darrel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20200317/845483fc/attachment.html>


More information about the gdal-dev mailing list