# ESPAsyncWebServer compilation error (example "simple\_server.ino")

**URL:** <https://forum.arduino.cc/t/espasyncwebserver-compilation-error-example-simple-server-ino/1288748>\
**Category:** Programming\
**Created:** [August 5, 2024, 3:18pm UTC](https://forum.arduino.cc/t/espasyncwebserver-compilation-error-example-simple-server-ino/1288748 "2024-08-05T15:18:14Z")\
**Posts on this page:** 10\
**Page:** 2

<div class="post-metadata">

**Author:** ![gfvalvo](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/gfvalvo/32/1013044_2.png) [@gfvalvo](https://forum.arduino.cc/u/gfvalvo)\
**Post date:** [August 6, 2024, 2:35pm UTC](https://forum.arduino.cc/t/espasyncwebserver-compilation-error-example-simple-server-ino/1288748/21 "2024-08-06T14:35:30Z")

</div>

> [@sergio83100](#):
>
> But if you go the Arduino reference page for ESPAsyncWebSer, the latest version is 3.1.0, and is downloadable !!!

Supply a link for that page!

BTW, this thread has dragged on longer than it need to because getting information out of you is like pulling teeth. It would have moved along much more quickly had you supplied more complete information in your posts.

---

<div class="post-metadata">

**Author:** ![cotestatnt](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/cotestatnt/32/238781_2.png) [@cotestatnt](https://forum.arduino.cc/u/cotestatnt)\
**Post date:** [August 6, 2024, 2:42pm UTC](https://forum.arduino.cc/t/espasyncwebserver-compilation-error-example-simple-server-ino/1288748/22 "2024-08-06T14:42:45Z")

</div>

> [@sergio83100](#):
>
> But if you go the Arduino reference page for ESPAsyncWebSer, the latest version is 3.1.0, and is downloadable !!!

The ESPAsyncWebServer library was never added by the @me-no-dev original author to the "official" Arduino library manager and in fact, as someone already pointed out, there isn't even a release in the original repository.  
This is the reason why you need to add it manually using zip file.

With Arduino IDE library manager (and therefore also in the reference web page which is generated automatically), you can find a copy from github user @lacamera numbered version 3.1.0 which evidently has not yet been updated to work with the latest version of the ESP32 core (which incidentally is developed, among others, by the github user @me-no-dev).

---

<div class="post-metadata">

**Author:** ![sergio83100](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/sergio83100/32/1127255_2.png) [@sergio83100](https://forum.arduino.cc/u/sergio83100)\
**Post date:** [August 6, 2024, 2:58pm UTC](https://forum.arduino.cc/t/espasyncwebserver-compilation-error-example-simple-server-ino/1288748/23 "2024-08-06T14:58:16Z")

</div>

Hello cotestatnt,

Many thanks for these informations!  
But really it is a lot confusing to have two libraries with the same name and the same purpose, one referenced by Arduino other not ....

My test with esp32 package 3.0.4 and ESPAsyncWebser 2.1.4 is on his way.  
I'll late you know, but I'm confident.

---

<div class="post-metadata">

**Author:** ![sergio83100](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/sergio83100/32/1127255_2.png) [@sergio83100](https://forum.arduino.cc/u/sergio83100)\
**Post date:** [August 6, 2024, 3:03pm UTC](https://forum.arduino.cc/t/espasyncwebserver-compilation-error-example-simple-server-ino/1288748/24 "2024-08-06T15:03:16Z")

</div>

Hello gfvalvo,

As requested:

> **[ESPAsyncWebServer - Arduino Reference](https://www.arduino.cc/reference/en/libraries/espasyncwebserver/)**
>
> The Arduino programming language Reference, organized into Functions, Variable and Constant, and Structure keywords.

Many thanks for your help ...

---

<div class="post-metadata">

**Author:** ![gfvalvo](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/gfvalvo/32/1013044_2.png) [@gfvalvo](https://forum.arduino.cc/u/gfvalvo)\
**Post date:** [August 6, 2024, 3:09pm UTC](https://forum.arduino.cc/t/espasyncwebserver-compilation-error-example-simple-server-ino/1288748/25 "2024-08-06T15:09:19Z")

</div>

> [@sergio83100](#):
>
> [https://www.arduino.cc/reference/en/libraries/espasyncwebserver/](https://www.arduino.cc/reference/en/libraries/espasyncwebserver/)

As @cotestatnt mentioned, that's a fork of the original library from me-no-dev and it was last updated a year ago. If you want the latest (which includes ESP32 v3.x support), go to [https://github.com/me-no-dev/ESPAsyncWebServer](https://github.com/me-no-dev/ESPAsyncWebServer)

---

<div class="post-metadata">

**Author:** ![sergio83100](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/sergio83100/32/1127255_2.png) [@sergio83100](https://forum.arduino.cc/u/sergio83100)\
**Post date:** [August 6, 2024, 3:25pm UTC](https://forum.arduino.cc/t/espasyncwebserver-compilation-error-example-simple-server-ino/1288748/26 "2024-08-06T15:25:55Z")

</div>

It is what I have done, I'm waiting for the result of my sketches compilation ...

---

<div class="post-metadata">

**Author:** ![sergio83100](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/sergio83100/32/1127255_2.png) [@sergio83100](https://forum.arduino.cc/u/sergio83100)\
**Post date:** [August 6, 2024, 6:03pm UTC](https://forum.arduino.cc/t/espasyncwebserver-compilation-error-example-simple-server-ino/1288748/27 "2024-08-06T18:03:26Z")

</div>

Hello guy's  
I'm back on the forum, but this time with good news.  
Thank you for your help and patience, my problem is solved.  
I hear you, it was simple though... implementation of the wrong library. But frankly, an IDE that points to a library that is not up to date, and the right library that is not referenced in the IDE, is unusual...especially with the same name (!)  
From now on, I will be vigilant and download the libraries directly  
from Github, without going through the Arduino reference site, too bad....  
Again thank you to all of you!

---

<div class="post-metadata">

**Author:** ![cotestatnt](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/cotestatnt/32/238781_2.png) [@cotestatnt](https://forum.arduino.cc/u/cotestatnt)\
**Post date:** [August 7, 2024, 6:39am UTC](https://forum.arduino.cc/t/espasyncwebserver-compilation-error-example-simple-server-ino/1288748/28 "2024-08-07T06:39:24Z")

</div>

The libraries are written by users who make them available for free and 99.9% of these are also open source.  
Libraries are proposed to the Arduino team by adding the link to this [repository](https://github.com/arduino/library-registry).

The list of libraries available in the IDE and the generation of the reference page afterwards is done automatically using scripts. The Arduino team intervenes only in case of errors and only carries out a formal check, **not a content check**.

**The burden of verifying that a library work correctly and is well written lies with those who decide to use it.**

Usually when I need to use a new library, I'm used to visit the repository and analyze the sources.  
If they have been written clearly and I am convinced by the approach that has been adopted, then I try the library with the examples included and only then decide whether to use it or not.

It is understandable that a beginner does not have the skills to carry out an analysis of this type and therefore it is better to go to libraries that are more successful such as those of large groups such as Adafruit, DFRobots etc etc.  
A great way is to see how many stars have been given on github and if the repository is still active (issues to which the developer responds, other interactions, forks etc etc)

Finally, keep in mind that with ESP32 you have a large number of excellent libraries already included in the core which are developed and maintained directly by the great team that takes care of the [Arduino core for ESP32](https://github.com/espressif/arduino-esp32/tree/master).

For example, in this case you could take a look at the [WebServer](https://github.com/espressif/arduino-esp32/tree/master/libraries/WebServer) library which has nothing to envy of the _ESPAsyncWebServer_ and you can do exactly the same things with it (for me is also easier to use), thus eliminating an external dependency of your project (for better future maintainability).

---

<div class="post-metadata">

**Author:** ![sergio83100](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/sergio83100/32/1127255_2.png) [@sergio83100](https://forum.arduino.cc/u/sergio83100)\
**Post date:** [August 7, 2024, 7:14am UTC](https://forum.arduino.cc/t/espasyncwebserver-compilation-error-example-simple-server-ino/1288748/29 "2024-08-07T07:14:14Z")

</div>

Hello costestatnt,

Thank you for your advice, indeed my skills concerning the Arduino IDe environment do not allow me to intervene at your level. To tell you the truth, I develop applications with the B4X suite (B4A for Android and B4J for PC), B4R (among other things for ESP boards) is far from being at the level of Arduino!  
Some of my B4X applications relate to IOT, so I have to develop the applications at the other end and create the electronic glue that fits well, mostly ESP boards based. It is the reason what I'm Arduino IDE user.  
That said, despite my average level regarding Arduino, I corrected a bug on the DS18B20 library without resorting to help from the forum, and my correction works!  
Thank you again for your help!  
PS: I already had a look to the WebServer library, indeed it sounds good!

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [February 3, 2025, 7:14am UTC](https://forum.arduino.cc/t/espasyncwebserver-compilation-error-example-simple-server-ino/1288748/30 "2025-02-03T07:14:43Z")

</div>

Closed on February 3, 2025, 7:14am UTC

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.

[Previous page](https://forum.arduino.cc/t/espasyncwebserver-compilation-error-example-simple-server-ino/1288748.md?page=1)
