[QGIS-Developer] Unable to build QGIS master due to multiple definitions of sipQgs3DAlgorithms

DelazJ delazj at gmail.com
Wed Nov 4 00:57:11 PST 2020


Hi,


Le mer. 4 nov. 2020 à 09:40, matteo <matteo.ghetta at gmail.com> a écrit :

> Hi all,
>
> similar issue here on Debian Sid. With Saber suggestions, the
> compilation fails:
>
> I could give it a try this morning and it worked like a charm here, on
focal. Thanks Saber.

Regards,
Harrissou

/usr/bin/ld: CMakeFiles/qgis_3d.dir/qgswindow3dengine.cpp.o: in function
> `QgsWindow3DEngine::QgsWindow3DEngine(QObject*)':
> qgswindow3dengine.cpp:(.text+0x9e): undefined reference to
> `Qt3DExtras::Qt3DWindow::Qt3DWindow(QScreen*)'
> collect2: error: ld returned 1 exit status
> make[2]: *** [src/3d/CMakeFiles/qgis_3d.dir/build.make:1321:
> output/lib/libqgis_3d.so.3.17.0] Error 1
> make[1]: *** [CMakeFiles/Makefile2:6787:
> src/3d/CMakeFiles/qgis_3d.dir/all] Error 2
> make[1]: *** Waiting for unfinished jobs....
>
> I removed completely the build folder and stared from scratch. This is
> the cmake configuration:
>
> cmake ../QGIS -DCMAKE_PREFIX_PATH=$(realpath
> ../QGIS/external/qt3dextra-headers/cmake/Qt53DExtras/)
> -DQT5_3DEXTRA_INCLUDE_DIR=$(realpath ../QGIS/external/qt3dextra-headers)
> -DQT5_3DEXTRA_LIBRARY=/usr/lib/x86_64-linux-gnu/libQt53DExtras.so
> -DWITH_3D=True -DQt53DExtras_DIR=$(realpath
> ../QGIS/external/qt3dextra-headers/cmake/Qt53DExtras/)
>
> some other suggestions?
>
> Cheers and thanks
>
> Matteo
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20201104/407d7ee8/attachment.html>


More information about the QGIS-Developer mailing list