Skip to main content

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=nsconstantstring
code:
hello.m:1:34: fatal error: foundation/foundation.h: no such file or directory compilation terminated.
here code:
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

Popular posts from this blog

Could not place because the source rectangle is empty

Thread: Using smartcard reader with vpnc

Adobe Font Folio 7.0 or just 7?