Have a teensy 3.6. Using both platformIO and teensyduino. Trying to compile the program - https://github.com/PaulStoffregen/Au...synth_sine.cpp

In teensyduino, I am getting the following errors:

Code:
C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\Audio/synth_sine.cpp:43: multiple definition of `AudioSynthWaveformSine::update()'
C:\Users\amikam\AppData\Local\Temp\arduino_build_763660\sketch\sketch_jan11a.ino.cpp.o:C:\Users\amikam\Documents\Arduino\sketch_jan11a/sketch_jan11a.ino:43: first defined here
c:/program files (x86)/arduino/hardware/tools/arm/bin/../lib/gcc/arm-none-eabi/5.4.1/../../../../arm-none-eabi/bin/ld.exe: Disabling relaxation: it will not work with multiple definitions
C:\Users\amikam\AppData\Local\Temp\arduino_build_763660\libraries\Audio\synth_sine.cpp.o: In function `AudioSynthWaveformSine::update()':
C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\Audio/synth_sine.cpp:43: multiple definition of `AudioSynthWaveformSineHires::update()'
C:\Users\amikam\AppData\Local\Temp\arduino_build_763660\sketch\sketch_jan11a.ino.cpp.o:C:\Users\amikam\Documents\Arduino\sketch_jan11a/sketch_jan11a.ino:43: first defined here
C:\Users\amikam\AppData\Local\Temp\arduino_build_763660\libraries\Audio\synth_sine.cpp.o: In function `AudioSynthWaveformSine::update()':
C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\Audio/synth_sine.cpp:43: multiple definition of `AudioSynthWaveformSineModulated::update()'
C:\Users\amikam\AppData\Local\Temp\arduino_build_763660\sketch\sketch_jan11a.ino.cpp.o:C:\Users\amikam\Documents\Arduino\sketch_jan11a/sketch_jan11a.ino:43: first defined here
C:\Users\amikam\AppData\Local\Temp\arduino_build_763660\libraries\Audio\synth_sine.cpp.o: In function `AudioSynthWaveformSine::update()':
C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\Audio/synth_sine.cpp:43: multiple definition of `vtable for AudioSynthWaveformSine'
C:\Users\amikam\AppData\Local\Temp\arduino_build_763660\sketch\sketch_jan11a.ino.cpp.o:C:\Users\amikam\Documents\Arduino\sketch_jan11a/sketch_jan11a.ino:43: first defined here
C:\Users\amikam\AppData\Local\Temp\arduino_build_763660\libraries\Audio\synth_sine.cpp.o: In function `AudioSynthWaveformSine::update()':
C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\Audio/synth_sine.cpp:43: multiple definition of `vtable for AudioSynthWaveformSineHires'
C:\Users\amikam\AppData\Local\Temp\arduino_build_763660\sketch\sketch_jan11a.ino.cpp.o:C:\Users\amikam\Documents\Arduino\sketch_jan11a/sketch_jan11a.ino:43: first defined here
C:\Users\amikam\AppData\Local\Temp\arduino_build_763660\libraries\Audio\synth_sine.cpp.o: In function `AudioSynthWaveformSine::update()':
C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\Audio/synth_sine.cpp:43: multiple definition of `vtable for AudioSynthWaveformSineModulated'
C:\Users\amikam\AppData\Local\Temp\arduino_build_763660\sketch\sketch_jan11a.ino.cpp.o:C:\Users\amikam\Documents\Arduino\sketch_jan11a/sketch_jan11a.ino:43: first defined here
C:\Users\amikam\AppData\Local\Temp\arduino_build_763660/core\core.a(main.cpp.o): In function `main':
C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy3/main.cpp:51: undefined reference to `setup'
C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy3/main.cpp:53: undefined reference to `loop'
collect2.exe: error: ld returned 1 exit status
Multiple libraries were found for "SD.h"
 Used: C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\SD
 Not used: C:\Program Files (x86)\Arduino\libraries\SD
Using library Audio at version 1.3 in folder: C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\Audio 
Using library Wire at version 1.0 in folder: C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\Wire 
Using library SPI at version 1.0 in folder: C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\SPI 
Using library SD at version 1.2.2 in folder: C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\SD 
Using library SerialFlash at version 0.5 in folder: C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\SerialFlash 
Error compiling for board Teensy 3.6.

Tried also compiling with platform.io and get a different set of errors:
Code:
CONFIGURATION: https://docs.platformio.org/page/boards/teensy/teensy36.html
PLATFORM: Teensy > Teensy 3.6
HARDWARE: MK66FX1M0 180MHz 256KB RAM (1MB Flash)
DEBUG: CURRENT(jlink) EXTERNAL(jlink)
Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF MODES: FINDER(chain) COMPATIBILITY(soft)
Collected 93 compatible libraries
Scanning dependencies...
Dependency Graph
|-- <Audio> 1.3
|   |-- <SerialFlash>
Compiling .pioenvs\teensy36\lib97d\SerialFlash\SerialFlashChip.cpp.o
Compiling .pioenvs\teensy36\lib97d\SerialFlash\SerialFlashDirectory.cpp.o
Compiling .pioenvs\teensy36\lib4c1\Audio\control_ak4558.cpp.o
Compiling .pioenvs\teensy36\lib4c1\Audio\control_cs42448.cpp.o
Compiling .pioenvs\teensy36\lib4c1\Audio\control_cs4272.cpp.o
Compiling .pioenvs\teensy36\lib4c1\Audio\control_sgtl5000.cpp.o
In file included from C:\Users\amikam\.platformio\packages\framework-arduinoteensy\libraries\SerialFlash\SerialFlashDirectory.cpp:28:0:
C:\Users\amikam\.platformio\packages\framework-arduinoteensy\libraries\SerialFlash\SerialFlash.h:32:17: fatal error: SPI.h: No such file or directory
*************************************************************

compilation terminated.
Compiling .pioenvs\teensy36\lib4c1\Audio\effect_delay_ext.cpp.o
C:\Users\amikam\.platformio\packages\framework-arduinoteensy\libraries\Audio\control_ak4558.cpp:10:18: fatal error: Wire.h: No such file or directory
Any suggestions? Thanks!