CelliesProjects / ESP32_VS1053_Stream

A streaming library for Arduino esp32 with a vs1053 mp3/aac/ogg/flac decoder. Plays http, https (insecure mode) and chunked streams and parses the metadata. Also plays ogg and mp3 from sdcard.
MIT License
40 stars 10 forks source link

Error compiling simple.ino #25

Closed Sikkens99 closed 6 months ago

Sikkens99 commented 6 months ago

Compiling the example file simple,ino in Arduino IDE 1.8.19 results in "Error compiling for board ...." In my case the board is Doit Esp32 Devkit V1 but other ESP32 boards give the same error, The only error I noticed in the error output stream is the following: "...error: 'StaticRingbuffer_t' does not name a type StaticRingbuffer_t *_buffer_struct;"

What can be the problem?

CelliesProjects commented 6 months ago

I just installed IDE 1.8.19 fresh and can not reproduce your issue.

The example compiled fine with this result:

Using library HTTPClient at version 2.0.0 in folder: /home/cellie/.arduino15/packages/esp32/hardware/esp32/2.0.8/libraries/HTTPClient 
Using library WiFi at version 2.0.0 in folder: /home/cellie/.arduino15/packages/esp32/hardware/esp32/2.0.8/libraries/WiFi 
Using library WiFiClientSecure at version 2.0.0 in folder: /home/cellie/.arduino15/packages/esp32/hardware/esp32/2.0.8/libraries/WiFiClientSecure 
Using library ESP_VS1053_Library at version 1.1.4 in folder: /home/cellie/Arduino/libraries/ESP_VS1053_Library 
Using library SPI at version 2.0.0 in folder: /home/cellie/.arduino15/packages/esp32/hardware/esp32/2.0.8/libraries/SPI 
Using library ESP32_VS1053_Stream at version 2.0.6 in folder: /home/cellie/Arduino/libraries/ESP32_VS1053_Stream 
/home/cellie/.arduino15/packages/esp32/tools/xtensa-esp32s3-elf-gcc/esp-2021r2-patch5-8.4.0/bin/xtensa-esp32s3-elf-size -A /tmp/arduino_build_835353/sketch_mar15a.ino.elf
Sketch uses 857009 bytes (65%) of program storage space. Maximum is 1310720 bytes.
Global variables use 50380 bytes (15%) of dynamic memory, leaving 277300 bytes for local variables. Maximum is 327680 bytes.

Maybe your setup is somehow compromised. Maybe reinstall the IDE to see if that solves it? Or use another pc/laptop to check a fresh install.

Sikkens99 commented 6 months ago

Indeed reinstalling the IDE solved the issue. Thanks!