arendst / Tasmota

Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
https://tasmota.github.io/docs
GNU General Public License v3.0
22.2k stars 4.81k forks source link

Wemos D1 Mini xtensa-lx106-elf-gcc: error: libraries\esp8266\esp8266.a: No such file or directory #6393

Closed frablaser closed 5 years ago

frablaser commented 5 years ago
Please take a few minutes to complete the requested information below. Our ability to provide assistance is greatly hampered without it. The details requested potentially affect which options to pursue. The small amount of time you spend completing the template will also help the volunteers providing the assistance to you to reduce the time required to help you. ### ISSUE DESCRIPTION - TROUBLESHOOTING _A clear description of what the issue is and be as extensive as possible_ When I try to compile to the Wemos D1 mini I got the Error: xtensa-lx106-elf-gcc: error: libraries\esp8266\esp8266.a: No such file or directory I reinstalled the : C:\Users\******\AppData\Local\Arduino15 directory and downloaded the Esp8266 cards again, but it didn't work. ![image](https://user-images.githubusercontent.com/29067539/64584755-05dbec00-d364-11e9-8ac9-7700bec6c963.png) ### REQUESTED INFORMATION _Make sure these boxes are checked before submitting your issue. Thank you_ **FAILURE TO COMPLETE THE REQUESTED INFORMATION WILL RESULT IN YOUR ISSUE BEING CLOSED** - [*] Read the [Contributing Guide and Policy](https://github.com/arendst/Sonoff-Tasmota/blob/development/CONTRIBUTING.md) and [the Code of Conduct](https://github.com/arendst/Sonoff-Tasmota/blob/development/CODE_OF_CONDUCT.md) - [*] Searched the problem in issues (https://github.com/arendst/Sonoff-Tasmota/issues) - [*] Searched the problem in the wiki (https://github.com/arendst/Sonoff-Tasmota/wiki/Troubleshooting) - [*] Searched the problem in the forum (https://groups.google.com/d/forum/sonoffusers) - [*] Searched the problem in the chat (https://discord.gg/Ks2Kzd4) - [*] Device used (i.e. Sonoff Basic) : _____ - [*] Tasmota binary firmware version number used : ____ / (pre-compiled or self-compiled ?) - [*] Development IDE - Compiler / Upload tools used : ____ / ____ - [*] Provide the output of command ``status 0`` : ``` STATUS 0 OUTPUT HERE: xtensa-lx106-elf-gcc: error: libraries\esp8266\esp8266.a: No such file or directory exit status 1 Erreur de compilation pour la carte LOLIN(WEMOS) D1 R2 & mini ``` - [ ] Provide the output of console when you experience your issue if apply : _(Please use_ ``weblog 4`` _for more debug information)_ ``` CONSOLE OUTPUT HERE: xtensa-lx106-elf-gcc: error: libraries\esp8266\esp8266.a: No such file or directory exit status 1 Erreur de compilation pour la carte LOLIN(WEMOS) D1 R2 & mini ``` **(Please, remember to close the issue when the problem has been addressed)**
Jason2866 commented 5 years ago

Setup error of Arduino IDE. Do exactly as described in wiki. If you do different you get errors... https://github.com/arendst/Sonoff-Tasmota/wiki/Arduino-IDE

Better IDE for a big project like Tasmota is PlatformIO. https://github.com/arendst/Sonoff-Tasmota/wiki/Flashing#flashing-and-compiling-from-source

frablaser commented 5 years ago

Hi thanks to your feedback,

I mixed the "Copy all files from the Tasmota release Source code folder lib into your sketchbook\libraries folder" with the C:\Program Files (x86)\Arduino\libraries...

That where bumped into... Now it works!

By the way, the PlatformIO have a very bad user friendly IDE,very hard to understand, I'm a guy working with Microsoft stuff since 30 years, I use Vs Code beginning from the start, but that one isn't easy to understand. I didn't like it on my first try... I need to use it on simple project to get the learning curve.

Jason2866 commented 5 years ago

I use VSC with PlatformIO plugin. If you are used to VSC give it a try. Setup is explained in wiki. Done in 5 minutes.

arendst commented 5 years ago

Close as it has been solved.