CodeBlocks 20.03 does not compile
by ordealbyfire83 from LinuxQuestions.org on (#52RGP)
I'm trying to build CodeBlocks 20.03 from source in a BLFS environment. A problem during linking, presumably for libcodeblocks.so.0.0.1
.libs/cbart_provider.o: In function `cbArtProvider::cbArtProvider(wxString const&)':
cbart_provider.cpp:(.text+0xc2): undefined reference to `std::__detail::_Prime_rehash_policy::_M_next_bkt(unsigned long) const'
This happens regardless of which version of wxWidgets I use (2.8.12 or 3.0.5) and also I've tried 3 versions of gcc/g++ as well as disabling precompiled headers. I should add that version 17.12 builds fine. Any help is appreciated.


.libs/cbart_provider.o: In function `cbArtProvider::cbArtProvider(wxString const&)':
cbart_provider.cpp:(.text+0xc2): undefined reference to `std::__detail::_Prime_rehash_policy::_M_next_bkt(unsigned long) const'
This happens regardless of which version of wxWidgets I use (2.8.12 or 3.0.5) and also I've tried 3 versions of gcc/g++ as well as disabling precompiled headers. I should add that version 17.12 builds fine. Any help is appreciated.