[QGIS-Developer] Error building QGIS 3.16 from source on Windows

Jürgen E. Fischer jef at norbit.de
Tue Oct 5 15:34:33 PDT 2021


Hi Ray,

On Tue, 05. Oct 2021 at 16:11:30 -0400, Ray Wu wrote:
> I am trying to build QGIS 3.16 from source on Windows. I followed the steps
> as specified in the document below but it failed.
> https://github.com/qgis/QGIS/blob/release-3_16/INSTALL.md.
> 
> I followed all the steps in the document. When running "4.1.4.1 Using
> configonly.bat to create the MSVC solution file", it failed with errors.
> The first error is "'gdal-dev-env.bat' is not recognized as an internal or
> external command". I searched "gdal-dev-env.bat" under "C:\OSGeo4W64" but
> the file is not there. I wonder how to fix this or what I miss or need to
> install?

That's targeted for the old osgeo4w and gdal-dev-env.bat is in gdal-dev (GDAL
nightlies).

The recipes for osgeo4w v2 are
https://github.com/jef-n/OSGeo4W/tree/master/src/qgis-ltr/osgeo4w.


Jürgen

-- 
Jürgen E. Fischer           norBIT GmbH             Tel. +49-4931-918175-31
Dipl.-Inf. (FH)             Rheinstraße 13          Fax. +49-4931-918175-50
Software Engineer           D-26506 Norden            https://www.norbit.de
QGIS release manager (PSC)  Germany                 IRC: jef on Libera|OFTC
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20211006/861e14e5/attachment.sig>


More information about the QGIS-Developer mailing list