Re: [QGIS-Developer] Unable to build QGIS master due to multiple definitions of sipQgs3DAlgorithms
Hi Jürgen, Why? sid has the 3D extra headers. yep I know but something eventually went wrong. So I confirm that my cmake configuration is just: cmake ../QGIS \ -DWITH_3D=TRUE Cheers and thanks Matteo ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [QGIS-Developer] Unable to build QGIS master due to multiple definitions of sipQgs3DAlgorithms
Hi, Le mer. 4 nov. 2020 à 09:40, matteo 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@lists.osgeo.org > List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [QGIS-Developer] Unable to build QGIS master due to multiple definitions of sipQgs3DAlgorithms
Hi Matteo, On Wed, 04. Nov 2020 at 09:40:33 +0100, matteo wrote: > similar issue here on Debian Sid. With Saber suggestions, the compilation [..] > 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/) Why? sid has the 3D extra headers. Jürgen -- 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 Nordenhttps://www.norbit.de QGIS release manager (PSC) GermanyIRC: jef on FreeNode signature.asc Description: PGP signature norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH Rheinstrasse 13, 26506 Norden GF: Juergen Fischer, Nils Kutscher HR: Amtsgericht Aurich HRB 100827 Datenschutzerklaerung: https://www.norbit.de/83/ ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [QGIS-Developer] Unable to build QGIS master due to multiple definitions of sipQgs3DAlgorithms
Hi all, similar issue here on Debian Sid. With Saber suggestions, the compilation fails: /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@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [QGIS-Developer] Unable to build QGIS master due to multiple definitions of sipQgs3DAlgorithms
Hi Saber, Thanks. I'll give it a try this evening and let you know. Greetings, Harrissou Le dim. 1 nov. 2020 à 08:34, Saber Razmjooei < saber.razmjo...@lutraconsulting.co.uk> a écrit : > Hi Harrissou, > > Here is my working one on Ubuntu 20.04: > -DCMAKE_PREFIX_PATH=~/src/QGIS_master/external/qt3dextra-headers/cmake/Qt53DExtras > -DQT5_3DEXTRA_INCLUDE_DIR=~/src/QGIS_master/external/qt3dextra-headers -D > QT5_3DEXTRA_LIBRARY=/usr/lib/x86_64-linux-gnu/libQt53DExtras.so > -DWITH_3D=True > -DQt53DExtras_DIR=~/src/QGIS_master/external/qt3dextra-headers/cmake/Qt53DExtras > > I hope that works for you! > > Kind regards > Saber > > > On Sat, 31 Oct 2020 at 08:34, DelazJ wrote: > >> Hi all, >> Thanks Peter. I got some time to give it another try. So I trashed my >> build dir and restarted. >> Now I'm stuck at >> >> *In file included from ../src/3d/qgsskyboxsettings.h:* >> *23, from ../src/3d/qgs3dmapsettings.h:* >> *33, from src/3d/qgis_3d_autogen/**EWIEGA46WW/moc_* >> *qgs3dmapsettings.cpp:9, from >> src/3d/qgis_3d_autogen/mocs_* >> *compilation.cpp:9:../src/3d/qgsskyboxentity.h:* >> >> >> >> *22:10: fatal error: Qt3DExtras/QCuboidMesh: Aucun fichier ou dossier de >> ce type 22 | #include | >> ^~~~compilation terminated.[52/2925] Building CXX >> object src/3d/CMakeFiles/qgis_3d.dir/**qgsabstractvectorlayer3drender* >> *er.cpp.oninja: build stopped: subcommand failed.* >> >> I don't know if it has anything to do but I had to fight against the " >> Qt53DExtras" error to enable 3D >> >> >> >> >> >> >> >> >> >> >> >> >> >> * CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake:28 >> (find_package): Could not find a package configuration file provided by >> "Qt53DExtras" with any of the following names: >> Qt53DExtrasConfig.cmake qt53dextras-config.cmake Add the >> installation prefix of "Qt53DExtras" to CMAKE_PREFIX_PATH or set >> "Qt53DExtras_DIR" to a directory containing one of the above files. If >> "Qt53DExtras" provides a separate development package or SDK, be sure it >> has been installed. Call Stack (most recent call first): >> CMakeLists.txt:404 (FIND_PACKAGE)* >> >> Recipes I found in the list and the install file didn't seem to fix the >> cmake so I set set the QT53DExtras_DIR to >> /pathtoQGISrepo/external/qt3dextra-headers/cmake*/Qt53DExtras* (in which >> I found the missing file) >> >> Thanks for any suggestion. >> >> Harrissou >> >> Le jeu. 29 oct. 2020 à 14:01, Peter Petrik < >> peter.pet...@lutraconsulting.co.uk> a écrit : >> >>> Hi, >>> >>> can you please remove completely the build folder and start again? >>> >>> Thanks. >>> P/ >>> >>> On Thu, Oct 29, 2020 at 1:57 PM DelazJ wrote: >>> Hi devs, Since yesterday, I'm unable to build QGIS on Ubuntu 20.04 using ninja. It used to work a couple of days ago. I'm getting a bunch of errors of the type: /usr/bin/ld : python/CMakeFiles/python_module_qgis__3d.dir/3d/sip_3dpart10.cpp.o : dans la fonction « sipQgs3DAlgorithms::sipProtect_isSignalConnected(QMetaMethod const&) const » : /media/delazj/dev/github/QGIS/build_ninja/python/3d/sip_3dpart10.cpp:4735 : définitions multiples de « sipQgs3DAlgorithms::sipProtect_isSignalConnected(QMetaMethod const&) const »; python/CMakeFiles/python_module_qgis__3d.dir/3d/sip_3dpart8.cpp.o:/media/delazj/dev/github/QGIS/build_ninja/python/3d/sip_3dpart8.cpp:892 : défini pour la première fois ici /usr/bin/ld : python/CMakeFiles/python_module_qgis__3d.dir/3d/sip_3dpart10.cpp.o : dans la fonction « sipQgs3DAlgorithms::sipProtect_addAlgorithm(QgsProcessingAlgorithm*) » : /media/delazj/dev/github/QGIS/build_ninja/python/3d/sip_3dpart10.cpp:4740 : définitions multiples de « sipQgs3DAlgorithms::sipProtect_addAlgorithm(QgsProcessingAlgorithm*) »; python/CMakeFiles/python_module_qgis__3d.dir/3d/sip_3dpart8.cpp.o:/media/delazj/dev/github/QGIS/build_ninja/python/3d/sip_3dpart8.cpp:897 : défini pour la première fois ici /usr/bin/ld : python/CMakeFiles/python_module_qgis__3d.dir/3d/sip_3dpart10.cpp.o : dans la fonction « sipQgs3DAlgorithms::sipProtectVirt_loadAlgorithms(bool) » : /media/delazj/dev/github/QGIS/build_ninja/python/3d/sip_3dpart10.cpp:4745 : définitions multiples de « sipQgs3DAlgorithms::sipProtectVirt_loadAlgorithms(bool) »; python/CMakeFiles/python_module_qgis__3d.dir/3d/sip_3dpart8.cpp.o:/media/delazj/dev/github/QGIS/build_ninja/python/3d/sip_3dpart8.cpp:902 : défini pour la première fois ici /usr/bin/ld : python/CMakeFiles/python_module_qgis__3d.dir/3d/sip_3dpart10.cpp.o:(.data.rel.local+0x2c0) : définitions multiples de « sipTypeDef__3d_Qgs3DAlgorithms »; python/CMakeFiles/python_module_qgis__3d.dir/3d/sip_3dpart8.cpp.o:(.data.rel.local+0x160) : défini pour la première fois ici collect2:
Re: [QGIS-Developer] Unable to build QGIS master due to multiple definitions of sipQgs3DAlgorithms
Hi Harrissou, Here is my working one on Ubuntu 20.04: -DCMAKE_PREFIX_PATH=~/src/QGIS_master/external/qt3dextra-headers/cmake/Qt53DExtras -DQT5_3DEXTRA_INCLUDE_DIR=~/src/QGIS_master/external/qt3dextra-headers -D QT5_3DEXTRA_LIBRARY=/usr/lib/x86_64-linux-gnu/libQt53DExtras.so -DWITH_3D=True -DQt53DExtras_DIR=~/src/QGIS_master/external/qt3dextra-headers/cmake/Qt53DExtras I hope that works for you! Kind regards Saber On Sat, 31 Oct 2020 at 08:34, DelazJ wrote: > Hi all, > Thanks Peter. I got some time to give it another try. So I trashed my > build dir and restarted. > Now I'm stuck at > > *In file included from ../src/3d/qgsskyboxsettings.h:* > *23, from ../src/3d/qgs3dmapsettings.h:* > *33, from src/3d/qgis_3d_autogen/**EWIEGA46WW/moc_* > *qgs3dmapsettings.cpp:9, from src/3d/qgis_3d_autogen/mocs_* > *compilation.cpp:9:../src/3d/qgsskyboxentity.h:* > > > > *22:10: fatal error: Qt3DExtras/QCuboidMesh: Aucun fichier ou dossier de > ce type 22 | #include | > ^~~~compilation terminated.[52/2925] Building CXX > object src/3d/CMakeFiles/qgis_3d.dir/**qgsabstractvectorlayer3drender* > *er.cpp.oninja: build stopped: subcommand failed.* > > I don't know if it has anything to do but I had to fight against the " > Qt53DExtras" error to enable 3D > > > > > > > > > > > > > > * CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake:28 > (find_package): Could not find a package configuration file provided by > "Qt53DExtras" with any of the following names: > Qt53DExtrasConfig.cmake qt53dextras-config.cmake Add the > installation prefix of "Qt53DExtras" to CMAKE_PREFIX_PATH or set > "Qt53DExtras_DIR" to a directory containing one of the above files. If > "Qt53DExtras" provides a separate development package or SDK, be sure it > has been installed. Call Stack (most recent call first): > CMakeLists.txt:404 (FIND_PACKAGE)* > > Recipes I found in the list and the install file didn't seem to fix the > cmake so I set set the QT53DExtras_DIR to > /pathtoQGISrepo/external/qt3dextra-headers/cmake*/Qt53DExtras* (in which > I found the missing file) > > Thanks for any suggestion. > > Harrissou > > Le jeu. 29 oct. 2020 à 14:01, Peter Petrik < > peter.pet...@lutraconsulting.co.uk> a écrit : > >> Hi, >> >> can you please remove completely the build folder and start again? >> >> Thanks. >> P/ >> >> On Thu, Oct 29, 2020 at 1:57 PM DelazJ wrote: >> >>> Hi devs, >>> >>> Since yesterday, I'm unable to build QGIS on Ubuntu 20.04 using ninja. >>> It used to work a couple of days ago. >>> I'm getting a bunch of errors of the type: >>> >>> /usr/bin/ld : >>> python/CMakeFiles/python_module_qgis__3d.dir/3d/sip_3dpart10.cpp.o : dans >>> la fonction « sipQgs3DAlgorithms::sipProtect_isSignalConnected(QMetaMethod >>> const&) const » : >>> /media/delazj/dev/github/QGIS/build_ninja/python/3d/sip_3dpart10.cpp:4735 : >>> définitions multiples de >>> « sipQgs3DAlgorithms::sipProtect_isSignalConnected(QMetaMethod const&) >>> const »; >>> python/CMakeFiles/python_module_qgis__3d.dir/3d/sip_3dpart8.cpp.o:/media/delazj/dev/github/QGIS/build_ninja/python/3d/sip_3dpart8.cpp:892 >>> : >>> défini pour la première fois ici >>> /usr/bin/ld : >>> python/CMakeFiles/python_module_qgis__3d.dir/3d/sip_3dpart10.cpp.o : dans >>> la fonction >>> « sipQgs3DAlgorithms::sipProtect_addAlgorithm(QgsProcessingAlgorithm*) » : >>> /media/delazj/dev/github/QGIS/build_ninja/python/3d/sip_3dpart10.cpp:4740 : >>> définitions multiples de >>> « sipQgs3DAlgorithms::sipProtect_addAlgorithm(QgsProcessingAlgorithm*) »; >>> python/CMakeFiles/python_module_qgis__3d.dir/3d/sip_3dpart8.cpp.o:/media/delazj/dev/github/QGIS/build_ninja/python/3d/sip_3dpart8.cpp:897 >>> : >>> défini pour la première fois ici >>> /usr/bin/ld : >>> python/CMakeFiles/python_module_qgis__3d.dir/3d/sip_3dpart10.cpp.o : dans >>> la fonction « sipQgs3DAlgorithms::sipProtectVirt_loadAlgorithms(bool) » : >>> /media/delazj/dev/github/QGIS/build_ninja/python/3d/sip_3dpart10.cpp:4745 : >>> définitions multiples de >>> « sipQgs3DAlgorithms::sipProtectVirt_loadAlgorithms(bool) »; >>> python/CMakeFiles/python_module_qgis__3d.dir/3d/sip_3dpart8.cpp.o:/media/delazj/dev/github/QGIS/build_ninja/python/3d/sip_3dpart8.cpp:902 >>> : >>> défini pour la première fois ici >>> /usr/bin/ld : >>> python/CMakeFiles/python_module_qgis__3d.dir/3d/sip_3dpart10.cpp.o:(.data.rel.local+0x2c0) >>> : >>> définitions multiples de « sipTypeDef__3d_Qgs3DAlgorithms »; >>> python/CMakeFiles/python_module_qgis__3d.dir/3d/sip_3dpart8.cpp.o:(.data.rel.local+0x160) >>> : >>> défini pour la première fois ici >>> collect2: error: ld returned 1 exit status >>> [59/1570] Linking CXX shared library output/lib/libqgis_gui.so.3.17.0 >>> >>> Any hints would be welcome. Thanks >>> >>> Harrissou >>> ___ >>> QGIS-Developer mailing list >>> QGIS-Developer@lists.osgeo.org >>> List info: https://lists.osgeo.org/mai
Re: [QGIS-Developer] Unable to build QGIS master due to multiple definitions of sipQgs3DAlgorithms
Hi all, Thanks Peter. I got some time to give it another try. So I trashed my build dir and restarted. Now I'm stuck at *In file included from ../src/3d/qgsskyboxsettings.h:* *23, from ../src/3d/qgs3dmapsettings.h:* *33, from src/3d/qgis_3d_autogen/**EWIEGA46WW/moc_* *qgs3dmapsettings.cpp:9, from src/3d/qgis_3d_autogen/mocs_* *compilation.cpp:9:../src/3d/qgsskyboxentity.h:* *22:10: fatal error: Qt3DExtras/QCuboidMesh: Aucun fichier ou dossier de ce type 22 | #include | ^~~~compilation terminated.[52/2925] Building CXX object src/3d/CMakeFiles/qgis_3d.dir/**qgsabstractvectorlayer3drender* *er.cpp.oninja: build stopped: subcommand failed.* I don't know if it has anything to do but I had to fight against the " Qt53DExtras" error to enable 3D * CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake:28 (find_package): Could not find a package configuration file provided by "Qt53DExtras" with any of the following names: Qt53DExtrasConfig.cmake qt53dextras-config.cmake Add the installation prefix of "Qt53DExtras" to CMAKE_PREFIX_PATH or set "Qt53DExtras_DIR" to a directory containing one of the above files. If "Qt53DExtras" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): CMakeLists.txt:404 (FIND_PACKAGE)* Recipes I found in the list and the install file didn't seem to fix the cmake so I set set the QT53DExtras_DIR to /pathtoQGISrepo/external/qt3dextra-headers/cmake*/Qt53DExtras* (in which I found the missing file) Thanks for any suggestion. Harrissou Le jeu. 29 oct. 2020 à 14:01, Peter Petrik < peter.pet...@lutraconsulting.co.uk> a écrit : > Hi, > > can you please remove completely the build folder and start again? > > Thanks. > P/ > > On Thu, Oct 29, 2020 at 1:57 PM DelazJ wrote: > >> Hi devs, >> >> Since yesterday, I'm unable to build QGIS on Ubuntu 20.04 using ninja. It >> used to work a couple of days ago. >> I'm getting a bunch of errors of the type: >> >> /usr/bin/ld : >> python/CMakeFiles/python_module_qgis__3d.dir/3d/sip_3dpart10.cpp.o : dans >> la fonction « sipQgs3DAlgorithms::sipProtect_isSignalConnected(QMetaMethod >> const&) const » : >> /media/delazj/dev/github/QGIS/build_ninja/python/3d/sip_3dpart10.cpp:4735 : >> définitions multiples de >> « sipQgs3DAlgorithms::sipProtect_isSignalConnected(QMetaMethod const&) >> const »; >> python/CMakeFiles/python_module_qgis__3d.dir/3d/sip_3dpart8.cpp.o:/media/delazj/dev/github/QGIS/build_ninja/python/3d/sip_3dpart8.cpp:892 >> : >> défini pour la première fois ici >> /usr/bin/ld : >> python/CMakeFiles/python_module_qgis__3d.dir/3d/sip_3dpart10.cpp.o : dans >> la fonction >> « sipQgs3DAlgorithms::sipProtect_addAlgorithm(QgsProcessingAlgorithm*) » : >> /media/delazj/dev/github/QGIS/build_ninja/python/3d/sip_3dpart10.cpp:4740 : >> définitions multiples de >> « sipQgs3DAlgorithms::sipProtect_addAlgorithm(QgsProcessingAlgorithm*) »; >> python/CMakeFiles/python_module_qgis__3d.dir/3d/sip_3dpart8.cpp.o:/media/delazj/dev/github/QGIS/build_ninja/python/3d/sip_3dpart8.cpp:897 >> : >> défini pour la première fois ici >> /usr/bin/ld : >> python/CMakeFiles/python_module_qgis__3d.dir/3d/sip_3dpart10.cpp.o : dans >> la fonction « sipQgs3DAlgorithms::sipProtectVirt_loadAlgorithms(bool) » : >> /media/delazj/dev/github/QGIS/build_ninja/python/3d/sip_3dpart10.cpp:4745 : >> définitions multiples de >> « sipQgs3DAlgorithms::sipProtectVirt_loadAlgorithms(bool) »; >> python/CMakeFiles/python_module_qgis__3d.dir/3d/sip_3dpart8.cpp.o:/media/delazj/dev/github/QGIS/build_ninja/python/3d/sip_3dpart8.cpp:902 >> : >> défini pour la première fois ici >> /usr/bin/ld : >> python/CMakeFiles/python_module_qgis__3d.dir/3d/sip_3dpart10.cpp.o:(.data.rel.local+0x2c0) >> : >> définitions multiples de « sipTypeDef__3d_Qgs3DAlgorithms »; >> python/CMakeFiles/python_module_qgis__3d.dir/3d/sip_3dpart8.cpp.o:(.data.rel.local+0x160) >> : >> défini pour la première fois ici >> collect2: error: ld returned 1 exit status >> [59/1570] Linking CXX shared library output/lib/libqgis_gui.so.3.17.0 >> >> Any hints would be welcome. Thanks >> >> Harrissou >> ___ >> QGIS-Developer mailing list >> QGIS-Developer@lists.osgeo.org >> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer >> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer > > ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [QGIS-Developer] Unable to build QGIS master due to multiple definitions of sipQgs3DAlgorithms
Hi, can you please remove completely the build folder and start again? Thanks. P/ On Thu, Oct 29, 2020 at 1:57 PM DelazJ wrote: > Hi devs, > > Since yesterday, I'm unable to build QGIS on Ubuntu 20.04 using ninja. It > used to work a couple of days ago. > I'm getting a bunch of errors of the type: > > /usr/bin/ld : > python/CMakeFiles/python_module_qgis__3d.dir/3d/sip_3dpart10.cpp.o : dans > la fonction « sipQgs3DAlgorithms::sipProtect_isSignalConnected(QMetaMethod > const&) const » : > /media/delazj/dev/github/QGIS/build_ninja/python/3d/sip_3dpart10.cpp:4735 : > définitions multiples de > « sipQgs3DAlgorithms::sipProtect_isSignalConnected(QMetaMethod const&) > const »; > python/CMakeFiles/python_module_qgis__3d.dir/3d/sip_3dpart8.cpp.o:/media/delazj/dev/github/QGIS/build_ninja/python/3d/sip_3dpart8.cpp:892 > : > défini pour la première fois ici > /usr/bin/ld : > python/CMakeFiles/python_module_qgis__3d.dir/3d/sip_3dpart10.cpp.o : dans > la fonction > « sipQgs3DAlgorithms::sipProtect_addAlgorithm(QgsProcessingAlgorithm*) » : > /media/delazj/dev/github/QGIS/build_ninja/python/3d/sip_3dpart10.cpp:4740 : > définitions multiples de > « sipQgs3DAlgorithms::sipProtect_addAlgorithm(QgsProcessingAlgorithm*) »; > python/CMakeFiles/python_module_qgis__3d.dir/3d/sip_3dpart8.cpp.o:/media/delazj/dev/github/QGIS/build_ninja/python/3d/sip_3dpart8.cpp:897 > : > défini pour la première fois ici > /usr/bin/ld : > python/CMakeFiles/python_module_qgis__3d.dir/3d/sip_3dpart10.cpp.o : dans > la fonction « sipQgs3DAlgorithms::sipProtectVirt_loadAlgorithms(bool) » : > /media/delazj/dev/github/QGIS/build_ninja/python/3d/sip_3dpart10.cpp:4745 : > définitions multiples de > « sipQgs3DAlgorithms::sipProtectVirt_loadAlgorithms(bool) »; > python/CMakeFiles/python_module_qgis__3d.dir/3d/sip_3dpart8.cpp.o:/media/delazj/dev/github/QGIS/build_ninja/python/3d/sip_3dpart8.cpp:902 > : > défini pour la première fois ici > /usr/bin/ld : > python/CMakeFiles/python_module_qgis__3d.dir/3d/sip_3dpart10.cpp.o:(.data.rel.local+0x2c0) > : > définitions multiples de « sipTypeDef__3d_Qgs3DAlgorithms »; > python/CMakeFiles/python_module_qgis__3d.dir/3d/sip_3dpart8.cpp.o:(.data.rel.local+0x160) > : > défini pour la première fois ici > collect2: error: ld returned 1 exit status > [59/1570] Linking CXX shared library output/lib/libqgis_gui.so.3.17.0 > > Any hints would be welcome. Thanks > > Harrissou > ___ > QGIS-Developer mailing list > QGIS-Developer@lists.osgeo.org > List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer