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

FingerprintUSBHost is not compiling #9

Open
fletchjp opened this issue Dec 12, 2024 · 4 comments
Open

FingerprintUSBHost is not compiling #9

fletchjp opened this issue Dec 12, 2024 · 4 comments

Comments

@fletchjp
Copy link

Hi. I am compiling FingerprintUSBHost on Windows 11 to load to an Arduino UNO. I am getting compiler errors. I am using Arduino IDE 2.3.4 and the latest board 1.8.6

c:\Users\john\Documents\Arduino\libraries\FingerprintUSBHost\src/FingerprintUSBHost.h:38:55: error: expected class-name before '{' token
class FingerprintUSBHost_ : public PluggableUSBModule {

c:\Users\john\Documents\Arduino\libraries\FingerprintUSBHost\src/FingerprintUSBHost.h:52:23: error: 'USBSetup' has not been declared
int getDescriptor(USBSetup& setup);

I think that the PluggableUSB has changed as there is no constructor for PluggableUSBModule without arguments.

A number of other people have reported a problem with USBSetup.

My interest is to be able to distinguish between compiles on Windows 11 and Raspberry Pi OS (Debian) as some of my Arduino NANOs use a USB chip which is not supported on Windows 11 and is supported by R Pi OS.

Have you run this code lately?

Thanks

John

@obra
Copy link
Member

obra commented Dec 12, 2024 via email

@fletchjp
Copy link
Author

Thank you. I have tried several different things, NANO, NANO EVERY, MEGA, DUE. None of them compile. Leonardo does, which I only have as a Raspberry Pi daughter board (DFROBOT DFR0327). Is there anything you can suggest so that I can identify what is uploading to a NANO?

Thanks John

@obra
Copy link
Member

obra commented Dec 12, 2024 via email

@fletchjp
Copy link
Author

Thank you. I have acquired a Pro Mini and that does work and detects Windows when connected to Windows 11.

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

2 participants