Welcome to EnviroDIY, a community for do-it-yourself environmental science and monitoring. EnviroDIY is part of WikiWatershed, an initiative of Stroud Water Research Center designed to help people advance knowledge and stewardship of fresh water.
New to EnviroDIY? Start here

SDI 12 compilation error

Home Forums Mayfly Data Logger SDI 12 compilation error

Viewing 1 reply thread
  • Author
    Posts
    • #18351
      WAEngineering
      Participant

        I 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.

      • #18352
        Shannon Hicks
        Moderator

          Did 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 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.

      Viewing 1 reply thread
      • You must be logged in to reply to this topic.