You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Streams are listed under "Limitations" in the wiki. Can you elaborate on "If you use any streams, you'll need to compile library files beyond the headers."? I would very much like to use stringstreams, which appear to be defined in the headers but not built or linked to in the packaged arduino build (ie will compile if a statement like std::stringstream(str) is included, but throws linker errors if the stream is used)
E.g.,
[many more lines...]
...
/tmp/ccnalTw5.ltrans0.ltrans.o: In function `__base_ctor ':
/home/me/Arduino/libraries/stlport/stl/_ios.c:92: undefined reference to `std::ios_base::ios_base()'
/tmp/ccnalTw5.ltrans0.ltrans.o: In function `__base_ctor ':
/home/me/Arduino/libraries/stlport/stl/_streambuf.c:34: undefined reference to `std::locale::locale()'
/tmp/ccnalTw5.ltrans0.ltrans.o: In function `setup':
/home/me/Arduino/gmns_test/gmns_test.ino:478: undefined reference to `ss(std::basic_string<char, std::char_traits<char>, std::allocator<char> >)'
/home/me/Arduino/gmns_test/gmns_test.ino:478: undefined reference to `ss(std::basic_string<char, std::char_traits<char>, std::allocator<char> >)'
collect2: error: ld returned 1 exit status
exit status 1
Compilation error: exit status 1
The text was updated successfully, but these errors were encountered:
Streams are listed under "Limitations" in the wiki. Can you elaborate on
"If you use any streams, you'll need to compile library files beyond the headers."
? I would very much like to use stringstreams, which appear to be defined in the headers but not built or linked to in the packaged arduino build (ie will compile if a statement likestd::stringstream(str)
is included, but throws linker errors if the stream is used)E.g.,
The text was updated successfully, but these errors were encountered: