You also need to include the proper libraries and include files. It's easier to do this using the GNUstep makefile system. See these links for some tutorials

http://www.gnustep.it/nicola/Tutorials/WritingMakefiles/

http://www.gnustep.org/developers/documentation.html



On Oct 16, 2008, at 12:55 PM, aatif razaq wrote:

when i try to compile the application using 'gcc -o main main.m' but it throws an error 'Foundation/NSObject.h: No such file or directory'. Some other applications were throwing the same kinda errors not finding the GNUStep files.


_______________________________________________
Gnustep-dev mailing list
Gnustep-dev@gnu.org
http://lists.gnu.org/mailman/listinfo/gnustep-dev

Reply via email to