Maslow Home Maslow Community Garden Newsletter

Upload Issues - 4 days of banging my head on keyboard

Searched all known resources and wiped and reloaded repeatedly and followed instructions diligently yet am unable to upload.

Have uploaded and unzipped latest IDE and firmware
Im on Mac - Sierra 10.12.3

Same error on upload:

Arduino: 1.8.5 (Mac OS X), Board: “Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)”

fork/exec /Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++: no such file or directory
Error compiling for board Arduino/Genuino Mega or Mega 2560.

Can provide verbose error report if needed.

Please assist, my head is starting to hurt lol.

Thanks

Are you able to successfully compile the Blink example in the ArduinoIDE? The verbose report might have a clue.

No it will not let it upload

Arduino: 1.8.5 (Mac OS X), Board: “Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)”

/Applications/CAD CAM CNC/Arduino.app/Contents/Java/arduino-builder -dump-prefs -logger=machine -hardware /Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware -tools /Applications/CAD CAM CNC/Arduino.app/Contents/Java/tools-builder -tools /Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/tools/avr -built-in-libraries /Applications/CAD CAM CNC/Arduino.app/Contents/Java/libraries -libraries /Users/user/Documents/Arduino/libraries -fqbn=arduino:avr:mega:cpu=atmega2560 -vid-pid=0X2341_0X0042 -ide-version=10805 -build-path /var/folders/37/x5ky4ry93kd03lx_06qfncm40000gn/T/arduino_build_120634 -warnings=all -build-cache /var/folders/37/x5ky4ry93kd03lx_06qfncm40000gn/T/arduino_cache_923234 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avrdude.path=/Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/tools/avr -prefs=runtime.tools.avr-gcc.path=/Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/tools/avr -prefs=runtime.tools.arduinoOTA.path=/Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/tools/avr -verbose /Applications/CAD CAM CNC/Arduino.app/Contents/Java/examples/01.Basics/Blink/Blink.ino
/Applications/CAD CAM CNC/Arduino.app/Contents/Java/arduino-builder -compile -logger=machine -hardware /Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware -tools /Applications/CAD CAM CNC/Arduino.app/Contents/Java/tools-builder -tools /Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/tools/avr -built-in-libraries /Applications/CAD CAM CNC/Arduino.app/Contents/Java/libraries -libraries /Users/user/Documents/Arduino/libraries -fqbn=arduino:avr:mega:cpu=atmega2560 -vid-pid=0X2341_0X0042 -ide-version=10805 -build-path /var/folders/37/x5ky4ry93kd03lx_06qfncm40000gn/T/arduino_build_120634 -warnings=all -build-cache /var/folders/37/x5ky4ry93kd03lx_06qfncm40000gn/T/arduino_cache_923234 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avrdude.path=/Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/tools/avr -prefs=runtime.tools.avr-gcc.path=/Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/tools/avr -prefs=runtime.tools.arduinoOTA.path=/Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/tools/avr -verbose /Applications/CAD CAM CNC/Arduino.app/Contents/Java/examples/01.Basics/Blink/Blink.ino
Using board ‘mega’ from platform in folder: /Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/arduino/avr
Using core ‘arduino’ from platform in folder: /Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/arduino/avr
Detecting libraries used…
“/Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++” -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR “-I/Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino” “-I/Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/arduino/avr/variants/mega” “/var/folders/37/x5ky4ry93kd03lx_06qfncm40000gn/T/arduino_build_120634/sketch/Blink.ino.cpp” -o “/dev/null”
Generating function prototypes…
“/Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++” -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR “-I/Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino” “-I/Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/arduino/avr/variants/mega” “/var/folders/37/x5ky4ry93kd03lx_06qfncm40000gn/T/arduino_build_120634/sketch/Blink.ino.cpp” -o “/var/folders/37/x5ky4ry93kd03lx_06qfncm40000gn/T/arduino_build_120634/preproc/ctags_target_for_gcc_minus_e.cpp”
fork/exec /Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++: no such file or directory
Error compiling for board Arduino/Genuino Mega or Mega 2560.

Let’s take the hardware out of the equation to make sure it’s a software thing and not a hardware thing.

Will you try compiling but not uploading the firmware by pressing the check button in the upper left corner instead of the arrow? The board doesn’t even need to be plugged in.

2 Likes

This might help -

https://forum.arduino.cc/index.php?topic=313176.0

Thank you

No Joy.

Arduino: 1.8.5 (Mac OS X), Board: “Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)”

/Applications/CAD CAM CNC/Arduino.app/Contents/Java/arduino-builder -dump-prefs -logger=machine -hardware /Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware -tools /Applications/CAD CAM CNC/Arduino.app/Contents/Java/tools-builder -tools /Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/tools/avr -built-in-libraries /Applications/CAD CAM CNC/Arduino.app/Contents/Java/libraries -libraries /Users/user/Documents/Arduino/libraries -fqbn=arduino:avr:mega:cpu=atmega2560 -vid-pid=0X2341_0X0042 -ide-version=10805 -build-path /var/folders/37/x5ky4ry93kd03lx_06qfncm40000gn/T/arduino_build_750128 -warnings=all -build-cache /var/folders/37/x5ky4ry93kd03lx_06qfncm40000gn/T/arduino_cache_923234 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avrdude.path=/Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/tools/avr -prefs=runtime.tools.avr-gcc.path=/Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/tools/avr -prefs=runtime.tools.arduinoOTA.path=/Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/tools/avr -verbose /Applications/CAD CAM CNC/Firmware-1.18/cnc_ctrl_v1/cnc_ctrl_v1.ino
/Applications/CAD CAM CNC/Arduino.app/Contents/Java/arduino-builder -compile -logger=machine -hardware /Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware -tools /Applications/CAD CAM CNC/Arduino.app/Contents/Java/tools-builder -tools /Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/tools/avr -built-in-libraries /Applications/CAD CAM CNC/Arduino.app/Contents/Java/libraries -libraries /Users/user/Documents/Arduino/libraries -fqbn=arduino:avr:mega:cpu=atmega2560 -vid-pid=0X2341_0X0042 -ide-version=10805 -build-path /var/folders/37/x5ky4ry93kd03lx_06qfncm40000gn/T/arduino_build_750128 -warnings=all -build-cache /var/folders/37/x5ky4ry93kd03lx_06qfncm40000gn/T/arduino_cache_923234 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avrdude.path=/Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/tools/avr -prefs=runtime.tools.avr-gcc.path=/Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/tools/avr -prefs=runtime.tools.arduinoOTA.path=/Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/tools/avr -verbose /Applications/CAD CAM CNC/Firmware-1.18/cnc_ctrl_v1/cnc_ctrl_v1.ino
Using board ‘mega’ from platform in folder: /Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/arduino/avr
Using core ‘arduino’ from platform in folder: /Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/arduino/avr
Detecting libraries used…
“/Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++” -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR “-I/Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino” “-I/Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/arduino/avr/variants/mega” “/var/folders/37/x5ky4ry93kd03lx_06qfncm40000gn/T/arduino_build_750128/sketch/cnc_ctrl_v1.ino.cpp” -o “/dev/null”
“/Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++” -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR “-I/Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino” “-I/Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/arduino/avr/variants/mega” “/var/folders/37/x5ky4ry93kd03lx_06qfncm40000gn/T/arduino_build_750128/sketch/Axis.cpp” -o “/dev/null”
“/Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++” -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR “-I/Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino” “-I/Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/arduino/avr/variants/mega” “/var/folders/37/x5ky4ry93kd03lx_06qfncm40000gn/T/arduino_build_750128/sketch/Encoder.cpp” -o “/dev/null”
“/Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++” -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR “-I/Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino” “-I/Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/arduino/avr/variants/mega” “/var/folders/37/x5ky4ry93kd03lx_06qfncm40000gn/T/arduino_build_750128/sketch/GCode.cpp” -o “/dev/null”
“/Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++” -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR “-I/Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino” “-I/Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/arduino/avr/variants/mega” “/var/folders/37/x5ky4ry93kd03lx_06qfncm40000gn/T/arduino_build_750128/sketch/Kinematics.cpp” -o “/dev/null”
“/Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++” -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR “-I/Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino” “-I/Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/arduino/avr/variants/mega” “/var/folders/37/x5ky4ry93kd03lx_06qfncm40000gn/T/arduino_build_750128/sketch/Motion.cpp” -o “/dev/null”
“/Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++” -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR “-I/Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino” “-I/Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/arduino/avr/variants/mega” “/var/folders/37/x5ky4ry93kd03lx_06qfncm40000gn/T/arduino_build_750128/sketch/Motor.cpp” -o “/dev/null”
“/Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++” -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR “-I/Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino” “-I/Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/arduino/avr/variants/mega” “/var/folders/37/x5ky4ry93kd03lx_06qfncm40000gn/T/arduino_build_750128/sketch/MotorGearboxEncoder.cpp” -o “/dev/null”
“/Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++” -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR “-I/Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino” “-I/Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/arduino/avr/variants/mega” “/var/folders/37/x5ky4ry93kd03lx_06qfncm40000gn/T/arduino_build_750128/sketch/NutsAndBolts.cpp” -o “/dev/null”
“/Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++” -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR “-I/Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino” “-I/Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/arduino/avr/variants/mega” “/var/folders/37/x5ky4ry93kd03lx_06qfncm40000gn/T/arduino_build_750128/sketch/PID_v1.cpp” -o “/dev/null”
“/Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++” -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR “-I/Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino” “-I/Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/arduino/avr/variants/mega” “/var/folders/37/x5ky4ry93kd03lx_06qfncm40000gn/T/arduino_build_750128/sketch/Probe.cpp” -o “/dev/null”
“/Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++” -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR “-I/Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino” “-I/Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/arduino/avr/variants/mega” “/var/folders/37/x5ky4ry93kd03lx_06qfncm40000gn/T/arduino_build_750128/sketch/Report.cpp” -o “/dev/null”
“/Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++” -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR “-I/Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino” “-I/Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/arduino/avr/variants/mega” “/var/folders/37/x5ky4ry93kd03lx_06qfncm40000gn/T/arduino_build_750128/sketch/RingBuffer.cpp” -o “/dev/null”
“/Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++” -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR “-I/Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino” “-I/Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/arduino/avr/variants/mega” “/var/folders/37/x5ky4ry93kd03lx_06qfncm40000gn/T/arduino_build_750128/sketch/Settings.cpp” -o “/dev/null”
“/Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++” -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR “-I/Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino” “-I/Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/arduino/avr/variants/mega” “/var/folders/37/x5ky4ry93kd03lx_06qfncm40000gn/T/arduino_build_750128/sketch/SimavrSerial.cpp” -o “/dev/null”
“/Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++” -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR “-I/Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino” “-I/Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/arduino/avr/variants/mega” “/var/folders/37/x5ky4ry93kd03lx_06qfncm40000gn/T/arduino_build_750128/sketch/Spindle.cpp” -o “/dev/null”
“/Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++” -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR “-I/Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino” “-I/Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/arduino/avr/variants/mega” “/var/folders/37/x5ky4ry93kd03lx_06qfncm40000gn/T/arduino_build_750128/sketch/System.cpp” -o “/dev/null”
“/Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++” -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR “-I/Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino” “-I/Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/arduino/avr/variants/mega” “/var/folders/37/x5ky4ry93kd03lx_06qfncm40000gn/T/arduino_build_750128/sketch/Testing.cpp” -o “/dev/null”
“/Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++” -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR “-I/Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino” “-I/Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/arduino/avr/variants/mega” “/var/folders/37/x5ky4ry93kd03lx_06qfncm40000gn/T/arduino_build_750128/sketch/TimerOne.cpp” -o “/dev/null”
Generating function prototypes…
“/Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++” -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR “-I/Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino” “-I/Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/arduino/avr/variants/mega” “/var/folders/37/x5ky4ry93kd03lx_06qfncm40000gn/T/arduino_build_750128/sketch/cnc_ctrl_v1.ino.cpp” -o “/var/folders/37/x5ky4ry93kd03lx_06qfncm40000gn/T/arduino_build_750128/preproc/ctags_target_for_gcc_minus_e.cpp”
fork/exec /Applications/CAD CAM CNC/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++: no such file or directory
Error compiling for board Arduino/Genuino Mega or Mega 2560.

Not sure if this helps, the error message looks similar https://github.com/Sloeber/arduino-eclipse-plugin/issues/236

Thanks this helped me solve it although I did not do what it said

1 Like

I found the solution. Was reading link supplied by Bee https://forum.arduino.cc/index.php?topic=313176.0 and with Bar’s proving the issue was software related I went back to Bee’s link. The problem was file path in Bee’s link so I deleted the arduino IDE from my CAD folder in the applications folder and unzipped it directly into the applications folder and it compiles and uploads perfectly.

On the Mac IDE it seems has fixed addressing and it does not adjust for any variations.

Install IDE directly (and only) to the Applications folder.

Thanks for all the help.

4 Likes