Advertisement
Guest User

Untitled

a guest
Jan 24th, 2016
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. gcc -g -O2 -o bin/usb_flasher -Isrc -Iinclude $(pkg-config --cflags --libs libusb-1.0) src/*.c
  2.  
  3. root@ThinkDeb:/home/jonnyw2k/bbblfs/BBBlfs# gcc -g -O2 -o bin/usb_flasher -Isrc -Iinclude $(pkg-config --cflags --libs libusb-1.0) src/*.c
  4. bash: pkg-config: command not found
  5. src/main.c:20:20: fatal error: libusb.h: No such file or directory
  6. #include <libusb.h>
  7. ^
  8. compilation terminated.
  9. root@ThinkDeb:/home/jonnyw2k/bbblfs/BBBlfs# apt-get install libusb-1.0-0-dev
  10. Reading package lists... Done
  11. Building dependency tree
  12. Reading state information... Done
  13. libusb-1.0-0-dev is already the newest version.
  14. 0 upgraded, 0 newly installed, 0 to remove and 134 not upgraded.
  15. root@ThinkDeb:/home/jonnyw2k/bbblfs/BBBlfs#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement