Ligne 25 : |
Ligne 25 : |
| | | |
| == Erreur de compilation "no such file" sous Mac == | | == Erreur de compilation "no such file" sous Mac == |
− | '''Q: So, I’m getting a 'no such file' error compiling for ESP8266 on my Mac. Que faire?''' | + | '''Q: J'obtiens le message d'erreur "no such file" lorsque je compile pour un ESP8266 sur mon Mac. Que faire?''' |
| | | |
− | If your error message looks like this:
| + | Si vous avez un message comme celui-ci: |
| | | |
− | fork/exec /Users/xxxxxxx/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++: no such file or directory | + | fork/exec /Users/xxxxxxx/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++: no such file or directory |
| Error compiling. | | Error compiling. |
| | | |
− | To fix this problem, do this:
| + | Faites les opérations suivantes pour corriger ce problème: |
− | # Open the Boards Manager in the Arduino IDE | + | # Ouvrez le gestionnaire de carte (''Boards Manager'') dans Arduino IDE |
− | # Uninstall the ESP8266 support | + | # Désinstaller le support ESP8266 |
− | # go to your ~LIbrary folder (in the Finder, select "Go::Go to folder:, and enter '''~Library''' ). Find the folder Arduino15. | + | # Rendez-vous dans le répertoire ~LIbrary (à l'aide de Finder, selectionnez "Go::Go to folder:, et saisissez '''~Library''' ). Trouvez le folder Arduino15. |
| # In the Arduino15 folder, go into packages, and delete the folder '''esp8266''' | | # In the Arduino15 folder, go into packages, and delete the folder '''esp8266''' |
| # Go back to the Arduino IDE, and install ESP8266 board support. | | # Go back to the Arduino IDE, and install ESP8266 board support. |