playfultechnology / audio-guestbook

The "audio guestbook" is a converted telephone handset that guests can use to leave recorded messages at weddings and parties
GNU General Public License v3.0
141 stars 88 forks source link

MTP_Teensy.h: No such file or directory #132

Open Patrick838e opened 1 year ago

Patrick838e commented 1 year ago

Arduino: 1.8.9 (Windows 10), TD: 1.58, Board: "Teensy 4.0, Serial, 150 MHz, Faster, German, Normal"

Several libraries were found for "SD.h". C:\Users\rosen\OneDrive\Documents\Arduino\audio-guestbook\audio-guestbook.ino:30:10: fatal error: MTP_Teensy.h: No such file or directory Used: C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\SD 30 | #include Not used: C:\Program Files (x86)\Arduino\libraries\SD | ^~~~~~ compilation terminated.

Error compiling for board Teensy 4.0.

This report would be more detailed if the option "Verbatim output during compilation" in File -> Preferences would be activated.

PulsarDevLabs commented 10 months ago

I have this same error. Were you able to figure it out?

jaredml commented 10 months ago

you will have to download the repository from the mtp-teensy github page. you will then have to copy the whole extracted folder to your teensy libraries folder. The folder path should look something like this C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries.

MTP Teensy page: https://github.com/KurtE/MTP_Teensy

Imutchy commented 4 months ago

I too have this error. Not IT savvy at all 46yo newby. What repository am I downloading from your link? There's loads of folders and code???? Thanks.

Imutchy commented 4 months ago

Arduino: 1.8.19 (Windows 7), TD: 1.59, Board: "Teensy 4.0, Serial, 600 MHz, Faster, US English"

Multiple libraries were found for "SD.h"

In file included from C:\Users\Sarah\Documents\Arduino\hardware\teensy\avr\libraries\Audio/Audio.h:129,

Used: C:\Users\Sarah\Documents\Arduino\hardware\teensy\avr\libraries\SD

Not used: C:\Users\Sarah\Documents\Arduino\libraries\SD

             from C:\Users\Sarah\Documents\Arduino\sketch_jul28a\sketch_jul28a.ino:25:

C:\Users\Sarah\Documents\Arduino\hardware\teensy\avr\libraries\Audio/play_serialflash_raw.h:33:10: fatal error: SerialFlash.h: No such file or directory

33 | #include // github.com/PaulStoffregen/SerialFlash/blob/master/SerialFlash.h

  |          ^~~~~~~~~~~~~~~

compilation terminated.

Error compiling for board Teensy 4.0.

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

jaredml commented 3 months ago

I too have this error. Not IT savvy at all 46yo newby. What repository am I downloading from your link? There's loads of folders and code???? Thanks.

You are downloading the whole repository. You will need to unzip the GitHub project and then put it into the folder I specified.

Imutchy commented 3 months ago

Sorry Jared, coding skills are nil. Please be patient. I go to the project tab but it is empty? There are folders in the code tab? Where and what exactly do I do? Thank you

jwhitt1990 commented 2 months ago

hi jared i too am working on this project and have hit this same snag

w1802464 commented 1 month ago

I found a fix.

Prequisite: In Arduino IDE: Go to File > Preferences Make sure Sketchbook location is something like this: "C:\Users\Sarah\Documents\Arduino" *It's where your sketchbooks are located

Next: Download the github zip library mentioned by jaredml *You do not need to move or unzip files

Then: In Arduino IDE: Go to Sketch > Include Library > Add .ZIP Library Then add the library that was downloaded.

That's it. I hope that helps.