ayufan-pine64 / boot-tools

Pine A64 mass storage using FEL and u-boot
20 stars 15 forks source link

FATAL ERROR with PINE A64-LTS #9

Open YasserMojahed opened 6 years ago

YasserMojahed commented 6 years ago

I am trying Flashing to eMMC using FEL method with my PINE A64-LTS board. It gives me a "fatal error" after "make pine64_ums" command. the error message:

No package 'libusb-1.0' found
fel_lib.c:26:20: fatal error: libusb.h: No such file or directory
compilation terminated.
Makefile:140: recipe for target 'sunxi-fel' failed
make[1]: *** [sunxi-fel] Error 1
make[1]: Leaving directory '/home/yasser/boot-tools/sunxi-tools.tmp'
Makefile:22: recipe for target 'sunxi-tools' failed
make: *** [sunxi-tools] Error 2

image

warrenc5 commented 3 years ago

did you install dev like https://linux-sunxi.org/Sunxi-tools#Building

debian/ubuntu apt-get install libusb-1.0-0-dev zlib1g-dev fedora yum install libusbx-devel