[GH-ISSUE #626] sketch_jun18a:11: error: 'wifiManager' does not name a type #525

Closed
opened 2026-02-28 01:25:42 +03:00 by kerem · 6 comments
Owner

Originally created by @nufuk on GitHub (Jun 18, 2018).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/626

While trying the example code I get the following error when verifing:

sketch_jun18a:11: error: 'wifiManager' does not name a type

But I just literally copy & pasted the example from the README.md

Originally created by @nufuk on GitHub (Jun 18, 2018). Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/626 While trying the example code I get the following error when verifing: `sketch_jun18a:11: error: 'wifiManager' does not name a type` But I just literally copy & pasted the example from the README.md
kerem 2026-02-28 01:25:42 +03:00
  • closed this issue
  • added the
    Question
    label
Author
Owner

@tablatronix commented on GitHub (Jun 18, 2018):

do you have WiFiManager wifiManager; in head?

<!-- gh-comment-id:398161146 --> @tablatronix commented on GitHub (Jun 18, 2018): do you have `WiFiManager wifiManager;` in head?
Author
Owner

@nufuk commented on GitHub (Jun 19, 2018):

Hi,

I have copied the example from the README.md.
https://github.com/tzapu/WiFiManager#using
I included the 4 header files including the WiFiManager and then I try to autoconnect but the verifiy (compile) stept fails.

<!-- gh-comment-id:398334363 --> @nufuk commented on GitHub (Jun 19, 2018): Hi, I have copied the example from the README.md. https://github.com/tzapu/WiFiManager#using I included the 4 header files including the WiFiManager and then I try to autoconnect but the verifiy (compile) stept fails.
Author
Owner

@tablatronix commented on GitHub (Jun 19, 2018):

Why? Just use the examples included in the library. The readme is probably wrong

<!-- gh-comment-id:398373730 --> @tablatronix commented on GitHub (Jun 19, 2018): Why? Just use the examples included in the library. The readme is probably wrong
Author
Owner

@nufuk commented on GitHub (Jun 19, 2018):

Thanks, it worked after I used this example:
https://github.com/tzapu/WiFiManager/blob/master/examples/AutoConnect/AutoConnect.ino
maybe someone should update the readme :)

<!-- gh-comment-id:398479645 --> @nufuk commented on GitHub (Jun 19, 2018): Thanks, it worked after I used this example: https://github.com/tzapu/WiFiManager/blob/master/examples/AutoConnect/AutoConnect.ino maybe someone should update the readme :)
Author
Owner

@tablatronix commented on GitHub (Jun 19, 2018):

Not sure whats wrong with it, looks fine to me

<!-- gh-comment-id:398482394 --> @tablatronix commented on GitHub (Jun 19, 2018): Not sure whats wrong with it, looks fine to me
Author
Owner

@wdmtech commented on GitHub (Oct 8, 2020):

It's because you need the other dependencies that aren't listed - not that easy to figure it out as a beginner (unless you go straight to running the examples).

I'd PR but this project is new to me since this evening so I wouldn't want to touch anything yet!

<!-- gh-comment-id:705752353 --> @wdmtech commented on GitHub (Oct 8, 2020): It's because you need the other dependencies that aren't listed - not that easy to figure it out as a beginner (unless you go straight to running the examples). I'd PR but this project is new to me since this evening so I wouldn't want to touch anything yet!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/WiFiManager#525
No description provided.