cannot find -lusb error
Posted: Fri Apr 22, 2011 6:13 am
I have a .c file which uses libsub.h. So I have libsub.h and libsub.c in the same folder and lib folder is in the path . ./lib. So when I compile using this command :
gcc read_sub20.c -L../lib/ -lsub -lusb-1.0 -lm -o read_sub20
it is showing this error
/usr/bin/ld: cannot find -lusb-1.0
collect2: ld returned 1 exit status
Any one please help me, ;-(
gcc read_sub20.c -L../lib/ -lsub -lusb-1.0 -lm -o read_sub20
it is showing this error
/usr/bin/ld: cannot find -lusb-1.0
collect2: ld returned 1 exit status
Any one please help me, ;-(