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
]
cannot compile objective c
,
bogdan filip
<=
Re: cannot compile objective c
,
Stefan Bidi
,
2012/01/26
Re: cannot compile objective c
,
David Chisnall
,
2012/01/26
Re: cannot compile objective c
,
Richard Frith-Macdonald
,
2012/01/26
Prev by Date:
Re: errors in Ink
Next by Date:
Re: cannot compile objective c
Previous by thread:
errors in Ink
Next by thread:
Re: cannot compile objective c
Index(es):
Date
Thread