Undefined reference to std::basic_string with new version
hi. have problem hoped me with.
i have older project worked on using arduino ide 1.5.7 added "-std=gnu++11" compile flag , decided update newer ide version, can't program compile. i've tried arduino ide 1.8.0 , 1.6.13 same problem seems related usage of std::string.
so why have stopped working on new arduino version , there simple way fix this? if answer remove instances of std::string , use arduinos string instead have stick old ide.
the arduino due.
all input appreciated!
i have older project worked on using arduino ide 1.5.7 added "-std=gnu++11" compile flag , decided update newer ide version, can't program compile. i've tried arduino ide 1.8.0 , 1.6.13 same problem seems related usage of std::string.
code: [select]
undefined reference `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)'
undefined reference `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
undefined reference `std::string::_rep::_s_empty_rep_storage'
undefined reference `std::basic_string
so why have stopped working on new arduino version , there simple way fix this? if answer remove instances of std::string , use arduinos string instead have stick old ide.
the arduino due.
all input appreciated!

did chance declare strings? think might problem. also, if can post code great.
Arduino Forum > Using Arduino > Installation & Troubleshooting > Undefined reference to std::basic_string with new version
arduino
Comments
Post a Comment