In ubuntu linux system: build the gcc target have the Error:
/usr/bin/ld: cannot find -lusb-1.0
it means you missing the usb-1.0 userspace USB programming library development files.
actually in linux the usb-1.0 userspace USB programming library development files is name as
libusb-1.0-0-dev
holly shit!!!!!!!!!!!
so place do this installation.
sudo apt-get install libusb-1.0-0-dev
have fun!!
解决Inubuntu Linux下GCC编译USB错误
本文详细介绍了在Inubuntu Linux系统中使用GCC编译时遇到的找不到-lusb-1.0库的错误,并提供了解决方案。通过安装libusb-1.0-0-dev包,可以解决缺失usb-1.0用户空间USB编程库开发文件的问题。
4647

被折叠的 条评论
为什么被折叠?



