Compile CircleMud with Dev-C++

Posted by Conap on Thu 15 Sep 2005 05:49 PM — 10 posts, 47,613 views.

#0
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

Bye and thanks !
USA #1
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.

See this related topic:
http://www.gammon.com.au/forum/bbshowpost.php?bbsubject_id=4020
Amended on Thu 15 Sep 2005 08:57 PM by Zeno
#2
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?

Thank you for your answers
USA #3
No, it should not take that long to compile.
#4
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
Canada #5
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/
Amended on Tue 11 Mar 2008 03:19 AM by Nick Gammon
Australia Forum Administrator #6
See this page:

http://www.gammon.com.au/smaug/howtocompile.htm

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.
USA #7
Though it may not be Circle.....

http://www.smaugmuds.org/index.php?a=topic&t=1557

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 :)
Amended on Wed 27 Feb 2008 02:19 PM by Samson
#8
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
USA #9
You need to use the custom Makefile that's included. Letting it autogenerate one does not work. The post explained this.

You also need to have the package manager download the zlib package from the community devpacks site or you won't get very far.