Hello all, im french and I speak a little english... I have Dev-C++ but I can't compile ant MUD... I want compile CircleMUD or Tiny MUD server 2. Tiny MUD server is very cool but for the second version no dev-cpp project is available. I hate Cingwin :p
It is quite hard (if not impossible for a beginner) to compile CircleMUD in something other than linux unless you have a specific package meant for that. I don't think CircleMUD will compile in C++ either.
Sorry, I don't find. Yesterday, I have download CircleMud with an MSVC++ project file, I have added that with Dev-C++ and I compile... I have waiting 3 hours for 3 percent... Does that last also a long time?
Ok, I have download the Smaug codebase now and when I compile (I have added #include <sys/time.h>) I have an error:
C:\smaug>make
make smaug
make[1]: Entering directory `C:/smaug'
gcc -c -O -g3 -Wall -Wuninitialized -DSMAUG misc.c
In file included from misc.c:26:
mud.h:30: warning: ignoring #pragma warning
mud.h:5380: warning: "struct timezone" declared inside parameter list
mud.h:5380: warning: its scope is only this definition or declaration, which is
probably not what you want
mud.h:5388: warning: useless keyword or type name in empty declaration
misc.c:2103: warning: "struct timezone" declared inside parameter list
misc.c:2104: error: conflicting types for 'gettimeofday'
mud.h:5380: error: previous declaration of 'gettimeofday' was here
misc.c:2104: error: conflicting types for 'gettimeofday'
mud.h:5380: error: previous declaration of 'gettimeofday' was here
make[1]: *** [misc.o] Error 1
make[1]: Leaving directory `C:/smaug'
C:\DEV-CPP\BIN\MAKE.EXE: *** [all] Error 2
Which smaug did you download? The one from here? The one from www.smaugfuss.org? If we know which one it is we can look at the code, and the lines would be applicable as well. The other options ( and the better one, cause we don't have to download the source ) is to please paste the lines of code that these error messages are refering to.
[EDIT - 11 March 2008] - The Smaug FUSS site is now http://www.smaugmuds.org/
Personally I wouldn't use anything other than Cygwin these days, it is cheap, fast, and most Unix code will compile under it. If you must, use Dev-C++ as your editor.
If you must use something other than real linux( preferred ) or Cygwin, Dev-C++ is at least workable now. Read the post for details though - not all is as happy as it could be :)
Hello all, first thank for all yours answers ! I have download SmaugFUSS and load the Dev-C++ project in Dev-C++, I compile with F9 and I have 511 errors:
http://midgaard.free.fr/errors.txt
Help me please :o) I am under Windows