[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Newbie question(differences between gnustep and xCode)
From: |
BTS |
Subject: |
Re: Newbie question(differences between gnustep and xCode) |
Date: |
Sat, 3 Sep 2011 17:44:16 -0700 (PDT) |
It sounds like you are having a dependancy issue because the search paths you
have given the compiler do not include the path for GS interfaces(.h files)
the NSAutoreleasePool is part of foundation, so if foundation cannot be
located the compiler can not link against it, and the NSAutoreleasePool
symbols cannot be read.
John Doran-2 wrote:
>
> Hi all,
> Time to start learning Objective C for me(coming from Java), I'm on a
> windows machine so GNUstep is perfect to get up to speed before I purchase
> a
> Mac and the fact it seems like a really cool open source framework. So I'm
> doing some tutorials done by http://www.thenewboston.com/ which are really
> good. I'm wondering is there any restraints on me doing these tutorials
> and
> compiling them through GNUstep. These tutorials are based on xCode so is
> there a difference in libraries etc?
>
> If was able to run a different obj c hello world but these ones wont
> compile
> e.g. some snippets -
> #import <Foundation/Foundation.h>
> //main...
> NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
> NSLog (@"Hello World!/nIt's John");
>
> I get errors like
> Foundation/Foundation.h: No such file or directory
> `NSAutoreleasePool' undeclared (first use in this function)
>
> So, do I need to look at my instillation or am I just looking at the wrong
> tutorials.
> Any feedback or pointers to some good tutorials would be great.
> Regards,
> JD.
>
> _______________________________________________
> Discuss-gnustep mailing list
> Discuss-gnustep@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnustep
>
>
--
View this message in context:
http://old.nabble.com/Newbie-question%28differences-between-gnustep-and-xCode%29-tp32079690p32394204.html
Sent from the GNUstep - General mailing list archive at Nabble.com.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Newbie question(differences between gnustep and xCode),
BTS <=