Lot of "was not declared in this scope" errors in compilation. No clue.

arduarn:
I attach here the espurna.ino.cpp after failed compilation as suggested (and I checked the time stamps to be sure it is the same that has been built together with the error message I attached in last last post).

This evening (it is 3PM here) I am also going to update to last (stable) version (1.8.3 as I see on the site, (but what is "crusty?)).

johnwasser:
The location of debugSendP has been the first thing that I checked after your previous suggestion to check the first error message in the first place: it is defined in the debug.ino file (line 44, file inside the same directory of espurna.ino and appearing inside the IDE window) and looks as good as I have put it in my minimized test (and it is not surrounded by conditional compiling directives).
Although not included in my minimization, mqttConnected is in a similar situation, defined in file mqtt.ino etc. etc.
Configuration flags are exactly as depicted in the 4th figure of the building instructions (cfr. my post of Jul 14, 2017, 04:52 pm)

espurna.ino.zip (27.5 KB)

ginsi:
I attach here the espurna.ino.cpp after failed compilation as suggested (and I checked the time stamps to be sure it is the same that has been built together with the error message I attached in last last post).

Old and crusty - sorry, just being light hearted.
I'm no expert in the Arduino build system, but I don't see the function prototypes that I expected in your file. When I compare with my own files, I can see the prototypes in them.
I think maybe there is a problem with the tooling.

ginsi:
This evening (it is 3PM here) I am also going to update to last (stable) version (1.8.3 as I see on the site

Yes, try this first, then we'll see.

WOW!!!
With the new IDE it compiles with no errors!!!

I thank very much arduan, who actually solved my problem, but also johnwasser, who has for sure put a non negligible effort in trying, and all the others who paid attention to my posts.

arduan: nothing to be sorry about "crusty"; simply - since English is not my mother language (as you probably guessed :slight_smile: ) - I had not understood; I actually was supposing that it was a nick name for a particular release... :o

Next step for me will be download the software to the board and see what happens (so i cross my fingers now!).

ginsi:
WOW!!!
With the new IDE it compiles with no errors!!!

Excellent!