thefloweringash / iousbhiddriver-descriptor-override

Fix broken USB HID descriptors. Now with Noppoo Choc Mini support!
http://thefloweringash.github.io/iousbhiddriver-descriptor-override
GNU Lesser General Public License v3.0
204 stars 25 forks source link

Build Error on Mac OS X 10.8.2 #3

Closed andreasmalik closed 11 years ago

andreasmalik commented 11 years ago

Hello Guys,

I downloaded your project and try to compile it with XCode 4.5.2. The compile error:

/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/usb/USB.h:32:14: 'IOKit/usb/IOUSBPriv.h' file not found

Any ideas?

Best regards from Germany

andreasmalik commented 11 years ago

Fixed with set valid architectures to 32-bit intel, but when trying to load extension with

sudo kextload /System/Library/Extensions/IOUSBHIDDriverDescriptorOverride.kext

there is an error:

/System/Library/Extensions/IOUSBHIDDriverDescriptorOverride.kext failed to load - (libkern/kext) requested architecture/executable not found; check the system/kernel logs for errors or try kextutil(8).

Console output:

22.11.12 13:07:59,085 sudo[3266]: andreasmalik : TTY=ttys000 ; PWD=/System/Library/Extensions/IOUSBHIDDriverDescriptorOverride.kext/Contents/MacOS ; USER=root ; COMMAND=/sbin/kextload /System/Library/Extensions/IOUSBHIDDriverDescriptorOverride.kext 22.11.12 13:07:59,110 com.apple.kextd[16]: Can't load /System/Library/Extensions/IOUSBHIDDriverDescriptorOverride.kext - no code for running kernel's architecture.

thefloweringash commented 11 years ago

Hello,

I don't know what has changed with the OS X 10.8 platform sdk, however Xcode currently (4.5.2) also ships the OS X 10.7 platform sdk which builds successfully. I've updated the Xcode project to use the 10.7 sdk by default so it should build after checking out with no changes.

There's also an installer package for a universal build of the extension in the downloads section, which I have just updated to match the current head.

Hope this helps.