Error queue.h no such file


#1

hi
i am getting followingf error i tried everything but still getting this error
i removed esp8266 from board manager and reinstall 2.4.1 version but still getting error
i tried to include queue.h in program at in small and cap but still not working
i would like to use arduino uno board

C:\Program Files\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files\Arduino\hardware -hardware C:\Users\sarthak\AppData\Local\Arduino15\packages -tools C:\Program Files\Arduino\tools-builder -tools C:\Program Files\Arduino\hardware\tools\avr -tools C:\Users\sarthak\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files\Arduino\libraries -libraries C:\Users\sarthak\Documents\Arduino\libraries -fqbn=arduino:avr:uno -ide-version=10801 -build-path C:\Users\sarthak\AppData\Local\Temp\arduino_build_828818 -warnings=none -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Users\sarthak\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.1.1 -prefs=runtime.tools.avrdude.path=C:\Users\sarthak\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino9 -prefs=runtime.tools.avr-gcc.path=C:\Users\sarthak\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2 -verbose D:\ARDUINO\wlreceeiver\wlreceeiver.ino
C:\Program Files\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files\Arduino\hardware -hardware C:\Users\sarthak\AppData\Local\Arduino15\packages -tools C:\Program Files\Arduino\tools-builder -tools C:\Program Files\Arduino\hardware\tools\avr -tools C:\Users\sarthak\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files\Arduino\libraries -libraries C:\Users\sarthak\Documents\Arduino\libraries -fqbn=arduino:avr:uno -ide-version=10801 -build-path C:\Users\sarthak\AppData\Local\Temp\arduino_build_828818 -warnings=none -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Users\sarthak\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.1.1 -prefs=runtime.tools.avrdude.path=C:\Users\sarthak\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino9 -prefs=runtime.tools.avr-gcc.path=C:\Users\sarthak\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2 -verbose D:\ARDUINO\wlreceeiver\wlreceeiver.ino
Using board ‘uno’ from platform in folder: C:\Users\sarthak\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21
Using core ‘arduino’ from platform in folder: C:\Users\sarthak\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21
Detecting libraries used…
“C:\Users\sarthak\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2/bin/avr-g++” -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR “-IC:\Users\sarthak\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\cores\arduino” “-IC:\Users\sarthak\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\variants\standard” “C:\Users\sarthak\AppData\Local\Temp\arduino_build_828818\sketch\wlreceeiver.ino.cpp” -o “nul”
“C:\Users\sarthak\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2/bin/avr-g++” -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR “-IC:\Users\sarthak\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\cores\arduino” “-IC:\Users\sarthak\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\variants\standard” “-IC:\Program Files\Arduino\libraries\esp8266\src” “C:\Users\sarthak\AppData\Local\Temp\arduino_build_828818\sketch\wlreceeiver.ino.cpp” -o “nul”
“C:\Users\sarthak\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2/bin/avr-g++” -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR “-IC:\Users\sarthak\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\cores\arduino” “-IC:\Users\sarthak\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\variants\standard” “-IC:\Program Files\Arduino\libraries\esp8266\src” “-IC:\Program Files\Arduino\libraries\ESP8266WiFi\src” “C:\Users\sarthak\AppData\Local\Temp\arduino_build_828818\sketch\wlreceeiver.ino.cpp” -o “nul”
“C:\Users\sarthak\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2/bin/avr-g++” -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10801 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR “-IC:\Users\sarthak\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\cores\arduino” “-IC:\Users\sarthak\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.21\variants\standard” “-IC:\Program Files\Arduino\libraries\esp8266\src” “-IC:\Program Files\Arduino\libraries\ESP8266WiFi\src” “C:\Users\sarthak\AppData\Local\Temp\arduino_build_828818\sketch\wlreceeiver.ino.cpp” -o “C:\Users\sarthak\AppData\Local\Temp\arduino_build_828818\preproc\ctags_target_for_gcc_minus_e.cpp”
In file included from C:\Program Files\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFi.h:33:0,

             from D:\ARDUINO\wlreceeiver\wlreceeiver.ino:3:

C:\Program Files\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFiType.h:26:19: fatal error: queue.h: No such file or directory

#include <queue.h>

               ^

compilation terminated.

Using library esp8266 at version 1.0 in folder: C:\Program Files\Arduino\libraries\esp8266
Using library ESP8266WiFi at version 1.0 in folder: C:\Program Files\Arduino\libraries\ESP8266WiFi
exit status 1
Error compiling for board Arduino/Genuino Uno.


#2

Greetings, your issue seems related with the esp8266 Arduino library, not ours, please refer to this thread: https://github.com/esp8266/Arduino/issues/2717 to get additional hints of how to solve the problem or open directly an issue thread in the official ESP8266 Arduino repository.

All the best