If I may make a gentle suggestion, a MUD server is one of the more complex pieces of code you can compile. If you are not familiar with the compilation process itself, try getting started with a simple program like the classic "hello world" ones described in most C books. This will iron out basic issues, like do you have Cygwin installed correctly.
After installing Cygwin you should have a "home" directory where you put your stuff. I don't have my Windows PC with me right now, but in my case it would be something like:
c:\cygwin\home\nick
Then you would unzip the SWR files into that, giving:
c:\cygwin\home\nick\swr-1.2.3.4
Inside that directory would be a src directory. Navigate to that and type 'make'.
There are quite a few posts here from people who have had trouble getting Cygwin to work, usually because they didn't install enough of it. Try seaching the forum for "cygwin" and see what you find.
Well I download the file then use Winzip to to extract just the files that are in the \src directory and put them in a folder in the Cygwin root...I did not know you were not supposed to do that and didn't think it mattered much. I should also probabily point out that I'm not a programmer or anything so didn't know this.
I see a remarkable trend here. The thing taht catches my eye is: "c:\cygwin\src\" that shouldn't be. Describe the process you are using to extract the files you download. By no means should /src end up in your cygwin root.
The file you downloaded (via the link you provided) was the Win32 source (as I *believe* the swr source on this site is as well), I would assume that it would not work under Cygwin. You need to download a copy of the *nix based source.
Amended on Tue 20 Nov 2007 04:22 AM (UTC) by Nick Gammon
Message
I am trying to compile SWR with Cygwin with very little success.
I've tried using the code I got from: http://ftpgame.org/cgi-bin/directory?/pub/smaug/swr
When I type make this comes up:
$ make
make swreality
make[1]: Entering directory `C:/cygwin/src'
gcc -c -g3 -Wall act_comm.c
process_begin: CreateProcess((null), gcc -c -g3 -Wall act_comm.c, ...) failed.
make (e=2): The system cannot find the file specified.
make[1]: *** [act_comm.o] Error 2
make[1]: Leaving directory `C:/cygwin/src'
C:\cygwin\bin\make.exe: *** [all] Error 2
I have also tried to use the code downloaded from this site however it doesn't have a make file so was wondering how to make the make file or where to get one that will work with this, or how to fix the above code, whichever will be quicker and easier.
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.