From: Xiaofan C. <xia...@gm...> - 2010-08-30 10:38:33
|
On Mon, Aug 30, 2010 at 6:33 PM, Thejus.. <mee...@gm...> wrote: > When i do this > gcc -I/usr/local/include/libusb-1.0 progran.c -o program -L/usr/local/lib > -lusb-1.0.This line compiles > > and generates output file.How to check the output on the terminal?? > Run it. ;-) You can use the following command in the terminal. ./program If that failed because of no permissions, then you need to try to use sudo first. sudo ./program. If that works, learn to use udev to set up proper permission so that you can run the program as non-root user. http://code.google.com/p/picusb/wiki/libusb_and_udev -- Xiaofan |