Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hard to complile, maybe add. lib version? #15

Open
ZeFish opened this issue Aug 16, 2024 · 0 comments
Open

Hard to complile, maybe add. lib version? #15

ZeFish opened this issue Aug 16, 2024 · 0 comments

Comments

@ZeFish
Copy link

ZeFish commented Aug 16, 2024

I still get some issues, I'm using json 6.12.

Maybe add a list of the library version that works on?

`Users/francisfontaine/Documents/GitHub/M5PaperWeather/weather/time.h:25:21: error: 'MyData' was not declared in this scope
25 | bool SetRTCDateTime(MyData &myData)
| ^~~~~~
/Users/francisfontaine/Documents/GitHub/M5PaperWeather/weather/time.h:25:29: error: 'myData' was not declared in this scope
25 | bool SetRTCDateTime(MyData &myData)
| ^~~~~~
In file included from /Users/francisfontaine/Documents/GitHub/M5PaperWeather/weather/weather.ino:34:
/Users/francisfontaine/Documents/GitHub/M5PaperWeather/weather/Time.h:25:35: error: 'bool SetRTCDateTime(MyData&)' redeclared as different kind of entity
25 | bool SetRTCDateTime(MyData &myData)
| ^
/Users/francisfontaine/Documents/GitHub/M5PaperWeather/weather/time.h:25:6: note: previous declaration 'bool SetRTCDateTime'
25 | bool SetRTCDateTime(MyData &myData)
| ^~~~~~~~~~~~~~
/Users/francisfontaine/Documents/GitHub/M5PaperWeather/weather/weather.ino: In function 'void setup()':
/Users/francisfontaine/Documents/GitHub/M5PaperWeather/weather/weather.ino:57:24: error: 'SetRTCDateTime' cannot be used as a function
57 | SetRTCDateTime(myData);
| ~~~~~~~~~~~~~~^~~~~~~~
Multiple libraries were found for "SD.h"
Used: /Users/francisfontaine/Library/Arduino15/packages/esp32/hardware/esp32/3.0.3/libraries/SD
Not used: /Users/francisfontaine/Library/Arduino15/libraries/SD
exit status 1

Compilation error: 'bool SetRTCDateTime(MyData&)' redeclared as different kind of entity`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant