El mié, 19-09-2012 a las 14:25 +0800, Nidhi Sharma escribió:
> I am working on Objective C, I am trying to run a simple program on
> terminal of ubuntu by giving the following command:
> gcc source.m -o source
> but compiler has given error like:
> source.m:1:34: error: Foundation/Foundation.h: No such file or
> directory
> source.m: In function ‘main’:
> source.m:4: error: cannot find interface declaration for
> ‘NXConstantString’
> please help me to run my program.
> 
> 

With GNUstep is highly recommended don't call directly GCC. Instead, use
the GNUmakefiles and the tool "make" to build your projects. See:

http://www.gnustep.it/nicola/Tutorials/index.html




_______________________________________________
Help-gnustep mailing list
Help-gnustep@gnu.org
https://lists.gnu.org/mailman/listinfo/help-gnustep

Reply via email to