Skip to content

fel_lib.c:26:10: fatal error: 'libusb.h' file not found #58

Description

@RaspberryPiDude314159

I'm running this on Big Sur and after trying to use the "Make" command, I got this error:
cc -std=c99 -Wall -Wextra -Wno-unused-result -D_POSIX_C_SOURCE=200112L -D_BSD_SOURCE -D_DEFAULT_SOURCE -Iinclude/ `pkg-config --cflags libusb-1.0` `pkg-config --cflags zlib` -o sunxi-fel \ fel.c progress.c soc_info.c fel_lib.c `pkg-config --libs libusb-1.0` `pkg-config --libs zlib` /bin/sh: pkg-config: command not found /bin/sh: pkg-config: command not found /bin/sh: pkg-config: command not found /bin/sh: pkg-config: command not found fel_lib.c:26:10: fatal error: 'libusb.h' file not found #include <libusb.h> ^~~~~~~~~~ 1 error generated. make[1]: *** [sunxi-fel] Error 1 make: *** [3rdparty/sunxi-tools/sunxi-fel] Error 2
Does anyone know a fix?
Thanks in advance!

Activity

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions