Clean Install / Remove Libs etc on Mac OSX

Dear community,

I've found a couple of threads on similar issues for Windows users but none for OSX.
After a long pause in doing stuff with my electronics I wanted to restart my last unfinished project from 3 years ago. (Espressif ESP32-WROOM-DA Module) Back then it compiled and worked just fine.

Now, on a new laptop (just migrated files through iCloud, NOT applications!) and a way newer Arduino IDE version I suddenly got compiler errors with one lib. (ESP32_ISR_SERVO) As I couldn't find any solution, I even considered changing the existing code to a new lib. But I then had to realize that even example files of other libs do not compile.

Also, on every startup there are error messages about Arduino_BuiltIn about existing versions of some dependencies. Even after uninstalling EVERY lib through the lib manager and reinstalling Arduino IDE the situation remains the same.

My next idea would be to remove EVERYTHING Arduino IDE related (especially libs and program preferences). Except for my sketches, of course. But: HOW?

Any tutorial or guideline on how to proceed would be highly appreciated. Of course I'd be just as happy about any hint how to solve my issues in a different way.

Thank you in advance! :pray:

Hi @coxwaine.

Arduino IDE stores data under four separate external folders:

Sketchbook Folder

The libraries you install via the Arduino IDE Library Manager or the "Add .ZIP Library..." feature are installed under the libraries subfolder of the sketchbook folder.

The sketchbook folder location is configured via the Arduino IDE preferences.

You can determine the location by selecting File > Preferences from the Arduino IDE menus and then checking the path shown in the "Sketchbook location" preference.

Configuration Folder

This folder is located at the following path:

/Users/<username>/.arduinoIDE/

(where <username> is your macOS username)


:red_exclamation_mark: The .arduinoIDE folder is hidden by default. You can make it visible by pressing the Command+Shift+. keyboard shortcut.


Data Folder

This folder is located at the following path:

/Users/<username>/Library/Arduino15/

(Where <username> is your macOS username)


:red_exclamation_mark: The Library folder is hidden by default. You can make it visible by pressing the Command+Shift+. keyboard shortcut.


User Data Folder

This folder is located at the following path:

/Users/<username>/Library/Application Support/arduino-ide/

(where <username> is your macOS username)


:red_exclamation_mark: The Library folder is hidden by default. You can make it visible by pressing the Command+Shift+. keyboard shortcut.


1 Like

Hi @ptillisch ,

thanks so much for your well explained answer. This completely resolved my problem with the not installable libs!
In parallel I found out that my not compiling code was due to the latest ESP32 board version installed. After rolling back to a 2.x everything works again. Had not been aware, that here latest ain't always greatest!

Thanks again and best regards,
cox

You are welcome. I'm glad it is working now.

Regards,
Per

1 Like

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