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

Error during build #344

Closed
eamanu opened this issue May 2, 2024 · 1 comment
Closed

Error during build #344

eamanu opened this issue May 2, 2024 · 1 comment
Labels

Comments

@eamanu
Copy link

eamanu commented May 2, 2024

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

@eamanu eamanu added the bug label May 2, 2024
@eamanu
Copy link
Author

eamanu commented May 2, 2024

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?

Sapd added a commit that referenced this issue May 10, 2024
Sapd added a commit that referenced this issue May 10, 2024
@Sapd Sapd closed this as completed in 20aee22 May 10, 2024
rpbaptist pushed a commit to rpbaptist/HeadsetControl that referenced this issue May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant