Copy libusb.a and usb.h to your application's source code
folder. Then use the following command to compile your application:
gcc your_app.c -o your_app.exe -I. -L. -lusb
Stephan
> i find the project useful.i installed the libusb drives and created inf for device.
>
> i included library file and header file(usb.h) in bcc compiler as well as gcc(devc++).
>
> but my program generates linker error that
>
>
>
> undefined reference to usb_init()..
>
> undefined reference to usb_find_devices()..
>
> ...
>
> for all libusb api used.
>
>
>
>
>
> help me please.
>
> tell me what basic steps i must do to run application .
>
> -----------------------------------------------------------------
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>
> -----------------------------------------------------------------
> _______________________________________________
> Libusb-win32-devel mailing list
> Lib...@li...
> https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel
>
_____________________________________________________________________
Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
http://smartsurfer.web.de/?mc=100071&distributionid=000000000071
|