Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [USB] libusb on OS X?



On Mar 15, 2007, at 7:16 AM, Alexander von Below wrote:
I am attempting to install libusb on OS X, but the makefile / configure script seems to fail with darwin. (I am happy to post the details, but do not wish to bother you all with them) As I do not have much experience with make or autoconfig, I am kinda lost how to proceed. the libusb List did not have any answer for me, so I am asking the Mac crowd: Have you successfully built libusb on OS X? I hate fink and other porting tools and generally prefer the old school way so.

Alex - First: This list isn't for LIBUSB issues, no matter if on OSX or elsewhere; it's for Apple USB issues. I'd highly recommend the LIBUSB list for such issues.


That said: If you haven't tried MacPorts, they have the "most recent" version of LIBUSB available ... but please note that LIBUSB isn't being significantly supported any longer. They're transitioning to different ownership and a new name "OpenUSB". Latest is v0.1.12, with a few patches depending on platform. Also note that LIBUSB doesn't support true async communications under OSX.

LIBUSB is build-able in the "standard" way, even on OSX:

./configure
make
make check

Thus the questions: What OSX version? What XCode version? Are the developer tools as provided by Apple, or are some installed from other sources? If you have alternate sources, you need to make sure CPATH, LDFLAGS, CFLAGS, and PKG_CONFIG_PATH are set properly ... do yo know if they are?

And, to answer your last query: Yes, I've built LIBUSB from scratch as well as using MacPorts ... either way works.

I'm happy to help you a little through this, but please let's do it off list. - MLD
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Usb mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/usb/email@hidden


This email sent to email@hidden
References: 
 >[USB] libusb on OS X? (From: Alexander von Below <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.