[QGIS-Developer] Troubles compiling QGIS master with 3D in Ubuntu 20.04

Jorge Gustavo Rocha jgr at di.uminho.pt
Wed Oct 21 03:42:42 PDT 2020


Hi Giuseppe,

That's what I use in Ubuntu 20.04 (using local compiled GDAl and PROJ):

cmake -DCMAKE_BUILD_TYPE=Debug -DBUILD_TESTING=FALSE -DENABLE_TESTS=OFF
-DWITH_SERVER=TRUE -DWITH_3D=TRUE
-DQt53DExtras_DIR=/home/jgr/dev/cpp/QGIS/external/qt3dextra-headers/cmake/Qt53DExtras
-DQT5_3DEXTRA_LIBRARY=/usr/lib/x86_64-linux-gnu/libQt53DExtras.so
-DCMAKE_PREFIX_PATH=/home/jgr/dev/cpp/QGIS/external/qt3dextra-headers/cmake
-DQT5_3DEXTRA_INCLUDE_DIR=/home/jgr/dev/cpp/QGIS/external/qt3dextra-headers
-DGDAL_CONFIG=/usr/local/bin/gdal-config
-DPROJ_INCLUDE_DIR=/usr/local/include
-DPROJ_LIBRARY=/usr/local/lib/libproj.so ../QGIS

I hope it helps.

Regards,

Jorge

Às 07:54 de 21/10/20, demarcog escreveu:
> Hello I read with much interest your solution to this issue compiling Qgis
> from source in Linux Ubuntu 20.04 and I adjusted paths for cmake to find
> this QT3D cmake files but unfortunately when it goes through the compiling
> process, the compiler cannot find a specific library which is part of
> Qt3DExtras apparently and is called QPhongMaterial and compiling fails with
> an error. Does anybody have any clue? For the record I have been able to
> compile Qgis from source excluding the 3D feature... 
> 
> 
> 
> --
> Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
> _______________________________________________
> 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
> 

J. Gustavo
-- 
Jorge Gustavo Rocha
Departamento de Informática
Universidade do Minho
4710-057 Braga
Gabinete 3.29 (Piso 3)
Tel: +351 253604480
Fax: +351 253604471
Móvel: +351 910333888
skype: nabocudnosor


More information about the QGIS-Developer mailing list