I am working on a project which includes Arduino and a fingerprint scanner. It is completely based on embedded system. But then, I have downloaded a library for the fingerprint scanner. When I run the program I get an error which maps to the cpp file of the library file. See below to see the error and the library file.
FPS_GT511C3\FPS_GT511C3.c.cpp.o: In function Command_Packet::GetPacketBytes()': C:\Users\Dipti\Documents\Arduino\libraries\FPS_GT511C3/FPS_GT511C3.c.cpp:17: undefined reference tooperator new(unsigned int)' FPS_GT511C3\FPS_GT511C3.c.cpp.o: In function FPS_GT511C3::GetResponse()': C:\Users\Dipti\Documents\Arduino\libraries\FPS_GT511C3/FPS_GT511C3.c.cpp:735: undefined reference tooperator new(unsigned int)' collect2.exe: error: ld returned 1 exit status
Library File (CPP)
byte* packetbytes= new byte;
byte* resp = new byte;