-
Notifications
You must be signed in to change notification settings - Fork 305
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Out of date AsyncTCP dependency? #444
Comments
FreeRTOS? AsyncTCP is an ESP32 library, ESPAsyncTCP is for ESP8266, you
need this one.
Le mer. 6 déc. 2017 à 18:38, Kyle Gordon <notifications@github.com> a
écrit :
… I've run into a compilation issue with #develop branch, as seen at
https://travis-ci.org/kylegordon/homie-sonoff-touch/builds/312535275#L727
where it's failing with fatal error: freertos/semphr.h: No such file or
directory
It's apparently a solved problem, as per me-no-dev/AsyncTCP#2
<me-no-dev/AsyncTCP#2> so I was wondering if
Homie has an out of date dependency?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#444>, or mute the
thread
<https://github.com/notifications/unsubscribe-auth/AA8eNY2guQG-BkfJ_xC5bJ7abA75meo2ks5s9tEjgaJpZM4Q4UD_>
.
|
travis-ci can reproduce, see https://travis-ci.org/euphi/Homie_BareMinimum/builds/312604604 . For this test, I created a very simple repository https://github.com/euphi/Homie_BareMinimum . |
One strange thing is that I have a different dependency tree at home than travis-ci:
Note that v2.0.0 is listed two times - with different dependencies to lower-level libraries?! (version of platformio is "PlatformIO, version 3.4.1" in both cases). I saw that the examples from Homie run fine on circle-ci. And also one of my larger projects compiles fine at home with Homie v2.0.0-beta.3 (I haven't tried the others yet). |
Oh, the "larger project" is also on travis-ci - and compiles fine after upgrading Homie to latest development (==v2.0.0-beta.3): https://travis-ci.org/euphi/ESP_Homie_WS2812FX (and compiled fine before upgrade) |
@marvinroger I agree, it shouldn't be requiring ESP32 libraries. I'm not declaring anything other than Homie though. If you have a look at line 578, https://travis-ci.org/kylegordon/homie-sonoff-touch/builds/312535275#L578 it seems to be bringing it in via v1.1.1 Is this a problem that should be referred to https://github.com/me-no-dev/ESPAsyncWebServer (again) ? |
Yeah, setting the ldf-mode of platformio to chain+ (instead of the default chain) fixes the problem. (see platformio/platformio-core#1153) Commit: |
So whats needed to be done here ? |
Hello, I'm facing the same issue, but I can't remove the wrong lib. First I do: thomas@Thomas-Aspire-V5-573G:~/MEGA/Coding/plant_care/plant_care_esp8266$ pio lib uninstall AsyncTCP
Library Storage: /home/thomas/MEGA/Coding/plant_care/plant_care_esp8266/.piolibdeps
Uninstalling AsyncTCP @ 1.0.1: [OK]
thomas@Thomas-Aspire-V5-573G:~/MEGA/Coding/plant_care/plant_care_esp8266$ pio lib uninstall AsyncTCP
Library Storage: /home/thomas/MEGA/Coding/plant_care/plant_care_esp8266/.piolibdeps
Error: Detected unknown package 'AsyncTCP @ *' But then I get: (It just reinstalls the libraries)
|
@ThomasDevoogdt do you use the latest PIO Core 3.5.0?
|
I tried to compile https://github.com/euphi/Homie_BareMinimum again, with a fresh checkout, and it seems to fail. Using PlatformIO 3.5.0 here.
However, if you run I don't know why pio run brings in ESPAsyncTCP 1.0.1, but the update seems to get 1.1.3 instead. After 1.1.3 is installed, it will compile as expected. |
Because
Please contact @marvinroger and ask them to resolve all issues with dependencies. |
yep i think the issue is that |
@ivankravets I created a feature request that may help tracking down such problems: platformio/platformio-core#1274 |
This should be fixed now ? |
Yes, it seems to be working as expected now. A clean checkout of some Homie based projects results in a clean build from 'pio run'. Many thanks for everyone's help here! |
I've run into a compilation issue with #develop branch, as seen at https://travis-ci.org/kylegordon/homie-sonoff-touch/builds/312535275#L727 where it's failing with
fatal error: freertos/semphr.h: No such file or directory
It's apparently a solved problem, as per me-no-dev/AsyncTCP#2 so I was wondering if Homie has an out of date dependency?
The text was updated successfully, but these errors were encountered: