kid1000002000
New member
Hi, working on a project and I think I've isolated an issue. Can anyone get the pasted code to compile? I'm on a teensy 3.2 compiling on arch linux. Using Arduino IDE 1.8.5, Teensy 1.4.1. Happy to compile at the CLI if it would help.
Traceback:
Code:
#include <vector>
#include <string>
int main() {
std::vector <std::string> myVector;
myVector.push_back("stringA");
return 0;
}
Traceback:
Code:
/usr/share/arduino/hardware/tools/arm/bin/../lib/gcc/arm-none-eabi/5.4.1/../../../../arm-none-eabi/lib/armv7e-m/libc.a(lib_a-sbrkr.o): In function `_sbrk_r':
sbrkr.c:(.text._sbrk_r+0xc): undefined reference to `_sbrk'
collect2: error: ld returned 1 exit status
Error compiling for board Teensy 3.2 / 3.1.
Last edited: