Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hid device name #4

Open
vospascal opened this issue May 17, 2022 · 0 comments
Open

hid device name #4

vospascal opened this issue May 17, 2022 · 0 comments

Comments

@vospascal
Copy link

i tried compiling your project to see if you manage to rename hid device what i read somewhere
Thinking i wanned to make a fork for ArduinoJoystickLibrary being able to set device name and vendor and serial name
would be very awesome.

but i get a compilations errors.


C:\Users\Pascal\AppData\Local\Temp\ccG1kOv9.ltrans0.ltrans.o: In function `HIDPowerDevice_::setFeature(unsigned int, void const*, int) [clone .constprop.30]':
C:\Users\Pascal\Downloads\HIDPowerDevice-master\HIDPowerDevice-master\src\UPS/HIDPowerDevice.cpp:263: undefined reference to `HID()'
C:\Users\Pascal\Downloads\HIDPowerDevice-master\HIDPowerDevice-master\src\UPS/HIDPowerDevice.cpp:263: undefined reference to `HID_::SetFeature(unsigned int, void const*, int)'
C:\Users\Pascal\AppData\Local\Temp\ccG1kOv9.ltrans0.ltrans.o: In function `HIDPowerDevice_::setStringFeature(unsigned char, unsigned char const*, char const*) [clone .constprop.29]':
C:\Users\Pascal\Downloads\HIDPowerDevice-master\HIDPowerDevice-master\src\UPS/HIDPowerDevice.cpp:268: undefined reference to `HID()'
C:\Users\Pascal\Downloads\HIDPowerDevice-master\HIDPowerDevice-master\src\UPS/HIDPowerDevice.cpp:268: undefined reference to `HID_::SetFeature(unsigned int, void const*, int)'
C:\Users\Pascal\Downloads\HIDPowerDevice-master\HIDPowerDevice-master\src\UPS/HIDPowerDevice.cpp:272: undefined reference to `HID()'
C:\Users\Pascal\Downloads\HIDPowerDevice-master\HIDPowerDevice-master\src\UPS/HIDPowerDevice.cpp:272: undefined reference to `HID_::SetFeature(unsigned int, void const*, int)'
C:\Users\Pascal\AppData\Local\Temp\ccG1kOv9.ltrans0.ltrans.o: In function `global constructors keyed to 65535_0_HIDPowerDevice.cpp.o.2156':
<artificial>:(.text.startup+0x76): undefined reference to `HID()'
<artificial>:(.text.startup+0x7e): undefined reference to `HID_::AppendDescriptor(HIDSubDescriptor*)'
C:\Users\Pascal\AppData\Local\Temp\ccG1kOv9.ltrans0.ltrans.o: In function `begin':
C:\Users\Pascal\Downloads\HIDPowerDevice-master\HIDPowerDevice-master\src\UPS/HIDPowerDevice.cpp:232: undefined reference to `HID()'
C:\Users\Pascal\Downloads\HIDPowerDevice-master\HIDPowerDevice-master\src\UPS/HIDPowerDevice.cpp:232: undefined reference to `HID_::begin()'
C:\Users\Pascal\Downloads\HIDPowerDevice-master\HIDPowerDevice-master\src\UPS/HIDPowerDevice.cpp:236: undefined reference to `HID()'
C:\Users\Pascal\Downloads\HIDPowerDevice-master\HIDPowerDevice-master\src\UPS/HIDPowerDevice.cpp:236: undefined reference to `HID_::SetFeature(unsigned int, void const*, int)'
C:\Users\Pascal\Downloads\HIDPowerDevice-master\HIDPowerDevice-master\src\UPS/HIDPowerDevice.cpp:237: undefined reference to `HID()'
C:\Users\Pascal\Downloads\HIDPowerDevice-master\HIDPowerDevice-master\src\UPS/HIDPowerDevice.cpp:237: undefined reference to `HID_::SetFeature(unsigned int, void const*, int)'
C:\Users\Pascal\Downloads\HIDPowerDevice-master\HIDPowerDevice-master\src\UPS/HIDPowerDevice.cpp:238: undefined reference to `HID()'
C:\Users\Pascal\Downloads\HIDPowerDevice-master\HIDPowerDevice-master\src\UPS/HIDPowerDevice.cpp:238: undefined reference to `HID_::SetFeature(unsigned int, void const*, int)'
C:\Users\Pascal\AppData\Local\Temp\ccG1kOv9.ltrans0.ltrans.o: In function `setSerial':
C:\Users\Pascal\Downloads\HIDPowerDevice-master\HIDPowerDevice-master\src\UPS/HIDPowerDevice.cpp:247: undefined reference to `HID()'
C:\Users\Pascal\AppData\Local\Temp\ccG1kOv9.ltrans0.ltrans.o: In function `setOutput':
C:\Users\Pascal\Downloads\HIDPowerDevice-master\HIDPowerDevice-master\src\UPS/HIDPowerDevice.cpp:243: undefined reference to `HID()'
C:\Users\Pascal\AppData\Local\Temp\ccG1kOv9.ltrans0.ltrans.o: In function `sendReport':
C:\Users\Pascal\Downloads\HIDPowerDevice-master\HIDPowerDevice-master\src\UPS/HIDPowerDevice.cpp:259: undefined reference to `HID()'
C:\Users\Pascal\Downloads\HIDPowerDevice-master\HIDPowerDevice-master\src\UPS/HIDPowerDevice.cpp:259: undefined reference to `HID_::SendReport(unsigned int, void const*, int)'
C:\Users\Pascal\Downloads\HIDPowerDevice-master\HIDPowerDevice-master\src\UPS/HIDPowerDevice.cpp:259: undefined reference to `HID()'
C:\Users\Pascal\Downloads\HIDPowerDevice-master\HIDPowerDevice-master\src\UPS/HIDPowerDevice.cpp:259: undefined reference to `HID_::SendReport(unsigned int, void const*, int)'
C:\Users\Pascal\Downloads\HIDPowerDevice-master\HIDPowerDevice-master\src\UPS/HIDPowerDevice.cpp:259: undefined reference to `HID()'
C:\Users\Pascal\Downloads\HIDPowerDevice-master\HIDPowerDevice-master\src\UPS/HIDPowerDevice.cpp:259: undefined reference to `HID_::SendReport(unsigned int, void const*, int)'
collect2.exe: error: ld returned 1 exit status
exit status 1
Error compiling for board Arduino Micro.

MHeironimus/ArduinoJoystickLibrary#14

any help would be cool thnx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant