Hi,
I'm trying to compile a sketch with the code below, but always get the error message below. Any ideas for how to solve this would be really appreciated. I'm completely stuck.
C:\Users\Dad\Documents\Arduino\libraries\API_UHF\Reader.cpp:5:10: fatal error: memory.h: No such file or directory
#include <memory.h>
^~~~~~~~~~
compilation terminated.
exit status 1
Error compiling for board Arduino Uno.
#include <UHFRFID.h>
void setup() {
}
void loop() {
}
UHFRFID.h is a library for an RFID chip to go with my Arduino UNO. The RFID chip is a UHF (Ultra High Frequency) RFID chip, the libraries are shown in dropbox here: [API](Dropbox - API_UHF RFIDV1.5.5 English.zip - Simplify your life RFIDV1.5.5 english.zip?dl=0).
The Arduino libraries folder currently contains:
API_UHF\Reader.cpp
API_UHF\UHFRFID.dll
API_UHF\UHFRFID.h
API_UHF\UHFRFID.lib
Things I have already tried having googled this error message:
- changing the reader file type from .cpp to .ino, which gave a different message, objecting to the formatting of each line with
declspec(dllexport)
in it the UHFRFID.h file
-deleting
#include <memory.h>
from the Reader.cpp file, this resulted in the next line of code
#include <Windows.h>
not working, with the same error message, just that "#include <memory.h>" was swapped out for
"#include <windows.h>"
Any help would be most welcome.
Kind regards,
Xam1975