Skip to content
This repository has been archived by the owner on Feb 4, 2023. It is now read-only.

Compile Error on Platformio #2

Closed
Gwenselah opened this issue Sep 2, 2020 · 5 comments
Closed

Compile Error on Platformio #2

Gwenselah opened this issue Sep 2, 2020 · 5 comments
Labels
good first issue Good for newcomers invalid This doesn't seem right

Comments

@Gwenselah
Copy link

Hello,

I try to compile the Async_ESP_FSWebServer example. On compiling I get this error:
image

My platformio.ini looks like:

[env:wemos_d1_mini32]
platform = espressif8266
board = d1_mini
board_build.filesystem = littlefs
framework = arduino
monitor_speed = 115200
lib_deps =
ESP Async WebServer
ESPAsyncTCP

What I am missing?

kind regards

@khoih-prog khoih-prog added good first issue Good for newcomers invalid This doesn't seem right labels Sep 3, 2020
@khoih-prog
Copy link
Owner

@Gwenselah

Thanks for using the library.

You have to update to use the new version ESPAsync_WiFiManager v1.1.1 to support MultiiFi

Check at then update either in

  1. Platform.io => ESPAsync_WifiManager
  2. GitHub => ESPAsync_WiFiManager v1.1.1

@kaspaas
Copy link

kaspaas commented Sep 3, 2020

Hi,

I'm getting the same error

image

All on rev 1.1.1

image

@kaspaas kaspaas mentioned this issue Sep 3, 2020
Closed
@khoih-prog
Copy link
Owner

@Gwenselah

If you still have the same error, try adding the forward declaration as follows:

...
String separatorLine = "===============================================================";

uint8_t connectMultiWiFi(void);

//format bytes
String formatBytes(size_t bytes) 
...

@Gwenselah
Copy link
Author

@khoih-prog This additional declaration helped to compile the code.
Thank you for your assistance

@khoih-prog
Copy link
Owner

HI @Gwenselah , @kaspaas

Just let you know the new ESPAsync_WiFiManager release v1.1.2 already fixes the issue as well as some bugs in examples.

khoih-prog pushed a commit that referenced this issue Feb 4, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
good first issue Good for newcomers invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

3 participants