天天看點

樹莓派交叉編譯報錯

undefined reference to `std::__cxx11::basic_string<char, std::char_traits, std::allocator >::c_str() const’

交叉編譯的gcc版本不對

樹莓派上gcc版本是8.3.0

ubuntu上的交叉編譯的gcc版本是4.8