arduino-ide icon indicating copy to clipboard operation
arduino-ide copied to clipboard

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

Open thepurplepig opened this issue 10 months ago • 1 comments

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

  • [X] I searched for previous reports in the issue tracker
  • [X] I verified the problem still occurs when using the latest nightly build
  • [X] My report contains all necessary details

thepurplepig avatar Apr 11 '24 13:04 thepurplepig

I support you, although I don't have hours, but the compilation is indecently long. With the sdk version esp 32 3.0.0 and later, it became quite depressing to compile.

maksimus256 avatar Jun 12 '24 07:06 maksimus256