iam beginner in Objective-C, i tried to compile small Hello world program to start,iam using windows vista and the shell console, my code is:
#import <Foundation/Foundation.h>
int main (int argc, const char * argv[])
{
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
// insert code here...
NSLog(@"Hello, World!");
[pool drain];
return 0;
}
the shell result show me the following error:
Foundation.h: no such file found
my command for compiling is:
gcc -o hello hello.m
i will appreciate any help, thanx in advance :)