Error compiling

i need help trying to put games on my arduboy
i have installed libraries. i don’t know what to do…

Arduino: 1.8.5 (Mac OS X), Board: "Arduboy"

fatal error: runtime: bsdthread_register error (unset DYLD_INSERT_LIBRARIES)

runtime stack:
runtime.throw(0x183b20, 0x3f)
	/home/jenkins/go/src/runtime/panic.go:566 +0x95 fp=0x7fff5fbff610 sp=0x7fff5fbff5f0
runtime.goenvs()
	/home/jenkins/go/src/runtime/os_darwin.go:86 +0x85 fp=0x7fff5fbff640 sp=0x7fff5fbff610
runtime.schedinit()
	/home/jenkins/go/src/runtime/proc.go:450 +0x9c fp=0x7fff5fbff680 sp=0x7fff5fbff640
runtime.rt0_go(0x7fff5fbff6b0, 0x1d, 0x7fff5fbff6b0, 0x1000, 0x1d, 0x7fff5fbff890, 0x7fff5fbff8d6, 0x7fff5fbff8e2, 0x7fff5fbff8f2, 0x7fff5fbff8fc, ...)
	/home/jenkins/go/src/runtime/asm_amd64.s:145 +0x14f fp=0x7fff5fbff688 sp=0x7fff5fbff680
/Users/danieljholtz/Desktop/Arduino.app/Contents/Java/arduino-builder returned 2

Error compiling for board Arduboy.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

Hi, I know nothing about Mac’s but a quick google brought me to this.

  1. Open Trerminal
  2. Execute touch ~/.bash_profile
  3. Execute open ~/.bash_profile
    File “bash_profile” will be opened in TextEdit
  4. Add string DYLD_INSERT_LIBRARIES=
  5. Save, quit and reboot

This way helps me. Mac OS X 10.9.5 with Arduino IDE 1.8.1

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

It kinda looks like maybe Arduino isn’t installed and was trying to be run as portable from the desktop?

You might try asking in the Arduino forums as well seems like the problem is related to that instead of Arduboy specifically.

1 Like

Any luck @Daniel_Holtz? Let us know how things are going, we want to help!

@Daniel_Holtz did you manage to resolve the issue?