rpetrich/AppList — Issue #1: Errors when compiling
Author: JW97
Created: 2012-01-23 16:51:31+00:00
State: open

When i compile i get unable to find g++-4.2, i created a symlink to g++. But now i get this (sorry for the length):

Making all for library libapplist...
Compiling ALApplicationList.m...
In file included from /Users/jack/Documents/AppList/framework/include/UIKit/UIKit2.h:164,
from /Users/jack/Documents/AppList/framework/include/MessageUI/MessageUI-Structs.h:8,
from /Users/jack/Documents/AppList/framework/include/MessageUI/ComposeRecipient.h:9,
from /Users/jack/Documents/AppList/framework/include/ChatKit/CKMailComposeRecipient.h:6,
from /Users/jack/Documents/AppList/framework/include/ChatKit/ChatKit.h:41,
from /Users/jack/Documents/AppList/framework/include/SpringBoard/SpringBoard-Structs.h:13,
from /Users/jack/Documents/AppList/framework/include/SpringBoard/SpringBoard.h:8,
from ALApplicationList.m:5:
/Users/jack/Documents/AppList/framework/include/UIKit/UIViewController2.h:185: error: duplicate declaration of method ‘-presentedViewController’
In file included from /Users/jack/Documents/AppList/framework/include/UIKit/UIKit2.h:385,
from /Users/jack/Documents/AppList/framework/include/MessageUI/MessageUI-Structs.h:8,
from /Users/jack/Documents/AppList/framework/include/MessageUI/ComposeRecipient.h:9,
from /Users/jack/Documents/AppList/framework/include/ChatKit/CKMailComposeRecipient.h:6,
from /Users/jack/Documents/AppList/framework/include/ChatKit/ChatKit.h:41,
from /Users/jack/Documents/AppList/framework/include/SpringBoard/SpringBoard-Structs.h:13,
from /Users/jack/Documents/AppList/framework/include/SpringBoard/SpringBoard.h:8,
from ALApplicationList.m:5:
/Users/jack/Documents/AppList/framework/include/UIKit/UISearchBar2.h:45: error: duplicate declaration of method ‘-backgroundImage’
/Users/jack/Documents/AppList/framework/include/UIKit/UISearchBar2.h:45: error: duplicate declaration of method ‘-setBackgroundImage:’
cc1obj: warnings being treated as errors
ALApplicationList.m: In function ‘-[ALApplicationList copyIconOfSize:forDisplayIdentifier:]’:
ALApplicationList.m:106: warning: implicit declaration of function ‘CGImageSourceCreateWithData’
ALApplicationList.m:106: warning: initialization makes pointer from integer without a cast
ALApplicationList.m:107: warning: implicit declaration of function ‘CGImageSourceCreateImageAtIndex’
ALApplicationList.m:107: warning: assignment makes pointer from integer without a cast
ALApplicationList.m: In function ‘-[ALApplicationListImpl _remoteGetIconForMessage:userInfo:]’:
ALApplicationList.m:206: warning: implicit declaration of function ‘CGImageDestinationCreateWithData’
ALApplicationList.m:206: warning: initialization makes pointer from integer without a cast
ALApplicationList.m:207: warning: implicit declaration of function ‘CGImageDestinationAddImage’
ALApplicationList.m:209: warning: implicit declaration of function ‘CGImageDestinationFinalize’
make[2]: *** [.theos/obj/ALApplicationList.m.o] Error 1
make[1]: *** [internal-library-all_] Error 2
make: *** [libapplist.all.library.variables] Error 2