Home › Forums › Mayfly Data Logger › SDI 12 compilation error
- This topic has 1 reply, 2 voices, and was last updated 2024-02-28 at 4:31 PM by
Shannon Hicks.
-
AuthorPosts
-
-
2024-02-28 at 3:12 PM #18351I am using the Mayfly logger board and trying to connect it to the wifi to communicate the data from the DF robot turbidity sensor with another board using the Wi-Fi Bee module with the example code pI am using the Mayfly logger board and trying to connect it to the wifi to communicate the data from the DF robot turbidity sensor with another board using the Wi-Fi Bee module with the example code provided with it. My issue is that whenever I compile, it says this: SDI12_ExtInts.h: No such file or directory. Putting the file in my Arduino/libraries folder creates many more errors, so I took it out. Please help troubleshoot this problem.
Link for the sample wifi code: https://github.com/EnviroDIY/ModularSensors/blob/master/examples/DRWI_Mayfly1_WiFi/DRWI_Mayfly1_WiFi.ino
Link for the turbidity sensor
https://www.dfrobot.com/product-1394.html
Arduino: 1.8.18 (Mac OS X), Board: “EnviroDIY Mayfly 1284p”
In file included from /Users/anishpatel/Documents/Arduino/libraries/src/sensors/MeterHydros21.h:73:0,
from /Users/anishpatel/Documents/Arduino/fdv/fdv.ino:159:
/Users/anishpatel/Documents/Arduino/libraries/src/sensors/SDI12Sensors.h:88:10: fatal error: SDI12_ExtInts.h: No such file or directory
#include <SDI12_ExtInts.h>
^~~~~~~~~~~~~~~~~
compilation terminated.
exit status 1
Error compiling for board EnviroDIY Mayfly 1284p.This report would have more information with
“Show verbose output during compilation”
option enabled in File -> Preferences. -
2024-02-28 at 4:31 PM #18352Did you download the libraries.zip file correctly from this page carefully following the instructions in the Readme: https://github.com/EnviroDIY/Libraries
and then confirm that all 42 folders are
Did you download the libraries.zip file correctly from this page carefully following the instructions in the Readme: https://github.com/EnviroDIY/Librariesand then confirm that all 42 folders are in your Arduino/libraries folder (not nested into a sub-folder called “Arduino/libraries/libraries”) and that the folders contain actual files are are not empty? You also have to restart the Arduino IDE if you unzip the files into the Libraries folder while the IDE is running.
-
-
AuthorPosts
- You must be logged in to reply to this topic.