On Sun, Feb 10, 2013 at 11:14 AM, Xiaofan Chen <xiaof...@gmail.com> wrote: > Just came across this one. The author appears to be an active > user of libusb/libusbx judging from a few tickers he created. > https://bitbucket.org/liamstask/libusbus/overview > > I actually have problems to build it under Mac OS X 10.7.5.
> mymacmini:libusbus xiaofanc$ make -i > ==== Building usbus (debug) ==== > iokit.c > src/platform/iokit.c:91:10: error: use of undeclared identifier > 'kUSBDeviceSpeedSuper'; did you mean 'kUSBDeviceSpeedFull'? > case kUSBDeviceSpeedSuper: device->speed = UsbusSuperSpeed; break; > ^~~~~~~~~~~~~~~~~~~~ > kUSBDeviceSpeedFull The SuperSpeed stuff is only available under Mac OS X 10.8, after commenting out, the build is successful and the examples seem to work. Under Windows, after downloaing premake and figure out the problem with cc, I can use TDM64 (MinGW-w64) to build it and the examples seem to work as well. -- Xiaofan ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ libusbx-devel mailing list libusbx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libusbx-devel