In windows, I use gnustep compiler.
Plus the parameter-I / GNUstep / System / Library / Headers /
fatal error: Foundation.h: said to find this head,
But I went to GNUstep / System / Library / Library / Headers / have this document,
Please help solve the next. Thank you
Reply:
Need to be solved. . .
Reply:
You send the wrong place .....
Reply:
gcc does not recognize foundation library!
Reply:
Header file path right?
Should have no problem
Reply:
For example, to compile helloworld.m
gcc-o helloworld helloworld.m -I/GNUstep/System/Library/Headers-fconstant-string-class = NSConstantString -L/GNUstep/System/Library/Libraries-lobjc-lgnustep-base
Content landlord added parameter is not what too few?
-I represents the path of the header file lookup,-L, said the library search path,-l indicates the need to link the library file. However,-fconstant-string-class = NSConstantString for this parameter may be unfamiliar, this parameter is mainly used to specify the constant string class.
Reply:
Header file path is definitely a problem;
I wrote this demo is similar;
You look carefully, there is certainly not the same as a result of steps.
No comments:
Post a Comment