Comments (9)
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.
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.
Could you provide a simple project (ZIP archive attached to this issue as a comment) to reproduce the problem?
from platformio-core.
Adding lib_ldf_mode = deep+
to build flags makes no difference. It still can't find AsyncTCP.h.
from platformio-core.
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.
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.
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.
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.
You can also re-test this issue via pio upgrade --dev
.
from platformio-core.
Related Issues (20)
- Can't have configuration sections that are empty in 6.1.6+ HOT 7
- we would suggest using the short name here (`mon swd`) as this might change through releases. Also, on a new enough BMP (v1.8 firmware or newer), `mon auto` allows what we've named "auto scan" which tries first JTAG and then SWD which opens this up to more targets. HOT 1
- Oh boy, I only just realized I picked the wrong project, sorry 😞 I must have been on platformio.org rather then on registry.platformio.org when I hit the "Report a Bug" link in the footer. HOT 1
- PlatformIO trips up on spaces inside microcontroller names on Windows 10
- AddPreAction doesn't work as expected HOT 1
- Unable to remove library from VS Code HOT 5
- Help with Migrating ESP-IDF Project to PlatformIO" HOT 1
- Include path doesn't always contain the dependencies from a library.json file HOT 9
- Silent failure when dependency path is incorrect in library.json
- Project is built with include directories for two different versions of the same library
- AMB82 and AMB82-mini - What a shame there's no support for those boards HOT 1
- Package CDN speed, Russia HOT 2
- Support concurrent access to shared PLATFORMIO_PACKAGES_DIR and PLATFORMIO_PLATFORMS_DIR for CI builds
- Multiple problems since reinstallation of
- Add a board config to 'Board Explorer' for standalone 328P PU (DIP28 IC on breadboard) with 8MHz and 1MHz internal clock
- hello? HOT 1
- Update clang-tidy support to v17.0.1 (or later)
- support for renesas risc-v mcu
- Platform IO not installing idf_component.yml HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from platformio-core.