I am new to LoraWAN and recently tried using this library with the Adafruit Feather 32u4 with RFM95W to send pressure and temperature data using a S2Go DPS310. When compiling the code, I get the following error:
In file included from c:\Users\XXX\Documents\Arduino\libraries\MCCI_Arduino_LoRaWAN_Library\src/Arduino_LoRaWAN_network.h:19:0,
from C:\Users\matth\Documents\Arduino\v2_feather_rfm95w\v2_feather_rfm95w.ino:20:
c:\Users\XXX\Documents\Arduino\libraries\MCCI_Arduino_LoRaWAN_Library\src/Arduino_LoRaWAN.h:19:10: fatal error: cstdint: No such file or directory
#include <cstdint>
^~~~~~~~~
compilation terminated.
exit status 1
Compilation error: exit status 1
I tried searching for solutions to this issue, but I could not find one that worked. I also tried compiling the _simple_sensorbme280.ino example, and the same error appears.
Environment and Code:
My code: https://pastebin.com/pu7z3qJM (still a work in progress)
Platform: Arduino IDE 2.3.2
Board: Adafruit Feather 32u4 with RFM95W
Windows 11
Here are the following potential solutions I have tried:
reinstalled the IDE
reinstalled the library
tested in two computers
downgraded to Arduino IDE 2.2.1
changed cstdint to stdint.h, the error remains but for cstring instead
compiled a different code with Arduino_LoRaWAN_network.h (simple_sensor_bme280.ino)
tried compiling with a different board (Arduino UNO)
I have also found this issue for another library, it seems like it might still be an Arduino IDE issue.
Is there may be a way to bypass this issue? I am not sure how to proceed anymore. Any help would be greatly appreciated!
Good day!
I am new to LoraWAN and recently tried using this library with the Adafruit Feather 32u4 with RFM95W to send pressure and temperature data using a S2Go DPS310. When compiling the code, I get the following error:
I tried searching for solutions to this issue, but I could not find one that worked. I also tried compiling the _simple_sensorbme280.ino example, and the same error appears.
Environment and Code: My code: https://pastebin.com/pu7z3qJM (still a work in progress) Platform: Arduino IDE 2.3.2 Board: Adafruit Feather 32u4 with RFM95W Windows 11
Here are the following potential solutions I have tried:
I have also found this issue for another library, it seems like it might still be an Arduino IDE issue.
Is there may be a way to bypass this issue? I am not sure how to proceed anymore. Any help would be greatly appreciated!