hello,
when i tried to compile my first example app on iphone:
Code:
mobile$ arm-apple-darwin9-gcc -o windowsandviews windowsandviews.m -lobjc -framework CoreFoundation -framework Foundation -framework UIKit
In file included from windowsandviews.m:1:
windowsandviews.h:1:42: error: CoreFoundation/CoreFoundation.h: No such file or directory
windowsandviews.h:2:24: error: UIkit/UIKit.h: No such file or directory
i installed toolchain from cydia and my CoreFoundation.h file is in /var/include/CoreFoundation
toolchain files installed to /User
windowsandfiles.h file is:
Code:
#import <CoreFoundation/CoreFoundation.h>
#import <UIkit/UIKit.h>
@interface MyApp: UIApplication
{
UIWindow *window;
UIView *mainView;
}
-(void)applicationDidFinishLaunching:
(NSNotification *)aNotification;
@end
i'm using iphone 2g os 3.0.1
i installed the fake libgcc
what is the problem ?