[QGIS-Developer] QGIS 3.22 compilation on windows 10 with MSVC 2019

Jürgen E. Fischer jef at norbit.de
Tue Nov 2 08:33:33 PDT 2021


On Tue, 02. Nov 2021 at 14:09:09 +0530, Paul N wrote:
> Hi, I have tried to run your msvc-env.bat and checked the system path line
> by line.
> 
> But still having the error as below:
> 
> dbghelp.dll not found
> C:\Program Files (x86)\ArcGIS\Desktop10.8\bin\dbghelp.dll

Looks like the SDK is incomplete:

set SETUPAPI_LIBRARY=%PF86%\Windows Kits\10\Lib\%VCSDK%\um\x64\SetupAPI.Lib
set DBGHLP_PATH=%PF86%\Windows Kits\10\Debuggers\x64

if not exist "%SETUPAPI_LIBRARY%" (
  echo SETUPAPI_LIBRARY not found
  dir /s /b "%PF86%\setupapi.lib"
  goto error
)

if not exist "%DBGHLP_PATH%\dbghelp.dll" (
  echo dbghelp.dll not found
  dir /s /b "%PF86%\dbghelp.dll" "%PF86%\symsrv.dll"
  goto error
)

So you apparently have SetupAPI.Lib, but not dbghelp.dll in
C:\Program Files (x86)\Windows Kits\10

https://github.com/jef-n/QGIS/commits/workflows-msvc includes some updates to
INSTALL[0].  The merges for OSGeo4W v2 are still pending (at the time both ltr
and latest release were built for old and osgeo4w v2; now only the current ltr
is still built for old osgeo4w).


Jürgen


[0] https://github.com/jef-n/QGIS/blob/7401e795a6a0eee82b86f4d78026f4635790c43f/INSTALL 

-- 
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/20211102/bfe02638/attachment.sig>


More information about the QGIS-Developer mailing list