0

Hi guys,

I am completely new to objective c. I am trying to compile a very basic program of "hello world", but the problem is that gcc compiler can't figure out where my header files are. I wrote on cygwin bash shell:

$ gcc -lobjc hello.m -o hello

and error given was:

hello.m:9:25: fatal error: foundation.h no such file or directory

I am using GNUstep on windows xp, having installed all the components needed. I know and have seen that header files are present. Please someone can guide me how can I locate those files? Or how should i give command to locate files myself? Is there any other possible way that I can permanently tell that in this folder header files are located.

Please help me. Thanks a lot in adavnce :(

2
Contributors
2
Replies
9
Views
6 Years
Discussion Span
Last Post by spark_1
0

I found out problem and figured out solution for this. Actually I had installed GNUstep sys with cygwin thats why compiler could not figured out the correct directory. My installation was incorrect. So I uninstalled all and reinstalled:

GNUstep core 0.29.0
GNUstep msys 0.29.0
GNUstep devel 1.4.0
and now everything is going fine.

More help on installation can be get from here

Edited by great_learner: n/a

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.