7

[ubuntu] Libusb and how to its package

view full story
linux-howto

http://ubuntuforums.org – Hello everyone I have a very important question... I have installed libusb by using the following command i am not sure if it was right or not and the command was sudo apt-get install libusb-dev once I have installed (and I am not sure if it has installed or not), I want to know how would I use the library because I write some sample code which uses <libusb.h > but when i compile that c++ file using "g++ test_libusb.cpp" that throws the following error, "test_libusb.cpp:2:20: fatal error: libusb.h: No such file or directory compilation terminated." I am cluele (Hardware)