Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- gcc -g -O2 -o bin/usb_flasher -Isrc -Iinclude $(pkg-config --cflags --libs libusb-1.0) src/*.c
- root@ThinkDeb:/home/jonnyw2k/bbblfs/BBBlfs# gcc -g -O2 -o bin/usb_flasher -Isrc -Iinclude $(pkg-config --cflags --libs libusb-1.0) src/*.c
- bash: pkg-config: command not found
- src/main.c:20:20: fatal error: libusb.h: No such file or directory
- #include <libusb.h>
- ^
- compilation terminated.
- root@ThinkDeb:/home/jonnyw2k/bbblfs/BBBlfs# apt-get install libusb-1.0-0-dev
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- libusb-1.0-0-dev is already the newest version.
- 0 upgraded, 0 newly installed, 0 to remove and 134 not upgraded.
- root@ThinkDeb:/home/jonnyw2k/bbblfs/BBBlfs#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement