Skip to content
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

circular_queue.h: No such file or directory, after EspSoftwareSerial upgrade to 8.2.0 #81

Open
grz3chu opened this issue Jan 14, 2024 · 2 comments

Comments

@grz3chu
Copy link

grz3chu commented Jan 14, 2024

The EspSoftwareSerial project introduced major changes in version 8.2.0, currently the project is only built in version 8.0.3.

`In file included from .pio/libdeps/wemos_d1_mini32/EspSoftwareSerial/src/SoftwareSerial.cpp:21:
.pio/libdeps/wemos_d1_mini32/EspSoftwareSerial/src/SoftwareSerial.h:24:10: fatal error: circular_queue.h: No such file or directory



#include <circular_queue.h>
^~~~~~~~~~~~~~~~~~
compilation terminated.
Compiling .pio\build\wemos_d1_mini32\libcdf\ArduinoOTA\ArduinoOTA.cpp.o
Compiling .pio\build\wemos_d1_mini32\FrameworkArduino\Esp.cpp.o
Compiling .pio\build\wemos_d1_mini32\FrameworkArduino\FirmwareMSC.cpp.o
Compiling .pio\build\wemos_d1_mini32\FrameworkArduino\FunctionalInterrupt.cpp.o
*** [.pio\build\wemos_d1_mini32\lib65f\EspSoftwareSerial\SoftwareSerial.cpp.o] Error 1
========================================= [FAILED] Took 18.81 seconds =========================================

Environment Status Duration


wemos_d1_mini32 FAILED 00:00:18.806
==================================== 1 failed, 0 succeeded in 00:00:18.806 ====================================`

@grz3chu
Copy link
Author

grz3chu commented Jan 14, 2024

Switch to https://github.com/plerup/espsoftwareserial.git#8.0.3 in platformio.ini solves the problem.

@Bettapro
Copy link
Owner

As far as I understand, the problem is caused by a transitive dependency that is missing (platformio is not able to resolve and install at the moment).
image

The library is https://github.com/dok-net/ghostl .
You can use the previous version (as you mentioned) or just add it to lib_deps like so:
image

These are just temp. solutions, it will be solved automagically as soon as the library "ghostl" will be added to platformio registry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants