madmonkey1907 / hakchi

GNU General Public License v3.0
144 stars 36 forks source link

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

Open RaspberryPiDude314159 opened 3 years ago

RaspberryPiDude314159 commented 3 years ago

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

     ^~~~~~~~~~

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!