[QGIS-Developer] Compiling QGIS with 3D failing
matteo
matteo.ghetta at gmail.com
Mon Jul 20 00:17:55 PDT 2020
Hi all,
I got an error when compiling QGIS with 3D support on Debian SID:
......a bunch of similar lines......
/usr/bin/ld: CMakeFiles/python_module_qgis__3d.dir/3d/sip_3dpart5.cpp.o:
in function `sipQgs3DAlgorithms::sipProtectVirt_loadAlgorithms(bool)':
sip_3dpart5.cpp:(.text+0x8a98): multiple definition of
`sipQgs3DAlgorithms::sipProtectVirt_loadAlgorithms(bool)';
CMakeFiles/python_module_qgis__3d.dir/3d/sip_3dpart4.cpp.o:sip_3dpart4.cpp:(.text+0x8ea0):
first defined here
/usr/bin/ld:
CMakeFiles/python_module_qgis__3d.dir/3d/sip_3dpart5.cpp.o:(.data.rel.local+0x420):
multiple definition of `sipTypeDef__3d_Qgs3DAlgorithms';
CMakeFiles/python_module_qgis__3d.dir/3d/sip_3dpart4.cpp.o:(.data.rel.local+0x580):
first defined here
collect2: error: ld returned 1 exit status
make[2]: ***
[python/CMakeFiles/python_module_qgis__3d.dir/build.make:817:
output/python/qgis/_3d.so] Error 1
make[2]: Leaving directory '/home/matteo/dev/qgis-master'
make[1]: *** [CMakeFiles/Makefile2:5772:
python/CMakeFiles/python_module_qgis__3d.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs..
if the 3D support is deactivated then all is working fine.
not sure which commit introduced this problem.
Cheers and thanks
Matteo
More information about the QGIS-Developer
mailing list