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

Libraries don't function :-( #305

Open
foxhunter-73 opened this issue Jan 24, 2025 · 1 comment
Open

Libraries don't function :-( #305

foxhunter-73 opened this issue Jan 24, 2025 · 1 comment

Comments

@foxhunter-73
Copy link

I'm working on windows 10, and i use the ide 2.x and also test on 1.8.19
I easly acquire the library and try to compile an example ,
dont' function !!
The error is:

`
In file included from D:\nas\cloud\cloud\arduino_sck\libraries\Joystick\src/Joystick.h:24:0,
from C:\Users\riccardo\AppData\Local\Temp\arduino_modified_sketch_477170\sketch_jan24a.ino:1:
D:\nas\cloud\cloud\arduino_sck\libraries\Joystick\src/DynamicHID/DynamicHID.h:107:1: error: expected class-name before '{' token
{
^
exit status 1
Errore durante la compilazione per la scheda Arduino Leonardo.

`

Is the same always on the different ide

@foxhunter-73
Copy link
Author

If i compile it like Arduino Zero , the library Was good ( i haven't tested it ), but if i compile like Leonardo the error about Up happened.
I'm not an expert but i understand that it happened when
#include "DynamicHID/DynamicHID.h"
are active, if i comment the error don't happened

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

1 participant