Hi, I'm trying to get OpenOCD working on a MacBook Pro (Intel Core 2 Duo) under Mac OS X 10.6.1 (Snow Leopard).
I downloaded libusb-1.0.3 and libftdi-0.16 from the locations referred to in the openocd-0.2.0/README file. As far as I can tell, these are the "latest stable" releases. However, they don't seem to be made for each other :-( For example, the libusb header file installs itself as /usr/local/ include/libusb-1.0/libusb.h Beats me why it needs to be in a directory containing only one file. But still. However, libftdi.c does #include <usb.h> So, not only will it not look inside libusb-1.0, but even if it did it would look for usb.h and not libusb.h. So, I created a symlink for /usr/local/include/usb.h But then I get loads of undefined symbols :-( The libusb ones are like: LIBUSB_CLASS_VENDOR_SPEC LIBUSB_REQUEST_TYPE_VENDOR whilst libftdi expects things like: USB_TYPE_VENDOR USB_RECIP_DEVICE So, that's not going to work :-) Could someone give me a hint which versions of libusb and libftdi work nicely together? Thanks, colin _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development