Hi Guys!
I am getting an error running ths "PlaySynthMusic" demo for the Teensy Audio Library. I get this error, the solution to which has eluded me:
The code to this sketch is here: https://github.com/PaulStoffregen/Audio/tree/master/examples/Synthesis/PlaySynthMusic
Any ideas?
I am getting an error running ths "PlaySynthMusic" demo for the Teensy Audio Library. I get this error, the solution to which has eluded me:
Code:
[ 97%] Creating /tmp/Stino_build/PlaySynthMusic/PlaySynthMusic.elf...
"/Applications/Arduino 1.0.6.app/Contents/Resources/Java/hardware/tools/arm-none-eabi/bin/arm-none-eabi-gcc" -Os -Wl,--gc-sections -mcpu=cortex-m4 -mthumb "-T/Applications/Arduino 1.0.6.app/Contents/Resources/Java/hardware/teensy/cores/teensy3/mk20dx256.ld" -o "/tmp/Stino_build/PlaySynthMusic/PlaySynthMusic.elf" "/tmp/Stino_build/PlaySynthMusic/PlaySynthMusic.ino.cpp.o" "/tmp/Stino_build/PlaySynthMusic/PlaySynthMusic/william_tell_overture.c.o" "/tmp/Stino_build/PlaySynthMusic/PlaySynthMusic/miditones/miditonesV1.6.c.o" "/tmp/Stino_build/PlaySynthMusic/core.a" "-L/tmp/Stino_build/PlaySynthMusic" -larm_cortexM4l_math -lm -gcc
/Applications/Arduino 1.0.6.app/Contents/Resources/Java/hardware/tools/arm-none-eabi/bin/../lib/gcc/arm-none-eabi/4.7.2/../../../../arm-none-eabi/lib/thumb2/libc.a(lib_a-openr.o): In function `_open_r':
openr.c:(.text+0x16): undefined reference to `_open'
/Applications/Arduino 1.0.6.app/Contents/Resources/Java/hardware/tools/arm-none-eabi/bin/../lib/gcc/arm-none-eabi/4.7.2/../../../../arm-none-eabi/lib/thumb2/libc.a(lib_a-gettimeofdayr.o): In function `_gettimeofday_r':
gettimeofdayr.c:(.text+0x14): undefined reference to `_gettimeofday'
collect2: error: ld returned 1 exit status
The code to this sketch is here: https://github.com/PaulStoffregen/Audio/tree/master/examples/Synthesis/PlaySynthMusic
Any ideas?
Last edited: