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

Reply via email to