Skip to content
Permalink
Browse files

Suggest that user call gdal-dev-env.bat before opening MSVC

  • Loading branch information
Codym48 authored and jef-n committed May 7, 2020
1 parent a2ef1ab commit 1a29125ce1d2e8df4f18e8abec4cdef92f0e4040
Showing with 3 additions and 1 deletion.
  1. +3 −1 doc/msvc.t2t
@@ -117,7 +117,9 @@ configonly.bat

Compiling QGIS with MSVC:
We will need to run MSVC with all the environment variables set, thus we will run it as follows:
Run the batch file OSGeo4W-dev.bat you created before. On the command prompt run: ``devenv`` to open MSVC.
Run the batch file OSGeo4W-dev.bat you created before.
On the command prompt run ``call gdal-dev-env.bat`` to add the release gdal and proj libraries to your PATH.
On the command prompt run ``devenv`` to open MSVC.
From MSVC, open the solution file
``C:\OSGeo4W64\QGIS\ms-windows\osgeo4w\build-qgis-test-x86_64\qgis.sln``
Try to build the solution (go grab a cup of tea, it may take a while).

0 comments on commit 1a29125

Please sign in to comment.
You can’t perform that action at this time.