efrederickson / Multiplexer

Multitasking Suite for iOS
http://moreinfo.thebigboss.org/moreinfo/depiction.php?file=multiplexerDp
61 stars 18 forks source link

13 Errors Generated #4

Open CoryKornowicz opened 8 years ago

CoryKornowicz commented 8 years ago

Maczilla:Multiplexer-master Cory$ make package

Making all for tweak ReachApp… ==> Preprocessing Tweak.xm… ==> Compiling Tweak.xm (armv7)… In file included from Tweak.xm:2: In file included from /Users/Cory/Desktop/Multiplexer-master/headers.h:6: In file included from /opt/theos/vendor/include/SpringBoard/SBIconImageView.h:9: /opt/theos/vendor/include/SpringBoard/SpringBoard-Structs.h:9:16: error: redefinition of 'CGSize' typedef struct CGSize { ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGGeometry.h:28:8: note: previous definition is here struct CGSize { ^ In file included from Tweak.xm:2: In file included from /Users/Cory/Desktop/Multiplexer-master/headers.h:6: In file included from /opt/theos/vendor/include/SpringBoard/SBIconImageView.h:9: /opt/theos/vendor/include/SpringBoard/SpringBoard-Structs.h:14:16: error: redefinition of 'CGPoint' typedef struct CGPoint { ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGGeometry.h:20:8: note: previous definition is here struct CGPoint { ^ In file included from Tweak.xm:2: In file included from /Users/Cory/Desktop/Multiplexer-master/headers.h:6: In file included from /opt/theos/vendor/include/SpringBoard/SBIconImageView.h:9: /opt/theos/vendor/include/SpringBoard/SpringBoard-Structs.h:19:16: error: redefinition of 'CGRect' typedef struct CGRect { ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGGeometry.h:46:8: note: previous definition is here struct CGRect { ^ In file included from Tweak.xm:2: In file included from /Users/Cory/Desktop/Multiplexer-master/headers.h:6: In file included from /opt/theos/vendor/include/SpringBoard/SBIconImageView.h:9: /opt/theos/vendor/include/SpringBoard/SpringBoard-Structs.h:26:29: error: typedef redefinition with different types ('struct CFBoolean ' vs 'const struct CFBoolean *') typedef struct CFBoolean CFBooleanRef; ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNumber.h:13:62: note: previous definition is here typedef const struct CF_BRIDGED_TYPE(NSNumber) CFBoolean * CFBooleanRef; ^ In file included from Tweak.xm:2: In file included from /Users/Cory/Desktop/Multiplexer-master/headers.h:6: In file included from /opt/theos/vendor/include/SpringBoard/SBIconImageView.h:9: /opt/theos/vendor/include/SpringBoard/SpringBoard-Structs.h:40:16: error: redefinition of 'UIEdgeInsets' typedef struct UIEdgeInsets { ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGeometry.h:15:16: note: previous definition is here typedef struct UIEdgeInsets { ^ In file included from Tweak.xm:2: In file included from /Users/Cory/Desktop/Multiplexer-master/headers.h:6: In file included from /opt/theos/vendor/include/SpringBoard/SBIconImageView.h:9: /opt/theos/vendor/include/SpringBoard/SpringBoard-Structs.h:60:28: error: typedef redefinition with different types ('struct CFString ' vs 'const struct CFString *') typedef struct CFString CFStringRef; ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h:430:61: note: previous definition is here typedef const struct CF_BRIDGED_TYPE(NSString) CFString * CFStringRef; ^ In file included from Tweak.xm:2: In file included from /Users/Cory/Desktop/Multiplexer-master/headers.h:6: In file included from /opt/theos/vendor/include/SpringBoard/SBIconImageView.h:9: /opt/theos/vendor/include/SpringBoard/SpringBoard-Structs.h:95:32: error: typedef redefinition with different types ('struct CFDictionary ' vs 'const struct CFDictionary *') typedef struct CFDictionary CFDictionaryRef; ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDictionary.h:181:69: note: previous definition is here typedef const struct CF_BRIDGED_TYPE(NSDictionary) CFDictionary * CFDictionary... ^ In file included from Tweak.xm:2: In file included from /Users/Cory/Desktop/Multiplexer-master/headers.h:6: In file included from /opt/theos/vendor/include/SpringBoard/SBIconImageView.h:9: /opt/theos/vendor/include/SpringBoard/SpringBoard-Structs.h:110:16: error: definition of type 'NSRange' conflicts with typedef of the same name typedef struct NSRange { ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSRange.h:15:3: note: 'NSRange' declared here } NSRange; ^ In file included from Tweak.xm:2: In file included from /Users/Cory/Desktop/Multiplexer-master/headers.h:6: In file included from /opt/theos/vendor/include/SpringBoard/SBIconImageView.h:9: /opt/theos/vendor/include/SpringBoard/SpringBoard-Structs.h:117:12: error: field has incomplete type 'CFArray' CFArray field2; ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h:108:47: note: forward declaration of 'CFArray' typedef const struct CF_BRIDGED_TYPE(NSArray) CFArray * CFArrayRef; ^ In file included from Tweak.xm:2: In file included from /Users/Cory/Desktop/Multiplexer-master/headers.h:6: In file included from /opt/theos/vendor/include/SpringBoard/SBIconImageView.h:9: /opt/theos/vendor/include/SpringBoard/SpringBoard-Structs.h:150:16: error: redefinition of 'CGAffineTransform' typedef struct CGAffineTransform { ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGAffineTransform.h:15:8: note: previous definition is here struct CGAffineTransform { ^ In file included from Tweak.xm:2: In file included from /Users/Cory/Desktop/Multiplexer-master/headers.h:6: In file included from /opt/theos/vendor/include/SpringBoard/SBIconImageView.h:9: /opt/theos/vendor/include/SpringBoard/SpringBoard-Structs.h:225:27: error: typedef redefinition with different types ('struct CFArray ' vs 'const struct CFArray *') typedef struct CFArray CFArrayRef; ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h:108:59: note: previous definition is here typedef const struct CF_BRIDGED_TYPE(NSArray) CFArray * CFArrayRef; ^ In file included from Tweak.xm:2: In file included from /Users/Cory/Desktop/Multiplexer-master/headers.h:6: /opt/theos/vendor/include/SpringBoard/SBIconImageView.h:35:41: error: property type 'unsigned long long' is incompatible with type 'NSUInteger' (aka 'unsigned int') inherited from 'NSObject' [-Werror,-Wincompatible-property-type] @property (readonly) unsigned long long hash; ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk/usr/include/objc/NSObject.h:18:33: note: property declared here @property (readonly) NSUInteger hash; ^ In file included from Tweak.xm:2: /Users/Cory/Desktop/Multiplexer-master/headers.h:21:9: fatal error: 'IOKit/hid/IOHIDEvent.h' file not found

import <IOKit/hid/IOHIDEvent.h>

    ^

13 errors generated. make[3]: * [/Users/Cory/Desktop/Multiplexer-master/.theos/obj/debug/armv7/Tweak.xm.d2760aa6.o] Error 1 make[2]: * [/Users/Cory/Desktop/Multiplexer-master/.theos/obj/debug/armv7/ReachApp.dylib] Error 2 make[1]: * [internal-library-all_] Error 2 make: * [ReachApp.all.tweak.variables] Error 2

efrederickson commented 8 years ago

Those are header issues:

  1. Duplicate structs - you need to "flush" out and remove those duplicates from one set of headers.
  2. IOKit/hid headers - copy the ones from the MacOS headers to $THEOS/include/IOKit/hid