Open Jlevett opened 5 years ago
I have the same problem when I try to compile code with this library included:
path/to/libary/DFRobot_SIM7000-master/DFRobot_SIM7000.h:4:29: fatal error: DFRobot_SIMcore.h: No such file or directory
#include "DFRobot_SIMcore.h"
And when I try to compile it along with the DFRobot_SIM library, there are many errors.
Ok, I've determined that the problem only arises if I have both
#include <DFRobot_SIM7000.h>
and
#include <RTClib.h>
in my script. There must be some kind of conflict between the libraries?
Ok, I think I have a fix. Lines 6 and 7 of the file DFRobot_SIM7000.h are:
#define ON 0
#define OFF 1
I can't find any file in that library that uses those constants, and they seem to interfere with the RTC library (some kind of namespace conflict, I think?), so I commented those two lines out, and everything compiles. Does it actually work? I don't know yet. But it does compile.
I have the same problem when I try to compile code with this library included:
path/to/libary/DFRobot_SIM7000-master/DFRobot_SIM7000.h:4:29: fatal error: DFRobot_SIMcore.h: No such file or directory #include "DFRobot_SIMcore.h"
And when I try to compile it along with the DFRobot_SIM library, there are many errors.
is this problem solved? If yes please tell me how to solve? Thanks!
Same issue, any update?
Open DFRobot_SIM7000.h file and change String.h to string.h. You should have string.h already available and your code should compile. I have another issue: Faile to set baud rate.
Project requires DFRobot_SIMcore.h and this is not included in the project and when external library (below) that has this file is added it does not compile and is full of errors.
https://github.com/DFRobot/DFRobot_SIM