From: Peter S. <pe...@st...> - 2011-09-22 15:42:37
|
Thanks for the output! Chuck wrote: > make[2]: Entering directory `/c/Users/Chuck/Downloads/libusbgit/libusb' > make[2]: Nothing to be done for `install-exec-am'. > test -z "/usr/local/lib/pkgconfig" || /usr/bin/mkdir -p > "/usr/local/lib/pkgconfig" > /usr/bin/install -c -m 644 libusb-1.0.pc '/usr/local/lib/pkgconfig' The above shows that the file is indeed being installed, into /usr/local/lib/pkgconfig. > C:\Users\Chuck\Downloads\libusbgit\libusb>pkg-config --cflags --libs > libusb-1.0 > Package libusb-1.0 was not found in the pkg-config search path. > Perhaps you should add the directory containing `libusb-1.0.pc' > to the PKG_CONFIG_PATH environment variable > No package 'libusb-1.0' found And this means that pkg-config is not searching there. Since you're using CMD or something like it, please try the commands: set PKG_CONFIG_PATH=/usr/local/lib/pkgconfig pkg-config --cflags --libs libusb-1.0 I.e. I believe the problem is a matter of pkg-config configuration and/or the prefix used for installing libusb, rather than the file not being installed at all. It's just that noone is looking in the directory it gets installed into. //Peter |