Hi All...
I am trying to use this library in a large application, and when I link it I get the errors pasted below. I have removed all places where the HardwareSerial.h library exists, and removed all Serial1 and Serial calls. I can build the samples. I realize the cause is because the compiler must be finding the original Serial library somewhere, but how to find it? Any hints?
Thanks...
-LC:\Users\jim\AppData\Local\Temp\build2981441506981796786.tmp -lm
core.a(HardwareSerial.cpp.o): In function __vector_20': C:\Users\jim\Desktop\arduino-1.0\hardware\maniacbug-mighty-1284p-8f335f8\cores\standard/HardwareSerial.cpp:106: multiple definition of
__vector_20'
SerialPort\SerialPort.cpp.o:C:\Users\jim\Desktop\arduino-1.0\libraries\SerialPort/SerialPort.cpp:198: first defined here
core.a(HardwareSerial.cpp.o): In function __vector_28': C:\Users\jim\Desktop\arduino-1.0\hardware\maniacbug-mighty-1284p-8f335f8\cores\standard/HardwareSerial.cpp:127: multiple definition of
__vector_28'
SerialPort\SerialPort.cpp.o:C:\Users\jim\Desktop\arduino-1.0\libraries\SerialPort/SerialPort.cpp:207: first defined here
core.a(HardwareSerial.cpp.o): In function __vector_21': C:\Users\jim\Desktop\arduino-1.0\hardware\maniacbug-mighty-1284p-8f335f8\cores\standard/HardwareSerial.cpp:190: multiple definition of
__vector_21'
SerialPort\SerialPort.cpp.o:C:\Users\jim\Desktop\arduino-1.0\libraries\SerialPort/SerialPort.cpp:243: first defined here
core.a(HardwareSerial.cpp.o): In function __vector_29': C:\Users\jim\Desktop\arduino-1.0\hardware\maniacbug-mighty-1284p-8f335f8\cores\standard/HardwareSerial.cpp:221: multiple definition of
__vector_29'
SerialPort\SerialPort.cpp.o:C:\Users\jim\Desktop\arduino-1.0\libraries\SerialPort/SerialPort.cpp:252: first defined here