Skip to content

Commit

Permalink
Suggest that user call gdal-dev-env.bat before opening MSVC
Browse files Browse the repository at this point in the history
  • Loading branch information
Codym48 authored and jef-n committed May 11, 2020
1 parent a2ef1ab commit 1a29125
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion doc/msvc.t2t
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -117,7 +117,9 @@ configonly.bat


Compiling QGIS with MSVC: Compiling QGIS with MSVC:
We will need to run MSVC with all the environment variables set, thus we will run it as follows: 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 From MSVC, open the solution file
``C:\OSGeo4W64\QGIS\ms-windows\osgeo4w\build-qgis-test-x86_64\qgis.sln`` ``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). Try to build the solution (go grab a cup of tea, it may take a while).
Expand Down

0 comments on commit 1a29125

Please sign in to comment.