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 <[email protected]> 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 <Qt3DExtras/QCuboidMesh> | > ^~~~~~~~~~~~~~~~~~~~~~~~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 < > [email protected]> 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 <[email protected]> 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 >>> [email protected] >>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer >>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer >> >> _______________________________________________ > QGIS-Developer mailing list > [email protected] > List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer -- Saber Razmjooei www.lutraconsulting.co.uk +44 (0)7568 129733
_______________________________________________ QGIS-Developer mailing list [email protected] List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
