[Top][All Lists]

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

Re: Newbie question(differences between gnustep and xCode)

From: Eric Wasylishen
Subject: Re: Newbie question(differences between gnustep and xCode)
Date: Sun, 17 Jul 2011 16:39:29 -0600

Hi John,

Check out this tutorial on how to get the Hello World example working: http://www.gnustep.it/nicola/Tutorials/WritingMakefiles/node2.html

Just launch the GNUstep shell from your start menu and use the text editor of your choice to create the GNUmakefile file.

As far as following Xcode tutorials in general, it should be possible, but may require a bit of work depending on the tutorial. The parts that focus on the ObjC language should be useful. Note that with the GNUstep windows installer, you only get ObjC 1.0, so no blocks, garbage collection, @property, etc. When it comes to building GUI applications, we have an InterfaceBuilder equivalent called Gorm.

Hope this helps.


On 2011-07-17, at 4:09 PM, John Doran 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> 
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.
Discuss-gnustep mailing list

reply via email to

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