I have created a file hello.m in the folder c:\new
I started the shell application
I wrote c:\new
and then I wrote g++ hello.m and I get the error " Foundation.h: No such file or directory compilation terminated"
I changed the path of Foundation in the source code of my program to the correct
" #import <C:\GNUstep\GNUstep\System\Library\Headers\Foundation\Foundation.h> "
and then I get the error : " C:\GNUstep\GNUstep\System\Library\Headers\Foundation\Foundation.h:30:40: fatal error: GNUstepBase/GSVersionMacros.h: No such file or directory "
I changed the path of the GSVersionMacros.h inside the source code of the Foundation.h file and then I got a new error for another header file inside the GSVersionMacros.h file.
How can I fix this? Should I have to do this for all the header files?
Thank you very much.