1.8.19 to 2.0.0 migration issues

I trying to migrate from 1.8.19 to 2.0.0 but having issues. Using a working ESP32 project that I developed in 1.8.19, compile times in 2.0.0 are in excess of 20min. I have set the sketch location the same for both. When set to verbose during compilation it is even longer than 20 min. Also compiler having trouble locating libraries, resolves to the wrong library on many, which I suspect is the cause for the long compile times. I'm also getting a "connection disposed" error.
Error messages are too long to post.

Hi @gottliebgreg. I'm sorry for the difficulty with the migration.

Where are you seeing this error?

Please paste them into a .txt file and then attach it in a reply here. You can make the attachment in either of two ways:

  • Drag and drop the file from your file manager into the forum reply.
  • Click the upload button (image) in the post composer toolbar, and then select the text file.
    image

errors.txt (217.0 KB)

I'm seeing it in a window that opens in the output window. Same place with a "copy error messages" button.

There is a very strange phenomenon shown in the output where three duplicate installations of each global library is discovered:

It is not unusual for multiple libraries to be discovered, but it is unusual for there to be multiple of the same name like we see here. And it is also unusual that there are always three.

This makes me think there is something strange with your sketchbook folder or libraries, like maybe a symlink loop.

Please try this experiment:

  1. Start the Arduino IDE if it is not already running.
  2. Select File > Preferences from the Arduino IDE menus.
  3. Click the "BROWSE" button to the right of the "Sketchbook location" field.
  4. Create and select an empty folder at any convenient location outside of your current sketchbook folder location.
  5. Click the "Choose" button in the "Select new sketchbook location" dialog.
  6. Click the "OK" button in the "Preferences" dialog.
  7. Select File > Quit from the Arduino IDE menus.
  8. Start the Arduino IDE.
  9. Use Library Manager to install the library dependencies of your project.
  10. Compile your project as usual.

Does the problem still occur when you do that?

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.