[Qgis-user] Burned by QGIS again - Windows 10 QGIS 3.22.8

Andrea Giudiceandrea andreaerdna at libero.it
Wed Jul 6 02:12:18 PDT 2022


> *Stewart Holt*
> /Tue Jul 5 18:53:27 PDT 2022/
> ------------------------------------------------------------------------
> This message is telling you that QGIS cannot find qgis_app.dll on any of
> the paths of the PATH variable defined in the listed .env file.

Hi Stewart,
the error doesn't say that QGIS cannot "find" qgis_app.dll, but that 
QGIS cannot "load" qgis_app.dll. This means that there is an issue in 
qgis_app.dll or in one or more dll that qgis_app.dll depends on or that 
one or more dll that qgis_app.dll depends on are missing in the path 
defined in qgis-ltr-bin.env (if present).


> *Jeff Sonnentag*
> /Tue Jul 5 18:24:40 PDT 2022/
> ------------------------------------------------------------------------
> Well, burned by a QGIS installation again, and this time a LTR version late in the game.

The latest QGIS 3.22.8 and QGIS 3.26.0 OSGeo4W Standalone Installers for 
Windows suffer of the "could not load qgis_app.dll" issue, on some 
specific system, already reported multiple times e.g. in 
https://github.com/qgis/QGIS/issues/49148 and 
https://github.com/qgis/QGIS/issues/49159.

Usually this issue is preceded by a crssync.exe error during the 
installation procedure. Did this error also occur?

In such systems, the issue is due to the tiledb.dll library which was 
built with the AVX2 x86 instruction set extension. Such library will not 
load if the CPU doesn't have the AVX2 x86 instruction set extension.

What is exactly your CPU?
Does it support the AVX2 instruction set extension? If not, then it's 
very likely the issue is due to tiledb.dll.

Anyway the issue with the tiledb.dll library has been fixed in the 
OSGeo4W repository. So, if your CPU doesn't support AVX2, then you could 
install QGIS LTR (3.22.8) using the OSGeo4W Network Installer.

If your CPU does support AVX2, but the qgis-ltr-bin.env file was not 
correctly created during the installation procedure, then you could find 
useful this comment 
https://github.com/qgis/QGIS/issues/49148#issuecomment-1174459434


> *Richard Duivenvoorde*
> /Wed Jul 6 01:38:01 PDT 2022/
> ------------------------------------------------------------------------
> With us it was a opencl.dll which is wrongly copied/not removed by Windows (see links in the post).

Hi Richard,
see also the previous response to Jeff Sonnentag.



Best regards.

Andrea Giudiceandrea
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20220706/bf18595a/attachment.htm>


More information about the Qgis-user mailing list