我在Linux模块编译方面有一点小问题。无论我在make命令中放置了一个-lhidapi库引用,模块都拒绝编译。我知道我做错了什么,如果你有时间的话,请帮帮我。modules make -lhidapi -libusb -C /lib/modules/$(shell uname -r)/build M=$(PWD)fatal error: hidapi/hidapi.h: No such file or directory
#include <hid
/hidapi/linux/hid.c:44:21: fatal error: libudev.h: No such file or directory
Step #1: compilation terminatedStep #1: hidapi-linux-hidraw.target.mk:101: recipe for target 'Release/obj.target/hidapi-linux-hidraw/<
我正在尝试为HIDAPI库创建一个剥离的.so文件。我从克隆了这个库。我遵循了在Linux系统上构建的步骤:.dynamically linked, BuildID[sha1]=df7b02a51941902793e795cd5ff7ec3173d3a7fe, with debug_info, not stripped
如何在Linux发布模式下生成HIDAPI库的.so文件?
error: failed to run custom build command for `hidapi v1.3.4`
process didn't exit successfully: `/tmp/cargo-installBgqF19/release/build/hidapi-8cca28feeebdc649/build-script-build` (exit status: 101cargo:rerun-if-env-changed=PKG_CONFI
prebuild-install WARN install No prebuilt binaries found (target=12.13.0 runtime=node arch=x64 platform=linux)gyp info using node-gyp@5.0.5hidapi.target.