mastering_ros icon indicating copy to clipboard operation
mastering_ros copied to clipboard

libusb not found

Open abdul-mannan-khan opened this issue 7 years ago • 2 comments

Hello Everyone,

I am trying to use this this very particular chapter. When I compile it, I am getting this error constantly.

CMake Error at /usr/share/cmake-3.5/Modules/FindPkgConfig.cmake:578 (message): None of the required 'libusb' found I have tried reading few articles online but none of them resolved this problem. Your kind suggestions would be highly appreciated. Thank you.

abdul-mannan-khan avatar Apr 24 '17 06:04 abdul-mannan-khan

https://github.com/ros-drivers/joystick_drivers/issues/113

huckl3b3rry87 avatar Sep 28 '17 22:09 huckl3b3rry87

The fix is to install libusb:

 sudo apt-get install libusb-dev

huckl3b3rry87 avatar Sep 28 '17 22:09 huckl3b3rry87