Open ZanzyTHEbar opened 1 year ago
Hi, to be honest, i have no idea why you see this error (im not advanced C++ programmer) and i know nothing about github actions. It is also possible this function definition changed or you are missing tinyusb library in your github actions.
Hi
I have the same error with ESP32-S2. Did you fix the error? @ZanzyTHEbar
I have not fixed the error - how did the error arise for you? Are you on a native Linux distro?
So,, i recently installed windows 11 - not this exact same issue happens on my windows 11 machine. So i can confirm without a doubt that the issue is not OS related. It's somehow related to the compiler.
I don't have my window10 install where this worked anymore, so no idea what compiler i had.
Update- i was able to get it to compile by commenting out
friend void ::tud_hid_set_report_cb(uint8_t instance, uint8_t report_id, hid_report_type_t report_type, uint8_t const *buffer, uint16_t bufsize);
friend void ::tud_hid_report_complete_cb(uint8_t instance, uint8_t const* report, uint8_t len);
And, then making these two function public:
virtual void _onSetReport(uint8_t report_id,
uint8_t const* buffer,
uint16_t bufsize) {} // TODO
virtual void _onSendComplete(uint8_t const* buffer, uint16_t bufsize) {} // TODO
Hello,
Fantastic. I normally program on Windows, and have not had an issue yet with your library.
However, i recently setup
CI
for a new project/client - using this lib for theHID
application and i ran into an issue.This error only occurs within the
github action
runner. On my home machine (windows 10) the project builds and runs perfectly fine.