Skip to main content
GameDev.net gamedev.net
🔒 Locked

getting GNUstep to work in Windows

Started by alnite Sep 27, 2008 at 7:59 PM 1 replies 2.2k views
Original Post
alnite
alnite
I just want to learn Objective-C here, but unfortunately I don't have a mac. So, I heard about this GNUstep and downloaded the two installers and install them as instructed (system first, then core). So, I run into this article, and I did the exact same thing that he did, but got stuck up to step 4 section where I have to enter this command: source /System/Library/Makefiles/GNUstep.csh but my shell says: $ source C:/GNUstep/GNUstep/System/Library/Makefiles/GNUstep.csh sh: C:/GNUstep/GNUstep/System/Library/Makefiles/GNUstep.csh: line 84: syntax error near unexpected token "${GNUSTEP_USER_CONFIG_FILE}"' sh: C:/GNUstep/GNUstep/System/Library/Makefiles/GNUstep.csh: line 84: switch ("${GNUSTEP_USER_CONFIG_FILE}")' I can't compile his code because the compiler cannot find the header file: hello.m:8:37: Foundation/Foundation.h: No such file or directory Searched google everywhere, no help on this one. I am pretty sure that all I need is to tweak some config file somewhere, because that header file definitely exists in the Header directory, but for some reason it's not looking there. Any help?
mother
mother
I don't know anything about GNUstep, but I think I know what the problem is.

sh and csh are two different shells, with different syntax. The file extension is .csh, so I'm guessing it's meant to be sourced from csh. Try using csh as your shell.
alnite
alnite
Hm..thanks for the help. That's a progress. There's another file GNUstep.sh, and I used that. It seemed doing something, but gcc still complains that it can't find "Foundation/Foundation.h"

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.