Re: [linux-minidisc] (Building) libusb-1.0(.9) not found?
I’ll have a look again, but check this out:
Ingwie@ingwies-air ~/tmp $ ls -1 /usr/local/lib/pkgconfig/
./
../
fuse.pc
gio-2.0.pc
gio-unix-2.0.pc
glib-2.0.pc
gmodule-2.0.pc
gmodule-export-2.0.pc
gmodule-no-export-2.0.pc
gobject-2.0.pc
gthread-2.0.pc
json-c.pc
json.pc
libffi.pc
liblzma.pc
libusb-1.0.pc <---
osxfuse.pc
It’s there, as libusb-1.0. Now, why isn’t it being found? o.o...
Am So. Jan. 12 2014 12:55:04 schrieb John Paul Adrian Glaubitz:
> 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