首页
学习
活动
专区
圈层
工具
发布
    • 综合排序
    • 最热优先
    • 最新优先
    时间不限
  • 来自专栏TBOOX开源工程

    xmake v2.5.2 发布, 支持自动拉取交叉工具链和依赖包集成

    但如果用户通过 apt install libusb-1.0 安装了 libusb 库到系统,那么按理 xmake 应该会自动优先查找用户安装到系统环境的 libusb 包,直接使用,避免额外的下载编译安装 因为通过 apt 安装的 libusb 包名是 libusb-1.0, 而不是 libusb。 我们只能通过 pkg-config --cflags libusb-1.0 才能找到它,但是 xmake 内部的默认 find_package 逻辑并不知道 libusb-1.0 的存在,所以找不到。 ") add_extsources("pkgconfig::libusb-1.0") on_install(function (package) -- ... end) 另外,我们也可以通过这个方式,改进查找 homebrew/pacman 等其他包管理器安装的包,例如:add_extsources("pacman::libusb-1.0")。

    2.3K10发布于 2021-03-11
  • 来自专栏FreeBuf

    MemProcFS:在虚拟文件系统中以文件形式查看物理内存

    https://github.com/ufrisk/MemProcFS.git 然后使用下列命令安装该工具所需的依赖组件: sudo apt-get install make gcc pkg-config libusb libfuse-dev libpython3-dev lz4 liblz4-dev 然后运行下列构建命令即可: ~$ sudo apt-get install make gcc pkg-config libusb pip install memprocfs 或: pip3 install memprocfs 依赖组件安装命令如下: sudo apt-get install make gcc pkg-config libusb

    1.9K10编辑于 2024-05-28
  • 来自专栏用户8851537的专栏

    基于goestools与xrit-rx的GK2A气象卫星接收教程

    firewalld systemctl stop firewalld 安装 LibUSB 如果未安装LibUSB,编译RTL-SDR驱动会出现如下错误 -- Checking for module 'libusb -1.0' -- Package 'libusb-1.0', required by 'virtual:world', not found CMake Error at CMakeLists.txt

    1.9K20发布于 2021-09-01
  • 来自专栏全栈程序员必看

    cubieboard + busybox 打造mini系统「建议收藏」

    如果出现报错: Package libusb-1.0 was not found in the pkg-config search path. the directory containing `libusb-1.0.pc’ to the PKG_CONFIG_PATH environment variable No package ‘libusb

    1.1K20编辑于 2022-09-16
  • 来自专栏TencentOS-tiny

    Linux下开发stm32 ② | 使用openocd下载程序

    基于usb的适配器依赖于libusb-1.0和一些旧的驱动,还要安装usb依赖: ?

    7.1K21发布于 2020-07-16
  • 来自专栏OpenBCI

    OpenBCI Galea 详细配置指南——从硬件到软件的一站式部署

    依赖检查 确保 Python ≥ 3.8,C++ ≥ C++17; 安装 libusb-1.0(Linux): bash复制编辑sudo apt-get install libusb-1.0

    71410编辑于 2025-06-23
  • 来自专栏云深之无迹

    Orbbec Gemini 相机SDK 适配笔记.2

    https://sourceforge.net/projects/libusb/files/libusb-1.0/ 直接下载 - Linux: - LibUSB 1.0.x sudo apt-get

    1.8K30发布于 2021-11-04
  • 来自专栏机器人课程与技术

    奥比中光Orbbec Astra Pro RGBD 3D视觉传感器在ROS(indigo和kinetic)使用说明 rgb depth同时显示

    使用locate libusb.h,并将其放到合适位置: ~$ sudo cp /usr/include/libusb-1.0/libusb.h  /usr/local/include/libuvc/

    4K50发布于 2019-01-23
  • 来自专栏区块链小白成长记

    使用Substrate开发区块链存证dApp

    substrate-front-end-template] (v2.0.0-rc5)$ yarn install yarn install v1.22.4 安装错误及处理 安装错误1 错误描述 ```bash Package libusb add the directory containing `libusb-1.0.pc' to the PKG_CONFIG_PATH environment variable No package 'libusb

    2.1K41发布于 2020-08-12
  • 来自专栏深入浅出区块链技术

    使用Substrate开发区块链存证dApp

    substrate-front-end-template] (v2.0.0-rc5)$ yarn install yarn install v1.22.4 安装错误及处理 安装错误1 错误描述 Package libusb add the directory containing `libusb-1.0.pc' to the PKG_CONFIG_PATH environment variable No package 'libusb

    1.6K10发布于 2020-08-10
  • 来自专栏嵌入式Linux系统开发

    USB Gadget 应用实例之 zero

    <errno.h> #include <signal.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <libusb

    1.4K20编辑于 2023-08-22
  • 来自专栏区块链小白成长记

    使用Substrate开发区块链存证应用V2.0

    安装错误及处理 安装错误1 错误描述Package libusb-1.0 was not found in the pkg-config search path. the directory containing `libusb-1.0.pc' to the PKG\_CONFIG\_PATH environment variable No package 'libusb

    1.6K20发布于 2020-12-14
领券