So you're a Noob? Post your questions here until you graduate! Don't be shy.

User avatar
By SuperVafle
#90475 Hi guys,
I am trying to compile my first program but can't handle it. Same error appears with all ESP8266 boards. I have installed ESP8266 via git, I went through all steps from documentation (https://arduino-esp8266.readthedocs.io/ ... lling.html). So far I do know cc1plus is for assembling c++ so I was looking for cc1plus.exe and found it here: C:\%USER%\Documents\Arduino\hardware\esp8266com\esp8266\tools\xtensa-lx106-elf\libexec\gcc\xtensa-lx106-elf\10.2.0

So my guess is that part of the compiling code does pointing to wrong dir of cc1plus, any suggestions ? :)

Error message:
Code: Select allArduino: 1.8.13 (Windows 10), Board: "LOLIN(WEMOS) D1 mini Pro, 80 MHz, Flash, Disabled (new aborts on oom), Disabled, All SSL ciphers (most compatible), 32KB cache + 32KB IRAM (balanced), Use pgm_read macros for IRAM/PROGMEM, 16MB (FS:14MB OTA:~1019KB), v2 Lower Memory, Disabled, None, Only Sketch, 921600"





















xtensa-lx106-elf-g++: fatal error: cannot execute 'cc1plus': CreateProcess: No such file or directory

compilation terminated.

exit status 1

Error compiling for board LOLIN(WEMOS) D1 mini Pro.



This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.