discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

cannot compile objective c


From: bogdan filip
Subject: cannot compile objective c
Date: Thu, 26 Jan 2012 18:57:14 +0200

hello,

i wonder if you could help me out.
i cannot compile hello.m

#include <Foundation/Foundation.h>


int main(int argc, const char *argv[])
{
    NSautoreleasePool*pool=[[nsautoreleasepool alloc] init];

    nslog(@"Hello World!\n How the fuck does this work?\n");
   
    [pool drain];
    return 0;
}



i have tried everything i could find on the web, nothing worked. the message is

Ursu@URSU /c/objectivec
$ gcc hello.m
hello.m:1:35: fatal error: Foundation/Foundation.h: No such file or directory
compilation terminated.

thank you for your time

reply via email to

[Prev in Thread] Current Thread [Next in Thread]