您尚未登录。

楼主 #1 2017-12-27 12:20:34

qianhao
会员
注册时间: 2017-12-14
已发帖子: 135
积分: 119

v3s使用BSP内核 需要一个script.bin 这个文件使用sunxi-tools编译出来的吗?

我在编译sunxi-tools的时候 :
Package libusb-1.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libusb-1.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libusb-1.0' found
Package libusb-1.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libusb-1.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libusb-1.0' found
fel_lib.c:26:20: fatal error: libusb.h: No such file or directory
compilation terminated.
Makefile:135: recipe for target 'sunxi-fel' failed
make: *** [sunxi-fel] Error 1
  这个问题怎么解决啊  再次过来劳烦各位大神们

离线

楼主 #2 2017-12-27 12:24:02

qianhao
会员
注册时间: 2017-12-14
已发帖子: 135
积分: 119

Re: v3s使用BSP内核 需要一个script.bin 这个文件使用sunxi-tools编译出来的吗?

已经使用了  sudo apt-get install libusb-dev 
sudo apt-get install build-essential pkg-config 
错误还是有的 提示:
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`  -o sunxi-fel fel.c progress.c soc_info.c fel_lib.c  `pkg-config --libs libusb-1.0`
Package libusb-1.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libusb-1.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libusb-1.0' found
Package libusb-1.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libusb-1.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libusb-1.0' found
fel_lib.c:26:20: fatal error: libusb.h: No such file or directory
#include <libusb.h>
                    ^
compilation terminated.
make: *** [sunxi-fel] Error 1

离线

楼主 #3 2017-12-27 12:27:59

qianhao
会员
注册时间: 2017-12-14
已发帖子: 135
积分: 119

Re: v3s使用BSP内核 需要一个script.bin 这个文件使用sunxi-tools编译出来的吗?

问题已经解决  sudo apt-get install libusb-1.0-0-dev   
安装这个  问题解决

离线

#4 2017-12-27 13:50:32

晕哥
管理员
所在地: 微信 whycan_cn
注册时间: 2017-09-06
已发帖子: 9,234
积分: 9197

Re: v3s使用BSP内核 需要一个script.bin 这个文件使用sunxi-tools编译出来的吗?

感谢分享!





离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn