Thread: Problem with objective-c
when try compile program on objective-c with
code:gcc -o hello hello.m -i /usr/include/gnustep/ -l /usr/lib/gnustep/ -lgnustep-base -fconstant-string-class=nsconstantstringhere code:code:hello.m:1:34: fatal error: foundation/foundation.h: no such file or directory compilation terminated.code:#import <foundation/foundation.h> int main (int argc, const char * argv[]) { nsautoreleasepool * pool = [[nsautoreleasepool alloc] init]; nslog (@"hello world"); [pool drain]; return 0; }
moved programming talk
Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Programming Talk Problem with objective-c
Ubuntu
Comments
Post a Comment