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

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

Open
RaspberryPiDude314159 opened this issue Feb 1, 2021 · 0 comments
Open

Comments

@RaspberryPiDude314159
Copy link

RaspberryPiDude314159 commented Feb 1, 2021

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant