Skip to content

teensy_loader_cli.c:373:10: fatal error: ddk/hidsdi.h: No such file or directory #55

@thjwong

Description

@thjwong

I tried to compile the package in Windows 10 (64-bits) under MSYS2 and encountered the following errors:

  1. printenv gave me "Windows_NT" instead of "WINDOWS", so I had to change that.
  2. then there is an error message for ddk/hidsdi.h

teensy_loader_cli.c:373:10: fatal error: ddk/hidsdi.h: No such file or directory
373 | #include <ddk/hidsdi.h>

According to https://packages.msys2.org/package/mingw-w64-x86_64-headers
hidsdi.h is not under ddk for MSYS2, so I went to line 373 and changed that too.

  1. then there are other error messages regarding ddk/hidclass.h

C:/msys64/mingw64/x86_64-w64-mingw32/include/ddk/hidclass.h:132:3: error: unknown type name 'PINTERFACE_REFERENCE'
132 | PINTERFACE_REFERENCE InterfaceReference;
| ^~~~~~~~~~~~~~~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/ddk/hidclass.h:133:3: error: unknown type name 'PINTERFACE_DEREFERENCE'
133 | PINTERFACE_DEREFERENCE InterfaceDereference;
| ^~~~~~~~~~~~~~~~~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/ddk/hidclass.h:147:3: error: unknown type name 'PINTERFACE_REFERENCE'
147 | PINTERFACE_REFERENCE InterfaceReference;
| ^~~~~~~~~~~~~~~~~~~~
C:/msys64/mingw64/x86_64-w64-mingw32/include/ddk/hidclass.h:148:3: error: unknown type name 'PINTERFACE_DEREFERENCE'
148 | PINTERFACE_DEREFERENCE InterfaceDereference;

Please give me a pointer to compile it under msys2 if it is possible.
Thanks!

Metadata

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

    Issue actions