Re: [linux-minidisc] (Building) libusb-1.0(.9) not found?
On 01/12/2014 02:58 AM, Kevin Ingwersen wrote:
> Ingwie@ingwies-air ~/Work/linux-minidisc $ ../Qt5.2.0/5.2.0/clang_64/bin/qmake -spec macx-g++ -r
> Reading /Users/Ingwie/Work/linux-minidisc/libnetmd/libnetmd.pro
> Project ERROR: Package libusb-1.0 not found
> Ingwie@ingwies-air ~/Work/linux-minidisc $ ls -1 /usr/local/lib/libusb*
> /usr/local/lib/libusb-1.0.0.dylib
> /usr/local/lib/libusb-1.0.a
> /usr/local/lib/libusb-1.0.dylib
> /usr/local/lib/libusb-1.0.la
> Ingwie@ingwies-air ~/Work/linux-minidisc $ ls -1 /usr/local/include/libusb-1.0/
It's missing the proper PKGCONFIG directive in libnetmd/libnetmd.pro.
Look at the top of the file and you find the directive "PKGCONFIG +=
libusb-1.0". On OSX, this might have to be renamed to "usb-1.0"
which you can add to line with the Mac-specific definitions, thus:
mac:INCLUDEPATH += /opt/local/include PKGCONFIG += usb-1.0
I'm not sure, however, whether "usb-1.0" is correct in your case. Look
into your folder which contains the package config files (*.pc) and
you should be able to find the correct name.
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaubitz@debian.org
`. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913