私は日本語が話せないので、英語からdeepl翻訳を使っています。
私は arduino uno r4 minima を持っていて、スイッチのボタンを押させたいのですが、このライブラリが含まれているものをコンパイルしようとすると、いつもこのエラーが出ます。
`C:\Users\marty\Documents\Arduino\libraries\NintendoSwitchControlLibrary\src\SwitchControlLibrary\SwitchControlLibrary.cpp: In constructor 'SwitchControlLibrary_::SwitchControlLibrary_()':
C:\Users\marty\Documents\Arduino\libraries\NintendoSwitchControlLibrary\src\SwitchControlLibrary\SwitchControlLibrary.cpp:58:3: error: 'CustomHID' was not declared in this scope
CustomHID().AppendDescriptor(&node);
^~~~~~~~~
C:\Users\marty\Documents\Arduino\libraries\NintendoSwitchControlLibrary\src\SwitchControlLibrary\SwitchControlLibrary.cpp: In member function 'void SwitchControlLibrary_::sendReport()':
C:\Users\marty\Documents\Arduino\libraries\NintendoSwitchControlLibrary\src\SwitchControlLibrary\SwitchControlLibrary.cpp:69:3: error: 'CustomHID' was not declared in this scope
CustomHID().SendReport(&_joystickInputData,
^~~~~~~~~
exit status 1
Compilation error: exit status 1`
私はc++を知りませんが、"customhid "がインクルードされていないように見えますか?
これが何を意味するのかわかりません。
私は混乱している。
私は日本語が話せないので、英語からdeepl翻訳を使っています。
私は arduino uno r4 minima を持っていて、スイッチのボタンを押させたいのですが、このライブラリが含まれているものをコンパイルしようとすると、いつもこのエラーが出ます。
`C:\Users\marty\Documents\Arduino\libraries\NintendoSwitchControlLibrary\src\SwitchControlLibrary\SwitchControlLibrary.cpp: In constructor 'SwitchControlLibrary_::SwitchControlLibrary_()':
C:\Users\marty\Documents\Arduino\libraries\NintendoSwitchControlLibrary\src\SwitchControlLibrary\SwitchControlLibrary.cpp:58:3: error: 'CustomHID' was not declared in this scope
CustomHID().AppendDescriptor(&node);
^~~~~~~~~
C:\Users\marty\Documents\Arduino\libraries\NintendoSwitchControlLibrary\src\SwitchControlLibrary\SwitchControlLibrary.cpp: In member function 'void SwitchControlLibrary_::sendReport()':
C:\Users\marty\Documents\Arduino\libraries\NintendoSwitchControlLibrary\src\SwitchControlLibrary\SwitchControlLibrary.cpp:69:3: error: 'CustomHID' was not declared in this scope
CustomHID().SendReport(&_joystickInputData,
^~~~~~~~~
exit status 1
Compilation error: exit status 1`
私はc++を知りませんが、"customhid "がインクルードされていないように見えますか?
これが何を意味するのかわかりません。
私は混乱している。