QGIS - QCA - Compiler errors

Paul Burns paulburns at simplexity.com.au
Sun Sep 11 05:22:17 BST 2022


Hi

I am attempting to build QGIS from source. QGIS includes QCA and also calls
for the OSSL plugin. I am using Qt5 64 bit Windows 10 as my dev environment.

 

I am running into the following compiler errors:

 

13:38:31: Running steps for project qgis...

13:38:31: Starting: "C:\Qt\Tools\CMake_64\bin\cmake.exe" --build
C:/build-QGIS-final-3_26_2-Desktop_Qt_5_15_2_MinGW_64_bit-Debug --target all

[1/3152 0.0/sec] Linking CXX shared library output\libqgis_core.dll

FAILED: output/libqgis_core.dll src/core/libqgis_core.dll.a 

cmd.exe /C "cd . && C:\Qt\Tools\mingw810_64\bin\g++.exe -Wall -Wextra
-Wno-long-long -Wformat-security -Wno-strict-aliasing -Wnon-virtual-dtor
-Wno-redundant-move -Wno-misleading-indentation -Wno-deprecated-copy -g
-shared -o output\libqgis_core.dll
-Wl,--out-implib,src\core\libqgis_core.dll.a
-Wl,--major-image-version,3,--minor-image-version,26
@CMakeFiles\qgis_core.rsp  && cd ."

Warning: corrupt .drectve at end of def file

Warning: corrupt .drectve at end of def file

Warning: corrupt .drectve at end of def file

src/core/CMakeFiles/qgis_core.dir/auth/qgsauthcertutils.cpp.obj: In function
`QgsAuthCertUtils::pkcs12BundleToPem(QString const&, QString const&, bool)':

C:/QGIS-final-3_26_2/src/core/auth/qgsauthcertutils.cpp:453: undefined
reference to `__imp__ZN3QCA11isSupportedEPKcRK7QString'

C:/QGIS-final-3_26_2/src/core/auth/qgsauthcertutils.cpp:460: undefined
reference to `__imp__ZNK3QCA9KeyBundle6isNullEv'

C:/QGIS-final-3_26_2/src/core/auth/qgsauthcertutils.cpp:466: undefined
reference to `__imp__ZN3QCA11SecureArrayC1Ev'

 

This looks like I do not have the QCA library (.lib) and plugins (.dlls)
installed correctly.

 

Some help would be greatly appreciated.

 

Many thanks

 

Paul

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20220911/df1b97ed/attachment.htm>


More information about the kde-core-devel mailing list