Hello, I am experiencing a recurring issue that I can't find any posts that provide a solution. I have code that includes a custom cpp Library I created. When I run my code on Arduino, things run fine. But when I go to upload it to the ATtiny 85 I get the following error. Any help would be appreciated. Its driving me nuts. I have included library file and header file.
libraries\LEDController\LEDPattern.cpp.o: In function `Pattern::Pattern(double*, double*, int)':
C:\Users\Jeff\Documents\Arduino\libraries\LEDController/LEDPattern.cpp:21: undefined reference to `operator new[](unsigned int)'
C:\Users\Jeff\Documents\Arduino\libraries\LEDController/LEDPattern.cpp:21: undefined reference to `operator new[](unsigned int)'
libraries\LEDController\LEDPattern.cpp.o: In function `LEDProgram::LEDProgram(Pattern*, int)':
C:\Users\Jeff\Documents\Arduino\libraries\LEDController/LEDPattern.cpp:35: undefined reference to `operator new[](unsigned int)'
collect2.exe: error: ld returned 1 exit status
exit status 1
Error compiling for board ATtiny85 @ 8 MHz (internal oscillator; BOD disabled).
LEDPattern.cpp (1.7 KB)
LEDPattern.h (940 Bytes)