PaulStoffregen / USBHost_t36

USB Host Library for Teensy 3.6 and 4.0
170 stars 87 forks source link

Does not compile on VSCode #91

Closed kopierreko closed 2 years ago

kopierreko commented 2 years ago

Hi,

I'm testing your storage example and it's not compiling on VSCode with platformIO

lib/USBHost/USBHost_t36.h:2095:66: error: expected class-name before '{' token class USBDrive : public USBDriver, public FsBlockDeviceInterface {

Looks like that FsBlockDeviceInterface does not exist.

VSCode 1.67.2 on macOS Monterey, platform : Teensy 4.16

PaulStoffregen commented 2 years ago

Use the 1.56 released version. Latest from github depends on new SdFat and core library. If you want to use this, you'll need to update all those. Or wait for platformio to update after we release 1.57. Or use Arduino with 1.57-beta2.

https://forum.pjrc.com/threads/70409-Teensyduino-1-57-Beta-2

kopierreko commented 2 years ago

Thanks, I copied SDFat from Teensyduino 1.57 beta 2 to my project in PlatformIO for the moment and it works 😊