arduino / arduino-ide

Arduino IDE 2.x
https://www.arduino.cc/en/software
GNU Affero General Public License v3.0
2.07k stars 353 forks source link

Any sketch takes hours to compile, 1.8.19 and 2.x #2415

Open thepurplepig opened 1 month ago

thepurplepig commented 1 month ago

Describe the problem

Any sketch (around 6 I am working on, all with ESP32 different boards) takes hours to compile on my win10 core i7 PC. Antivirus is off. The same sketches compile in seconds on my pi using IDE 1.8.19 Originally I was using IDE 2.3.2 on Win PC. I thought it may be due to a space in my Windows user folder name, so I set up a portable 1.8.19 installation and completely removed all arduino stuff from everywhere aside from the portable installation. Same issue always. Yesterday I compiled the ESP-Mail-Client example, it was successful but compilation took 7 hours. I don't know what else I can try, any suggestions please.

To reproduce

Compile any sketch

Expected behavior

Wait all day for compilation to finish

Arduino IDE version

2.3.2, 1.8.19

Operating system

Windows

Operating system version

22H2

Additional context

No response

Issue checklist