Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUDs ➜ General ➜ Compile CircleMud with Dev-C++

Compile CircleMud with Dev-C++

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Conap   (13 posts)  Bio
Date Thu 15 Sep 2005 05:49 PM (UTC)
Message
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 !
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #1 on Thu 15 Sep 2005 08:49 PM (UTC)

Amended on Thu 15 Sep 2005 08:57 PM (UTC) by Zeno

Message
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

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

Posted by Conap   (13 posts)  Bio
Date Reply #2 on Fri 16 Sep 2005 05:28 AM (UTC)
Message
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
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #3 on Fri 16 Sep 2005 04:40 PM (UTC)
Message
No, it should not take that long to compile.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

Posted by Conap   (13 posts)  Bio
Date Reply #4 on Fri 16 Sep 2005 05:46 PM (UTC)
Message
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
Top

Posted by Greven   Canada  (835 posts)  Bio
Date Reply #5 on Fri 16 Sep 2005 06:05 PM (UTC)

Amended on Tue 11 Mar 2008 03:19 AM (UTC) by Nick Gammon

Message
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/

Nobody ever expects the spanish inquisition!

darkwarriors.net:4848
http://darkwarriors.net
Top

Posted by Nick Gammon   Australia  (23,140 posts)  Bio   Forum Administrator
Date Reply #6 on Sun 18 Sep 2005 06:24 AM (UTC)
Message
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.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Samson   USA  (683 posts)  Bio
Date Reply #7 on Sun 18 Sep 2005 06:09 PM (UTC)

Amended on Wed 27 Feb 2008 02:19 PM (UTC) by Samson

Message
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 :)
Top

Posted by Conap   (13 posts)  Bio
Date Reply #8 on Wed 21 Sep 2005 11:35 AM (UTC)
Message
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
Top

Posted by Samson   USA  (683 posts)  Bio
Date Reply #9 on Wed 21 Sep 2005 11:37 AM (UTC)

Amended on Wed 21 Sep 2005 11:38 AM (UTC) by Samson

Message
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.
Top

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.


37,009 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.