<div dir="ltr">Hi Harrissou,<div><br></div><div>Here is my working one on Ubuntu 20.04:</div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)">-DCMAKE_PREFIX_PATH=~/src/QGIS_master/external/qt3dextra-headers/cmake/Qt53DExtras -DQT5_3DEXTRA_INCLUDE_DIR=~/src/QGIS_master/external/qt3dextra-headers -D</span><br>QT5_3DEXTRA_LIBRARY=/usr/lib/x86_64-linux-gnu/libQt53DExtras.so -DWITH_3D=True -DQt53DExtras_DIR=~/src/QGIS_master/external/qt3dextra-headers/cmake/Qt53DExtras<br></span></div><div><span style="font-family:monospace"><br></span></div><div>I hope that works for you!<span style="font-family:monospace"><br></span></div><div><br></div><div>Kind regards</div><div>Saber</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, 31 Oct 2020 at 08:34, DelazJ <<a href="mailto:delazj@gmail.com" target="_blank">delazj@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi all,</div><div>Thanks Peter. I got some time to give it another try. So I trashed my build dir and restarted. <br></div><div>Now I'm stuck at <br></div><div><br></div><div><i>In file included from ../src/3d/qgsskyboxsettings.h:</i><i>23,<br> from ../src/3d/qgs3dmapsettings.h:</i><i>33,<br> from src/3d/qgis_3d_autogen/</i><i>EWIEGA46WW/moc_</i><i>qgs3dmapsettings.cpp:9,<br> from src/3d/qgis_3d_autogen/mocs_</i><i>compilation.cpp:9:<br>../src/3d/qgsskyboxentity.h:</i><i>22:10: fatal error: Qt3DExtras/QCuboidMesh: Aucun fichier ou dossier de ce type<br> 22 | #include <Qt3DExtras/QCuboidMesh><br> | ^~~~~~~~~~~~~~~~~~~~~~~~<br>compilation terminated.<br>[52/2925] Building CXX object src/3d/CMakeFiles/qgis_3d.dir/</i><i>qgsabstractvectorlayer3drender</i><i>er.cpp.o<br>ninja: build stopped: subcommand failed.</i><br><br></div><div>I don't know if it has anything to do but I had to fight against the "<span>Qt53DExtras</span>" error to enable 3D<br></div><div><i><br></i></div><div><i> CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake:28 (find_package):<br> Could not find a package configuration file provided by "Qt53DExtras" with<br> any of the following names:<br><br> Qt53DExtrasConfig.cmake<br> qt53dextras-config.cmake<br><br> Add the installation prefix of "Qt53DExtras" to CMAKE_PREFIX_PATH or set<br> "Qt53DExtras_DIR" to a directory containing one of the above files. If<br> "Qt53DExtras" provides a separate development package or SDK, be sure it<br> has been installed.<br> Call Stack (most recent call first):<br> CMakeLists.txt:404 (FIND_PACKAGE)</i><br></div><div><br></div><div>Recipes I found in the list and the install file didn't seem to fix the cmake so I set set the <span style="font-family:monospace"><span style="color:rgb(0,0,0)">QT53DExtras_DIR </span></span>to /pathtoQGISrepo/external/qt3dextra-headers/cmake<b>/Qt53DExtras</b> (in which I found the missing file)</div><div><br></div><div>Thanks for any suggestion.</div><div><br></div><div>Harrissou<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le jeu. 29 oct. 2020 à 14:01, Peter Petrik <<a href="mailto:peter.petrik@lutraconsulting.co.uk" target="_blank">peter.petrik@lutraconsulting.co.uk</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>can you please remove completely the build folder and start again?</div><div><br></div><div>Thanks.</div><div>P/</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Oct 29, 2020 at 1:57 PM DelazJ <<a href="mailto:delazj@gmail.com" target="_blank">delazj@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi devs,</div><div><br></div><div>Since yesterday, I'm unable to build QGIS on Ubuntu 20.04 using ninja. It used to work a couple of days ago.</div><div>I'm getting a bunch of errors of the type:</div><div><br></div><div>/usr/bin/ld : python/CMakeFiles/python_module_qgis__3d.dir/3d/sip_3dpart10.cpp.o : dans la fonction « sipQgs3DAlgorithms::sipProtect_isSignalConnected(QMetaMethod const&) const » :<br>/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<br>/usr/bin/ld : python/CMakeFiles/python_module_qgis__3d.dir/3d/sip_3dpart10.cpp.o : dans la fonction « sipQgs3DAlgorithms::sipProtect_addAlgorithm(QgsProcessingAlgorithm*) » :<br>/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<br>/usr/bin/ld : python/CMakeFiles/python_module_qgis__3d.dir/3d/sip_3dpart10.cpp.o : dans la fonction « sipQgs3DAlgorithms::sipProtectVirt_loadAlgorithms(bool) » :<br>/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<br>/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<br>collect2: error: ld returned 1 exit status<br>[59/1570] Linking CXX shared library output/lib/libqgis_gui.so.3.17.0</div><div><br></div><div>Any hints would be welcome. Thanks</div><div><br></div><div>Harrissou<br></div></div>
_______________________________________________<br>
QGIS-Developer mailing list<br>
<a href="mailto:QGIS-Developer@lists.osgeo.org" target="_blank">QGIS-Developer@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a></blockquote></div>
</blockquote></div>
_______________________________________________<br>
QGIS-Developer mailing list<br>
<a href="mailto:QGIS-Developer@lists.osgeo.org" target="_blank">QGIS-Developer@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Saber Razmjooei<br></div><div><a href="http://www.lutraconsulting.co.uk" target="_blank">www.lutraconsulting.co.uk</a><br><span>+44 (0)7568 129733</span><br></div></div></div></div></div></div></div></div></div></div>