I tried to compile the package in Windows 10 (64-bits) under MSYS2 and encountered the following errors:
printenv gave me "Windows_NT" instead of "WINDOWS", so I had to change that.
- 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.
- 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!
I tried to compile the package in Windows 10 (64-bits) under MSYS2 and encountered the following errors:
printenvgave me "Windows_NT" instead of "WINDOWS", so I had to change that.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.
Please give me a pointer to compile it under msys2 if it is possible.
Thanks!