discuss-gnustep
[Top][All Lists]
Advanced

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

Re: cannot compile objective c


From: Stefan Bidi
Subject: Re: cannot compile objective c
Date: Thu, 26 Jan 2012 11:03:29 -0600

Best thing to do is write a Makefile for your application.  Follow this tutorial: http://www.gnustep.it/nicola/Tutorials/WritingMakefiles/

On Thu, Jan 26, 2012 at 10:57 AM, bogdan filip <bfilip555@gmail.com> wrote:
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

_______________________________________________
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnustep



reply via email to

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