Updated libraries, now I can't compile an empty script even

I opened Arduino IDE today. Saw I had libraries to update, so I updated them. Now I can't compile anything, not even a blank script.

Here is the error message:

Arduino: 1.8.10 (Mac OS X), Board: "Arduino Uno"

/Applications/Arduino.app/Contents/Java/arduino-builder -dump-prefs -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -hardware /Users/spencerkraisler/Library/Arduino15/packages -hardware /Users/spencerkraisler/Documents/Arduino/hardware -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -tools /Users/spencerkraisler/Library/Arduino15/packages -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries /Users/spencerkraisler/Documents/Arduino/libraries -fqbn=arduino:avr:uno -ide-version=10810 -build-path /private/var/folders/gt/nkyg9gb13p7cfd9zttj0nkm40000gn/T/ArduinoServer/MW -warnings=none -build-cache /var/folders/gt/nkyg9gb13p7cfd9zttj0nkm40000gn/T/arduino_cache_443957 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=/Users/spencerkraisler/Library/Arduino15/packages/arduino/tools/arduinoOTA/1.3.0 -prefs=runtime.tools.arduinoOTA-1.3.0.path=/Users/spencerkraisler/Library/Arduino15/packages/arduino/tools/arduinoOTA/1.3.0 -prefs=runtime.tools.avr-gcc.path=/Users/spencerkraisler/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino5 -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino5.path=/Users/spencerkraisler/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino5 -prefs=runtime.tools.avrdude.path=/Users/spencerkraisler/Library/Arduino15/packages/arduino/tools/avrdude/6.3.0-arduino17 -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=/Users/spencerkraisler/Library/Arduino15/packages/arduino/tools/avrdude/6.3.0-arduino17 -verbose /var/folders/gt/nkyg9gb13p7cfd9zttj0nkm40000gn/T/untitled2091423253.tmp/sketch_jan06a/sketch_jan06a.ino
/Applications/Arduino.app/Contents/Java/arduino-builder -compile -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -hardware /Users/spencerkraisler/Library/Arduino15/packages -hardware /Users/spencerkraisler/Documents/Arduino/hardware -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -tools /Users/spencerkraisler/Library/Arduino15/packages -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries /Users/spencerkraisler/Documents/Arduino/libraries -fqbn=arduino:avr:uno -ide-version=10810 -build-path /private/var/folders/gt/nkyg9gb13p7cfd9zttj0nkm40000gn/T/ArduinoServer/MW -warnings=none -build-cache /var/folders/gt/nkyg9gb13p7cfd9zttj0nkm40000gn/T/arduino_cache_443957 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=/Users/spencerkraisler/Library/Arduino15/packages/arduino/tools/arduinoOTA/1.3.0 -prefs=runtime.tools.arduinoOTA-1.3.0.path=/Users/spencerkraisler/Library/Arduino15/packages/arduino/tools/arduinoOTA/1.3.0 -prefs=runtime.tools.avr-gcc.path=/Users/spencerkraisler/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino5 -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino5.path=/Users/spencerkraisler/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino5 -prefs=runtime.tools.avrdude.path=/Users/spencerkraisler/Library/Arduino15/packages/arduino/tools/avrdude/6.3.0-arduino17 -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=/Users/spencerkraisler/Library/Arduino15/packages/arduino/tools/avrdude/6.3.0-arduino17 -verbose /var/folders/gt/nkyg9gb13p7cfd9zttj0nkm40000gn/T/untitled2091423253.tmp/sketch_jan06a/sketch_jan06a.ino
Using board 'uno' from platform in folder: /Users/spencerkraisler/Library/Arduino15/packages/arduino/hardware/avr/1.8.2
Using core 'arduino' from platform in folder: /Users/spencerkraisler/Library/Arduino15/packages/arduino/hardware/avr/1.8.2
Detecting libraries used...
/Users/spencerkraisler/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino5/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10810 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -I/Users/spencerkraisler/Library/Arduino15/packages/arduino/hardware/avr/1.8.2/cores/arduino -I/Users/spencerkraisler/Library/Arduino15/packages/arduino/hardware/avr/1.8.2/variants/standard /private/var/folders/gt/nkyg9gb13p7cfd9zttj0nkm40000gn/T/ArduinoServer/MW/sketch/sketch_jan06a.ino.cpp -o /dev/null
fork/exec /Users/spencerkraisler/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino5/bin/avr-g++: no such file or directory
Error compiling for board Arduino Uno.

Did you try this yet:

pert:
Try closing all Arduino IDE windows, restarting the Arduino IDE, and then compiling again. It's possible that will fix the problem.

I've deleted your other cross-post @spencerkraisler.

Cross-posting is against the rules of the forum. The reason is that duplicate posts can waste the time of the people trying to help. Someone might spend 15 minutes (or more) writing a detailed answer on this topic, without knowing that someone else already did the same in the other topic.

Repeated cross-posting will result in a suspension from the forum.

In the future, please take some time to pick the forum board that best suits the topic of your question and then only post once to that forum board. This is basic forum etiquette, as explained in the sticky "How to use this forum - please read." post you will find at the top of every forum board. It contains a lot of other useful information. Please read it.

Thanks in advance for your cooperation.

pert:
Did you try this yet:

Yes I did, and it did not change anything.

This error indicates you need to take some drastic action. Be aware this is somewhat advanced and will remove any boards you have installed via Boards Manager:

  • In the Arduino IDE, click the link on the line following File > Preferences > More preferences can be edited directly in the file. This will open the Arduino15 (or similar name depending on OS) folder.
  • Delete all files and folders under the Arduino15 folder except for preferences.txt. Please be very careful when deleting things from your computer. When in doubt, back up!
  • Restart the Arduino IDE

Verify that you can now use your board before reinstalling any packages via Boards Manager.

I usually recommend to install a different version of the boards package and then the again the required version.

pert:
This error indicates you need to take some drastic action. Be aware this is somewhat advanced and will remove any boards you have installed via Boards Manager:

  • In the Arduino IDE, click the link on the line following File > Preferences > More preferences can be edited directly in the file. This will open the Arduino15 (or similar name depending on OS) folder.
  • Delete all files and folders under the Arduino15 folder except for preferences.txt. Please be very careful when deleting things from your computer. When in doubt, back up!
  • Restart the Arduino IDE

Verify that you can now use your board before reinstalling any packages via Boards Manager.

It worked. What was the issue?

I'm glad to hear it worked! The problem was something to do with the update of Arduino AVR Boards you installed via Boards Manager. I don't know exactly what went wrong. There is a possibility it will happen again when you update Arduino AVR Boards again, but I don't think that will happen.

I find it is not File>Preferences.... but Arduino>Preferences...

But to further clarify, can all of the "libraries" stuff under Arduino15 be moved to wherever I have my user Arduino stuff or does some stuff simply have to stay in the hidden Library file. I use Mac.

sevenoutpinball:
I find it is not File>Preferences.... but Arduino>Preferences...

File > Preferences is the menu path on Windows and Linux. I don't own a Mac and have only used macOS a few times in my life so I'm not very knowledgeable about that OS. I'll try to remember this for the future so that my instructions will apply to all operating systems.

sevenoutpinball:
can all of the "libraries" stuff under Arduino15 be moved to wherever I have my user Arduino stuff or does some stuff simply have to stay in the hidden Library file.

It all must stay at /Users/{username}/Library/Arduino15

The only possible other option would be to run the Arduino IDE in portable mode, in which case those files would be stored under the portable folder of the Arduino IDE subfolder. Unfortunately, it is either difficult or impossible to run the Arduino IDE in portable mode on macOS. More information here:
http://forum.arduino.cc/index.php?topic=539551.msg3678998#msg3678998

Why do you want to move it?

Sorry, didn't know PC was different.

I would like to have all the library files in ONE place. Somehow I wind up with too many directories for this stuff and one place would be great. Mac keeps the Arduino15 stuff in a hidden place and that makes it a hassle to deal with.

Theoretically, you can install the hardware cores in the hardware subfolder of your sketchbook. The reality is this can be quite difficult to do with some of the hardware cores, due to the need to install their toolchain in just the right place. I think it's more trouble than it's worth.

I get the same issue all the time. It seems that going from one board to another does this mostly. If you set it to Uno and just compile the blink it should work. Anything else is going to be a problem of incompatible library with your board.

sevenoutpinball:
If you set it to Uno and just compile the blink it should work. Anything else is going to be a problem of incompatible library with your board.

That's a huge exaggeration. There are as many, if not more, architecture-independent libraries as there are architecture-specific libraries. The Arduino framework has been designed with portability in mind.

And having all the libraries under one folder won't help at all with that.

If you're having a specific problem, create a new topic about it and we'll help you out.

I've run into issues where say multiple GitHub things use the same device but with different functions maybe but all using the nomenclature say <TEA5767.h>. So you get weird things in compile and if you are not used to that it is a hassle.