Cannot compile M5Paper Weather sketch



  • I have downloaded this sketch along with all of the XX.h files and installed them in my Arduino directory, as I have prviously done with other GIT sketches. https://github.com/Bastelschlumpf/M5PaperWeather/tree/master/weather Unfortunately I cannot get this sketch to compile, it complains that in "..../Time.h MyData was not declared in this scope"

    I have noticed that in Time.h there is the line 22 "#pragma once" which is not followed by any local XX.h files as it is in the other local libraries and .h files. I am nor familiar with" #pragma once" and am wondering if another library is supposed to declare MyData. MyData is declared as a class in Data.h.



  • Hello @Steve1

    looks like that issue isn't new. See here.

    Maybe try to contact the owner of the code?

    Thanks
    Felix