Skip to content

Error during build #344

Description

@eamanu

Description

Hi,

After install prerequisites and run the build steps I have this error during make run

▶ make 
[  3%] Linking C executable headsetcontrol
/usr/bin/ld: CMakeFiles/headsetcontrol.dir/src/output.c.o: in function `initializeStatus':
output.c:(.text+0x712): undefined reference to `hid_version_str'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/headsetcontrol.dir/build.make:520: headsetcontrol] Error 1
make[1]: *** [CMakeFiles/Makefile2:337: CMakeFiles/headsetcontrol.dir/all] Error 2
make: *** [Makefile:141: all] Error 2

On which OS does the problem happen?

Linux

Activity

  1. eamanu commented on May 2, 2024

    @eamanu
    Author

    Sorry for the noise, it's a not bug. I check and I'm using an old version of libhidapi-dev.

    libhidapi-dev/focal,now 0.9.0+dfsg-1 amd64 [installed]
    

    Perhaps, it would be great add a notice in readme about the versions of libs to install?

  2. added 2 commits that reference this issue on May 10, 2024
    ce760a7
    9acccbb
  3. added a commit that references this issue on May 11, 2024
    20aee22
  4. added a commit that references this issue on May 31, 2024
    516ff42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions