[QGIS-Developer] Unable to build 3.15 on CentOS 7 using GCC 9.2.0

Chris Peterson Chris_Peterson at Verizon.net
Wed Sep 9 11:59:43 PDT 2020


Developers:

I would like some help building 3.15 on CentOS 7 using GCC 9.2.0. I use
-D_GLIBCXX_USE_CXX11_ABI=0 to avoid many other errors relating to CXX11.

Is there something wrong with basic_stringstream in both
qgsbasicnumericformat.cpp and qgsfractionnumericformat.cpp?

 

[ 50%] Linking CXX shared library ../../output/lib/libqgis_core.so
CMakeFiles/qgis_core.dir/numericformats/qgsbasicnumericformat.cpp.o: In
function QgsBasicNumericFormat::formatDouble(double, QgsNumericFormatContext
const&) const': qgsbasicnumericformat.cpp:(.text+0x19d): undefined reference
to std::basic_stringstream<wchar_t, std::char_traits<wchar_t>,
std::allocator<wchar_t> >::basic_stringstream()'
CMakeFiles/qgis_core.dir/numericformats/qgsfractionnumericformat.cpp.o: In
function QgsFractionNumericFormat::formatDouble(double,
QgsNumericFormatContext const&) const':
qgsfractionnumericformat.cpp:(.text+0x1b6): undefined reference to
std::basic_stringstream<wchar_t, std::char_traits<wchar_t>,
std::allocator<wchar_t> >::basic_stringstream()'
collect2: error: ld returned 1 exit status
make[2]: *** [output/lib/libqgis_core.so.3.15.0] Error 1
make[1]: *** [src/core/CMakeFiles/qgis_core.dir/all] Error 2
make: *** [all] Error 2

 

I initially opened this as issue #38242 about a month ago.  I have been
attempting to register for this developers' list that entire time. I finally
was able to subscribe using my personal email, and only if I did NOT specify
a password on the form.

 

Regards,

Chris

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20200909/19329062/attachment.html>


More information about the QGIS-Developer mailing list