Re: [QGIS-Developer] Understanding errors while building QGIS master

2025-04-29 Thread Hernán De Angelis via QGIS-Developer
I can now confirm that 3.42.1 and 3.42.2 compile well and trouble-free in openSUSE Tumbleweed using GCC 14.2, Qt 6.9.0 and internal nlohmann json. I have not tried GCC 15 nor clang yet. My current belief is that something may not be completely right with the current integration of nlohmann in

Re: [QGIS-Developer] Understanding errors while building QGIS master

2025-04-29 Thread Hernán De Angelis via QGIS-Developer
Hi Stefanos, Thanks for the suggestion, I will definitely try that. In any case it is baffling that build fails using both internal and external (3.12). I currently suspect deeper issues in gcc and how libstdc++ is linked in my system or the may be the OS. Up to two weeks ago I could compile

Re: [QGIS-Developer] Understanding errors while building QGIS master

2025-04-29 Thread Hernán De Angelis via QGIS-Developer
Hi Jorge, Thanks for the suggestion. I will give clang a try. Hernán Den 2025-04-29 kl. 10:15, skrev Jorge Gustavo Rocha via QGIS-Developer: Hi Hernán, I switched to clang 19 to compile QGIS with Qt6 on Ubuntu. There is a handy update-alternatives command to switch compiler versions, and I

Re: [QGIS-Developer] Understanding errors while building QGIS master

2025-04-29 Thread Stefanos Natsis via QGIS-Developer
Hi Hernan, Nlohmann json got updated to 3.11.3 in https://github.com/qgis/QGIS/pull/61597 a few days ago, maybe you could try building master before that? Best Stefanos On Tue, Apr 29, 2025, 10:04 AM Hernán De Angelis via QGIS-Developer < qgis-developer@lists.osgeo.org> wrote: > Hi > > I seek

Re: [QGIS-Developer] Understanding errors while building QGIS master

2025-04-29 Thread Jorge Gustavo Rocha via QGIS-Developer
Hi Hernán, I switched to clang 19 to compile QGIS with Qt6 on Ubuntu. There is a handy update-alternatives command to switch compiler versions, and I switch them all to clang before compiling QGIS. jgr@dragon:~/dev/cpp/build-qgis-qt6$ gcc --version Ubuntu clang version19.1.1(1ubuntu1) Target: