Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MTP_Teensy.h: No such file or directory #132

Open
Patrick838e opened this issue Nov 23, 2023 · 8 comments
Open

MTP_Teensy.h: No such file or directory #132

Patrick838e opened this issue Nov 23, 2023 · 8 comments

Comments

@Patrick838e
Copy link

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 <MTP_Teensy.h>
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
Copy link

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

@jaredml
Copy link

jaredml commented Feb 3, 2024

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
Copy link

Imutchy commented Aug 2, 2024

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
Copy link

Imutchy commented Aug 2, 2024

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 <SerialFlash.h> // 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
Copy link

jaredml commented Aug 4, 2024

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
Copy link

Imutchy commented Aug 5, 2024

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
Copy link

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

@w1802464
Copy link

w1802464 commented Oct 3, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants