espsoftwareserial icon indicating copy to clipboard operation
espsoftwareserial copied to clipboard

circular_queue.h: No such file or directory

Open naufalrizri opened this issue 1 year ago • 3 comments

im working with software serial and i encounter this issue

fatal error: circular_queue.h: No such file or directory #include <circular_queue.h> ^~~~~~~~~~~~~~~~~~ compilation terminated.

naufalrizri avatar Mar 21 '24 09:03 naufalrizri

maybe check all files, or older release, or from fork that i was writing about this in another issue, maybe try using quotes instead <>, simple error, please check all possible solutions

popos123 avatar Mar 27 '24 15:03 popos123

I can confirm. This will happen to anyone trying to use the library currently. It is referenced here as well https://community.platformio.org/t/fatal-error-circular-queue-h-no-such-file-or-directory-espsoftwareserial-h/37959

This is a 100% breaking change since it is impossible to use the library without the file.

jenschr avatar Apr 07 '24 12:04 jenschr

Adding the files manually from version 7.0.2 also does not work since the library will then throw lots of new errors such as this:

SoftwareSerial.h:328:44: error: expected ';' at end of member declaration
     static inline uint32_t IRAM_ATTR ticks() ALWAYS_INLINE_ATTR {
                                            ^
                                             ;

jenschr avatar Apr 07 '24 12:04 jenschr