Compilation issues #13
-
Hi, got a couple of minor challenges. I'm not a competent programmer so struggling. I believe i've got all libraries and set board correctly etc. My issue is a couple of actions picked up during compilation that are not declared (i've tried in IDE 1.8 and 2.3.2). Can anyone please point me in the right direction? I've been compiling XY-clock and can see some definitions in config manager but don't understand what to load when and how they all fit together! Thanks :-) C:\Users\melbu\Documents\Arduino\XY-Wifi-Clock\XY-Wifi-Clock.ino: In function 'void setup()': exit status 1 Compilation error: 'loadSettings' was not declared in this scope; did you mean 'SPISettings'? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 3 replies
-
Hi @melbnz, If you wanna zip your project folder up and attach, happy to see if I can re-rpoduce the error also. Best of luck! |
Beta Was this translation helpful? Give feedback.
-
Thanks Eden, I really appreciate you responding 😊
I just can’t work out what I’m doing wrong! And it will end up something silly!
Just upgraded to 1.8.19 and same compile error
I also made a new version of the ino copying RAW from your code and get same error
I cant see any parameters I need to edit – are there any?
Before you dive in…I did have a couple of library issues/differences
* OTA – I already have the default ArduinoOTA.h loaded – no idea where it lives – but you use it with ESP examples. When I added jandrassy version I get a conflict so moved his out of library folder
* Wifimanager this is the version I installed which may be different?
Attached is my zipped project folder.
At some stage I’d like to understand what/how I could use the other ino files: config and website…
Thanks in advance
Mike
From: CasualCoder ***@***.***>
Sent: Monday, February 26, 2024 12:57 AM
To: EdenRidgway/XY-Wifi-Clock ***@***.***>
Cc: melbnz ***@***.***>; Mention ***@***.***>
Subject: Re: [EdenRidgway/XY-Wifi-Clock] Compilation issues (Discussion #13)
Hi @melbnz <https://github.com/melbnz> ,
I have Arduino IDE v 1.8.19 and was able to compile the project without the errors you mention. Can you check and see if there could be any inadvertent changes to the XY-Wifi-Clock.ino file? Perhaps using a diff tool like Winmerge (Windows) or Meld (Linux).
If you wanna zip your project folder up and attach, happy to see if I can re-rpoduce the error also.
Best of luck!
—
Reply to this email directly, view it on GitHub <#13 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/ASOXMCXX5HHU54CKBYXE2FTYVMRI3AVCNFSM6AAAAABDXURCJCVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DKOBSGQ2TG> .
You are receiving this because you were mentioned. <https://github.com/notifications/beacon/ASOXMCUX2UCPR37SXCG57UDYVMRI3A5CNFSM6AAAAABDXURCJCWGG33NNVSW45C7OR4XAZNRIRUXGY3VONZWS33OINXW23LFNZ2KUY3PNVWWK3TUL5UWJTQAQL2TK.gif> Message ID: < ***@***.***> ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hi @melbnz ,
p.s. I'm not Eden :-) ... they are the creator of this project. I'm just a humble user :-) |
Beta Was this translation helpful? Give feedback.
-
Thanks Humble casual coder. I replied via email and it excluded all my screenshots and attachments! I’ve replied using GitHub this time. I can install the jandrassy ota library but when I compile it states I have a conflict, “ Multiple libraries were found for "ArduinoOTA.h" Added attachments
thanks |
Beta Was this translation helpful? Give feedback.
Thanks. Got your zip file now and the screenshots!
Think the issue is that you are missing some of the other '.ino' files, namely ConfigManager.ino and WebSite.ino ... these two files contain the declaration/implementations of the functions
loadSettings()
andstartWebServer()
respectively.For reference, this is what my project's root folder looks like (I just cloned the whole repo):
If I try and compile the project folder as you sent it, I get the same errors as you! (a good sign)
If I then copy over the missing files + folders into your project folder, then it compiles without issue.
Hope that helps.
p.s. Before copying across the missing files, after compilation, I get a warning that …