Beginner : No "hello, world"

Hi All,

I’m just starting with this. I set up my IDE (Arduino 1.8.16) on a Mac M1 (OS 12.0.1), download and installed the SAMD and Gamebuino META boards, selected Gamebuino META, download, installed, and included the Gamebuino META library.

I started the Pong tutorial and followed the 1st step to the letter (and semicolon :wink: but always get this error line when trying to compile the program:

“fork/exec /Users/Huasquitar/Library/Arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/bin/arm-none-eabi-g++: no such file or directory
Error compiling for board Gamebuino Meta”

Any idea about why it is not working? THANKS IN ADVANCE!

what is the first directory that doesn’t exist in the path? and when you say you installed the SAMD, was it “arduino samd boards (32-bits ARM Cortex M0+)”?

1 Like

Thanks for the reply. The one I quoted is the only directory that does not exist. And yes, that is exactly the Arduino SMD board I installed.

Hello,
It is strange indeed.
Can you copy the entire build messages here?
Jean Marie

1 Like

Absolutely. Here is the entire message I get when I verify the code:

Arduino: 1.8.16 (Mac OS X), Board: “Gamebuino Meta”

/Applications/Arduino.app/Contents/Java/arduino-builder -dump-prefs -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -hardware /Users/Huasquitar/Library/Arduino15/packages -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -tools /Users/Huasquitar/Library/Arduino15/packages -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries /Users/Huasquitar/Documents/Arduino/libraries -fqbn=gamebuino:samd:gamebuino_meta_native -ide-version=10816 -build-path /var/folders/q_/c9ztztqx0xz_c2_2jj86blz80000gn/T/arduino_build_438868 -warnings=none -build-cache /var/folders/q_/c9ztztqx0xz_c2_2jj86blz80000gn/T/arduino_cache_345589 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arm-none-eabi-gcc.path=/Users/Huasquitar/Library/Arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4 -prefs=runtime.tools.arm-none-eabi-gcc-7-2017q4.path=/Users/Huasquitar/Library/Arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4 -prefs=runtime.tools.openocd.path=/Users/Huasquitar/Library/Arduino15/packages/arduino/tools/openocd/0.10.0-arduino7 -prefs=runtime.tools.openocd-0.10.0-arduino7.path=/Users/Huasquitar/Library/Arduino15/packages/arduino/tools/openocd/0.10.0-arduino7 -prefs=runtime.tools.bossac.path=/Users/Huasquitar/Library/Arduino15/packages/arduino/tools/bossac/1.7.0-arduino3 -prefs=runtime.tools.bossac-1.7.0-arduino3.path=/Users/Huasquitar/Library/Arduino15/packages/arduino/tools/bossac/1.7.0-arduino3 -prefs=runtime.tools.CMSIS.path=/Users/Huasquitar/Library/Arduino15/packages/arduino/tools/CMSIS/4.5.0 -prefs=runtime.tools.CMSIS-4.5.0.path=/Users/Huasquitar/Library/Arduino15/packages/arduino/tools/CMSIS/4.5.0 -verbose /Users/Huasquitar/Documents/Arduino/PrimerPong/PrimerPong.ino
/Applications/Arduino.app/Contents/Java/arduino-builder -compile -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -hardware /Users/Huasquitar/Library/Arduino15/packages -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -tools /Users/Huasquitar/Library/Arduino15/packages -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries /Users/Huasquitar/Documents/Arduino/libraries -fqbn=gamebuino:samd:gamebuino_meta_native -ide-version=10816 -build-path /var/folders/q_/c9ztztqx0xz_c2_2jj86blz80000gn/T/arduino_build_438868 -warnings=none -build-cache /var/folders/q_/c9ztztqx0xz_c2_2jj86blz80000gn/T/arduino_cache_345589 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arm-none-eabi-gcc.path=/Users/Huasquitar/Library/Arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4 -prefs=runtime.tools.arm-none-eabi-gcc-7-2017q4.path=/Users/Huasquitar/Library/Arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4 -prefs=runtime.tools.openocd.path=/Users/Huasquitar/Library/Arduino15/packages/arduino/tools/openocd/0.10.0-arduino7 -prefs=runtime.tools.openocd-0.10.0-arduino7.path=/Users/Huasquitar/Library/Arduino15/packages/arduino/tools/openocd/0.10.0-arduino7 -prefs=runtime.tools.bossac.path=/Users/Huasquitar/Library/Arduino15/packages/arduino/tools/bossac/1.7.0-arduino3 -prefs=runtime.tools.bossac-1.7.0-arduino3.path=/Users/Huasquitar/Library/Arduino15/packages/arduino/tools/bossac/1.7.0-arduino3 -prefs=runtime.tools.CMSIS.path=/Users/Huasquitar/Library/Arduino15/packages/arduino/tools/CMSIS/4.5.0 -prefs=runtime.tools.CMSIS-4.5.0.path=/Users/Huasquitar/Library/Arduino15/packages/arduino/tools/CMSIS/4.5.0 -verbose /Users/Huasquitar/Documents/Arduino/PrimerPong/PrimerPong.ino
Using board ‘gamebuino_meta_native’ from platform in folder: /Users/Huasquitar/Library/Arduino15/packages/gamebuino/hardware/samd/1.2.2
Using core ‘arduino’ from platform in folder: /Users/Huasquitar/Library/Arduino15/packages/gamebuino/hardware/samd/1.2.2
Detecting libraries used…
/Users/Huasquitar/Library/Arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/bin/arm-none-eabi-g++ -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions “-D__SKETCH_NAME__=”"“PrimerPong.ino”""" -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10816 -DARDUINO_SAMD_ZERO -DARDUINO_ARCH_SAMD -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x804d -DUSBCON “-DUSB_MANUFACTURER=“Arduino LLC”” “-DUSB_PRODUCT=“Arduino Zero”” -I/Users/Huasquitar/Library/Arduino15/packages/arduino/tools/CMSIS/4.5.0/CMSIS/Include/ -I/Users/Huasquitar/Library/Arduino15/packages/arduino/tools/CMSIS-Atmel/1.2.0/CMSIS/Device/ATMEL/ -I/var/folders/q_/c9ztztqx0xz_c2_2jj86blz80000gn/T/arduino_build_438868 -I/Users/Huasquitar/Library/Arduino15/packages/gamebuino/hardware/samd/1.2.2/cores/arduino -I/Users/Huasquitar/Library/Arduino15/packages/gamebuino/hardware/samd/1.2.2/variants/gamebuino_meta /var/folders/q_/c9ztztqx0xz_c2_2jj86blz80000gn/T/arduino_build_438868/sketch/PrimerPong.ino.cpp -o /dev/null
fork/exec /Users/Huasquitar/Library/Arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/bin/arm-none-eabi-g++: no such file or directory
Error compiling for board Gamebuino Meta.

Thanks!

1 Like

I uninstalled the Arduino IDE completely and reinstalled everything again. That solved the problem. I guess it’s a bug I’ll never come to understand.

1 Like

Yes, probably a copy error or trace of an older install.
I know a few the Arduino IDE but not enough to have try to help for this type of error. I can talk now that you solved it :smiley:

1 Like

Good news,
we were a bit out of ideas.

1 Like

I do appreciate you people trying to help, though!

1 Like