When I try to Verify a sketch this is the error I get. I have tried removing the Arduino15 folder contents and reinstalling the board manager (Arduino AVR Boards by Arduino). I have tried installing version 1.6.21 of that board manager as I found some forums that said there were issues with 1.6.22 and newer but no solution has worked so far. In the classic Arduino IDE I can compile and run sketches just fine, but with the 2.0 beta I always get:
Using board 'mega' from platform in folder: C:\Users\arcti\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.3
Using core 'arduino' from platform in folder: C:\Users\arcti\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.3
Detecting libraries used...
/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=atmega2560 -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR "-IC:\\Users\\arcti\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\arcti\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\variants\\mega" "C:\\Users\\arcti\\AppData\\Local\\Temp\\arduino-sketch-687A61D017DF9EB70F17061437DE4594\\sketch\\newBlink.ino.cpp" -o nul
Compilation error: Error: 2 UNKNOWN: exec: "/bin/avr-g++": file does not exist
Any suggestions?
I am trying to compile for "Arduino Mega or Mega 2560" as the selection under board manager if that is pertinent.