Skip to content

undefined reference to `hid_get_input_report' #418

@sirshurf

Description

@sirshurf

Description

While running make, I am getting this error.
I tried installing hid using pip but it does not help.

[ 97%] Linking C executable headsetcontrol
/usr/bin/ld: CMakeFiles/headsetcontrol.dir/src/devices/audeze_maxwell.c.o: in function send_get_input_report': audeze_maxwell.c:(.text+0x245): undefined reference to hid_get_input_report'
/usr/bin/ld: audeze_maxwell.c:(.text+0x26e): undefined reference to `hid_get_input_report'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/headsetcontrol.dir/build.make:565: headsetcontrol] Error 1
make[1]: *** [CMakeFiles/Makefile2:337: CMakeFiles/headsetcontrol.dir/all] Error 2
make: *** [Makefile:141: all] Error 2

Linux Ubuntu 20.

On which OS does the problem happen?

Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions