Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#752 closed defect (invalid)

qgis-dev: "Could not load qgis_app.dll" after updating gdal-dev306-runtime to 3.6.0-52

Reported by: andreaerdna Owned by: osgeo4w-dev@…
Priority: critical Component: Package
Version: Keywords:
Cc:

Description

QGIS 3.27.0-Master (qgis-dev-3.27.0-265-597e8eebd4-1) doesn't start anymore after updating the gdal-dev and gdal-dev306-runtime packages to the 3.6.0-52-e10d39568c-1 version.

qgis_app.dll (in qgis-dev-3.27.0-265-597e8eebd4-1) depends on gdal306.dll, while gdal-dev306-runtime-3.6.0-52-e10d39568c-1 ships gdal-dev306.dll.

So I think qgis-dev package needs to be rebuilt after https://github.com/jef-n/OSGeo4W/commit/2a9ae2a11e62204086b3607556c7bb7012dccb1e.

Change History (5)

comment:1 by jef, 2 years ago

Resolution: invalid
Status: newclosed

Will solve itself once the qgis-dev nightly succeeds - but that's currently broken due to an issue in the pdal provider:

[5631/7048] Linking CXX shared module output\plugins\provider_pdal.dll
FAILED: output/plugins/provider_pdal.dll
cmd.exe /C "cd . && "C:/Program Files/CMake/bin/cmake.exe" -E vs_link_dll --intdir=src/providers/pdal/CMakeFiles/provider_pdal.dir --rc=C:/PROGRA~2/WI3CF2~1/10/bin/100183~1.0/x64/rc.exe --mt=C:/PROGRA~2/WI3CF2~1/10/bin/100183~1.0/x64/mt.exe --manifests  -- C:/PROGRA~2/MICROS~3/2019/COMMUN~1/VC/Tools/MSVC/1429~1.300/bin/Hostx64/x64/link.exe /nologo @CMakeFiles/provider_pdal.rsp  /out:output/plugins/provider_pdal.dll /implib:src/providers/pdal/provider_pdal.lib /pdb:apps/qgis-dev/pdb/provider_pdal.pdb /dll /version:0.0 /machine:x64 /debug /INCREMENTAL  && cd ."
LINK Pass 1: command "C:/PROGRA~2/MICROS~3/2019/COMMUN~1/VC/Tools/MSVC/1429~1.300/bin/Hostx64/x64/link.exe /nologo @CMakeFiles/provider_pdal.rsp /out:output/plugins/provider_pdal.dll /implib:src/providers/pdal/provider_pdal.lib /pdb:apps/qgis-dev/pdb/provider_pdal.pdb /dll /version:0.0 /machine:x64 /debug /INCREMENTAL /MANIFEST /MANIFESTFILE:src/providers/pdal/CMakeFiles/provider_pdal.dir/intermediate.manifest src/providers/pdal/CMakeFiles/provider_pdal.dir/manifest.res" failed (exit code 1120) with the following output:
LINK : output\plugins\provider_pdal.dll not found or not built by the last incremental link; performing full link
   Creating library src/providers/pdal/provider_pdal.lib and object src/providers/pdal/provider_pdal.exp
qgspdalprovider.cpp.obj : error LNK2019: unresolved external symbol "public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl pdal::StageExtensions::defaultReader(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?defaultReader@StageExtensions@pdal@@QEAA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEBV34@@Z) referenced in function "public: __cdecl <lambda_4e7ceb58a9e9a9262f4fac2bf190139b>::operator()(void)const " (??R<lambda_4e7ceb58a9e9a9262f4fac2bf190139b>@@QEBA@XZ)
output\plugins\provider_pdal.dll : fatal error LNK1120: 1 unresolved externals
Last edited 2 years ago by jef (previous) (diff)

comment:2 by andreaerdna, 2 years ago

Maybe better to remove gdal-dev* 3.6.0-52-e10d39568c-1 and revert to 3.6.0-51-9aa17692a5-1 until qgis-dev is rebuilt?

in reply to:  2 comment:3 by jef, 2 years ago

Replying to andreaerdna:

Maybe better to remove gdal-dev* 3.6.0-52-e10d39568c-1 and revert to 3.6.0-51-9aa17692a5-1 until qgis-dev is rebuilt?

gdal-dev would just reappear tomorrow.

comment:4 by andreaerdna, 2 years ago

Fixed in qgis-dev-3.27.0-266-0e23467727-1.

in reply to:  1 comment:5 by jef, 2 years ago

Replying to jef:

qgspdalprovider.cpp.obj : error LNK2019: unresolved external symbol "public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl pdal::StageExtensions::defaultReader(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?defaultReader@StageExtensions@pdal@@QEAA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEBV34@@Z) referenced in function "public: __cdecl <lambda_4e7ceb58a9e9a9262f4fac2bf190139b>::operator()(void)const " (??R<lambda_4e7ceb58a9e9a9262f4fac2bf190139b>@@QEBA@XZ)

Fixed in pdal-2.3-7 (see also OSGeo4W d05ac41520d9 / PDAL #3806)

Note: See TracTickets for help on using tickets.