Hello,

I've installed the very last version of libusbx on ubuntu (12.04  
here); and I have tried to "make" the examples in /examples and they  
work great!

However, how should I do to "gcc" my own program using libusbx?  
Because when I do "gcc -c test.c -o test" with a code including  
libusb.h, it says:
fatal error: libusb.h: no such file or directory

Actually the error happens as well when I try to compile by myself one  
of your examples (for example "gcc -c listdevs.c -o listdev"). So it  
means I do something wrong but I didn't find in the documentation  
something about how to compile.

Must I add options to gcc? Or create a Makefile?

Regards,
Charles


------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
_______________________________________________
libusbx-devel mailing list
libusbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusbx-devel

Reply via email to