argyllcms and usb (0.1 and 1.0)

Xiaofan Chen xiaofanc at gmail.com
Thu Feb 21 01:11:19 UTC 2013


On Thu, Feb 21, 2013 at 1:04 AM, Hans Petter Selasky <hselasky at c2i.net> wrote:
> USE_LIBUSB1 should be set, and -lusb must be used as linker flag, not -
> lusb-1.0 like under linux.
>
> In FreeBSD -lusb is a multi-API library, including v0.1, v1.0 and v2.0. Header
> files are in /usr/include

Maybe it is good to have a pkg-config pc file for libusb-0.1 and libusb-1.0
wrapper to point to the correct -lusb flag.

Reference: http://freebsd.1045724.n5.nabble.com/libusb-config-missing-td4055538.html

Or maybe it is good to have symbolic link to libusb-1.0.so.


-- 
Xiaofan


More information about the freebsd-usb mailing list