Peter Balazovic writes: > Dears, > > I'm looking for "simple" advice on use of libusb within mingw-w64 ? > > I use mingw-w64 installed as \mingw-w64\i686-5.3.0-posix-dwarf-rt_v4-rev0\ > > I have downloaded libusb from > https://sourceforge.net/projects/libusb/files/libusb-1.0/libusb-1.0.20 > > On libusb installation the README.txt file says: > > - Copy libusb.h, from include/libusb-1.0/ to your default include directory, > and copy the MinGW32/ or MinGW64/ .a files to your default library > directory. > Or, if you don't want to use the default locations, make sure that you > feed > the relevant -I and -L options to the compiler. > > Questions: > What "include" directory to use within "mingw-w64" - what's default > include directory ? > Where copy static and dll usblib libraries to - what is default > library directory?
I think it is easier to follow the second option, i.e. use the -I and -L options; that way you do not have to copy any files or tinker with system directories. -- Alberto ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
