Code Monkey home page Code Monkey logo

Comments (9)

MicroframeDev1 avatar MicroframeDev1 commented on May 20, 2024 1

pio upgrade --dev failed but gave instructions on how to upgrade from command line. Success. Now running PIO Core 6.1.15a1. Project compiles correctly when referencing our branch of ESPAsyncWebServer. Thank you for the quick fix!

from platformio-core.

MicroframeDev1 avatar MicroframeDev1 commented on May 20, 2024

Note we branched ESPAsyncWebServer and AsyncTCP to our own repository to workaround a bad update in AsyncTCP.cpp released by ESPHome. We've been using our branched/patched version for 2 months without issues.

from platformio-core.

ivankravets avatar ivankravets commented on May 20, 2024

Could you provide a simple project (ZIP archive attached to this issue as a comment) to reproduce the problem?

from platformio-core.

MicroframeDev1 avatar MicroframeDev1 commented on May 20, 2024

Adding lib_ldf_mode = deep+ to build flags makes no difference. It still can't find AsyncTCP.h.

from platformio-core.

MicroframeDev1 avatar MicroframeDev1 commented on May 20, 2024

Could you provide a simple project (ZIP archive attached to this issue as a comment) to reproduce the problem?

I'll attempt to strip the project down.

from platformio-core.

MicroframeDev1 avatar MicroframeDev1 commented on May 20, 2024

Update: it appears the failing project references a library in platformio.ini but doesn't call it in code yet. I have a similar project that does use #include <ESPAsyncWebServer.h> and it compiles properly.

from platformio-core.

MicroframeDev1 avatar MicroframeDev1 commented on May 20, 2024

MFSB2.zip

Note the project references a custom branch of ESPAsyncWebServer but doesn't actually call the include header. This project will fail to build.

Edit: is this an Uno Reverse card? The build system tries to link a library that isn't used?

from platformio-core.

ivankravets avatar ivankravets commented on May 20, 2024

Thanks for the provided project. The issue was linked with the nested dependency declared via VCS repository. See https://github.com/MicroframeDev1/ESPAsyncWebServer/blob/v3.1.0/library.json#L28

The solution is to avoid using VCS declarations, especially for nested dependencies. You can try a direct branch https://github.com/MicroframeDev1/ESPAsyncWebServer , it contains valid dependencies declared via semantic versioning.

from platformio-core.

ivankravets avatar ivankravets commented on May 20, 2024

You can also re-test this issue via pio upgrade --dev.

from platformio-core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.