Results 1 to 6 of 6

Thread: Libusb and how to its package

Threaded View

  1. #1
    Join Date
    Feb 2013
    Beans
    4

    Question Libusb and how to use its packages

    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 clueless what to do cant find any source on the internet to get to the bottom of this... can anyone please help I am a desperate.. and please treat me as novice on both c/c++ and Ubuntu...

    thanks a lot for you time folks

    hoping for an early response...

    thanks one more time
    Sharif
    Last edited by sh4rif; February 23rd, 2013 at 02:19 PM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •