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.0pkg-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!
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.cpkg-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 foundinclude
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!