Skip to content

Libraries don't function :-( #305

Open
@foxhunter-73

Description

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

Activity

foxhunter-73

foxhunter-73 commented on Jan 26, 2025

@foxhunter-73
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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

      Participants

      @foxhunter-73

      Issue actions

        Libraries don't function :-( · Issue #305 · MHeironimus/ArduinoJoystickLibrary