I just started learning obj-c on Ubuntu Linux today, the tutorial that I followed, http://www.otierney.net/objective-c.html , when I entered the code that is required for Foundation / NSObject.h, an error appeared :
Fraction.h: 1: fatal error: Foundation / NSObject.h: no such file or directory
and I searched for solutions and found a suitable gcc -o Fraction -I/usr/GNUstep/System/Library/Headers -L/usr/GNUstep/System/Library/Libraries Fraction.m -ldl -lobjc
I tried this, but found that I could not find the headers in the library directory. (My GNUstep folder is / usr / share / GNUstep).
Does anyone know how to reach the headlines? I installed all the dev packages related to GNUstep, but still no luck.
I hope that I will formulate my question quite clearly. Sorry for my English.
source share