Skip to content

ERROR: Dependency "libusb-1.0" not found #22

@dbolser

Description

@dbolser

I'm about to patch this error:

Step 9/22 : RUN cd scrcpy && meson x --buildtype release --strip -Db_lto=true -Dprebuilt_server=/scrcpy-server
 ---> Running in a18799ccc0d4
The Meson build system
Version: 0.59.3
Source dir: /scrcpy
Build dir: /scrcpy/x
Build type: native build
Project name: scrcpy
Project version: 1.20
C compiler for the host machine: cc (gcc 10.3.1 "cc (Alpine 10.3.1_git20211027) 10.3.1 20211027")
C linker for the host machine: cc ld.bfd 2.37
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: /usr/bin/pkg-config (1.8.0)
Run-time dependency libavformat found: YES 58.76.100
Run-time dependency libavcodec found: YES 58.134.100
Run-time dependency libavutil found: YES 56.70.100
Run-time dependency sdl2 found: YES 2.0.16
Run-time dependency libavdevice found: YES 58.13.100
Did not find CMake 'cmake'
Found CMake: NO
Run-time dependency libusb-1.0 found: NO (tried pkgconfig)

app/meson.build:88:8: ERROR: Dependency "libusb-1.0" not found, tried pkgconfig

A full log can be found at /scrcpy/x/meson-logs/meson-log.txt
The command '/bin/sh -c cd scrcpy && meson x --buildtype release --strip -Db_lto=true -Dprebuilt_server=/scrcpy-server' returned a non-zero code: 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions