The Dawn Of Time
The Official Forums for the Dawn Of Time Mud Codebase
 
Log in Register FAQ Memberlist Search The Dawn Of Time Forum Index Goto the Official Dawn Website

Please help with compiling on Cygwin

 
Post new topic   Reply to topic    The Dawn Of Time Forum Index » Getting Started
View previous topic :: View next topic  
Author Message
snoop_boblinski



Joined: 08 Oct 2006
Posts: 18
Location: New Zealand

PostPosted: Thu Oct 12, 2006 10:59 pm    Post subject: Please help with compiling on Cygwin Reply with quote




Please help... how do I fix that,, i'm very new to compiling so keep instructions simple pretty please!


Back to top
View user's profile Send private message
Tristan
Moderator (of death!!)


Joined: 21 Apr 2004
Posts: 387
Location: US

PostPosted: Fri Oct 13, 2006 5:20 am    Post subject: Reply with quote

http://forums.dawnoftime.org/viewtopic.php?t=1817

Wink


Back to top
View user's profile Send private message Send e-mail Visit poster's website
snoop_boblinski



Joined: 08 Oct 2006
Posts: 18
Location: New Zealand

PostPosted: Fri Oct 13, 2006 12:17 pm    Post subject: Reply with quote

What file do I make that change is? I'm very sorry to be a pain I'm just a newbie!


Back to top
View user's profile Send private message
Tristan
Moderator (of death!!)


Joined: 21 Apr 2004
Posts: 387
Location: US

PostPosted: Fri Oct 13, 2006 12:47 pm    Post subject: Reply with quote

error messages will always give you the applicable file, in the case connect.cpp


Back to top
View user's profile Send private message Send e-mail Visit poster's website
snoop_boblinski



Joined: 08 Oct 2006
Posts: 18
Location: New Zealand

PostPosted: Fri Oct 13, 2006 4:16 pm    Post subject: Reply with quote

Oh man, so many errors..




What do I do?


Back to top
View user's profile Send private message
Daos



Joined: 29 Jan 2003
Posts: 1219
Location: United States

PostPosted: Sat Oct 14, 2006 5:57 am    Post subject: Reply with quote

You need to disable your IPv6 features. Do this by editing config.h in your src, and comment out near the bottom where it reads:

Code:
#define IPV6_SUPPORT_ENABLED


Then run your configure script to generate a new makefile, do a full build and it should work.



_________________
- Daos

http://www.dawnoftime.org
Back to top
View user's profile Send private message Send e-mail Visit poster's website
snoop_boblinski



Joined: 08 Oct 2006
Posts: 18
Location: New Zealand

PostPosted: Sat Oct 14, 2006 11:05 am    Post subject: Reply with quote

Alright, I added that at the bottom of my config.h file:

Quote:

....
/* Define if you have sys/wait.h. */
#define HAVE_SYS_WAIT_H 1

/* Define these if any type is missing. */
/* #undef pid_t */
/* #undef size_t */
/* #undef socklen_t */
/* #undef const */
/* #undef inline */

#define IPV6_SUPPORT_ENABLED

#endif


But it still comes up with that same dawnstat error. What should I do next?


Back to top
View user's profile Send private message
Daos



Joined: 29 Jan 2003
Posts: 1219
Location: United States

PostPosted: Sat Oct 14, 2006 11:22 am    Post subject: Reply with quote

*chuckles* I didn't tell you to add the code, I told you to comment out the code.

Where you find #define IPV6_SUPPORT_ENABLED put two (//) marks in behind the statement to comment it out so it looks like this:

Code:
// #define IPV6_SUPPORT_ENABLED


The extra #define you typed in, you need to omit.



_________________
- Daos

http://www.dawnoftime.org
Back to top
View user's profile Send private message Send e-mail Visit poster's website
snoop_boblinski



Joined: 08 Oct 2006
Posts: 18
Location: New Zealand

PostPosted: Sat Oct 14, 2006 12:05 pm    Post subject: Reply with quote

Okay, I managed to compile it, but how now do I open my new mud?

I went to my C:\ then into cygwin, into home, into dot tryed to double click on dawn.exe... but it came up with an error...

Quote:
This application has failed to start because cygwin1.dll was not found.



Anyone know what to do?


Back to top
View user's profile Send private message
Daos



Joined: 29 Jan 2003
Posts: 1219
Location: United States

PostPosted: Sun Oct 15, 2006 5:45 am    Post subject: Reply with quote

Hi -

Cygwin's /bin should be in your PATH when you run any Cygwin program. If you want to run Cygwin programs from outside of the Cygwin environment (i.e., from a command prompt or a batch file), make sure your Windows system PATH contains c:\cygwin\bin.



_________________
- Daos

http://www.dawnoftime.org
Back to top
View user's profile Send private message Send e-mail Visit poster's website
snoop_boblinski



Joined: 08 Oct 2006
Posts: 18
Location: New Zealand

PostPosted: Sun Oct 15, 2006 11:56 am    Post subject: Reply with quote

Hmmm, I've been trying to add a quiet movement skill... and for now I thought I'd just duplicate sneak... but I keep getting this error...




Any help on this one? Smile


Back to top
View user's profile Send private message
Daos



Joined: 29 Jan 2003
Posts: 1219
Location: United States

PostPosted: Tue Oct 17, 2006 4:27 am    Post subject: Reply with quote

Hi -

You need to add the new AFF_QMOVEMENT code to dawn.h & tables.cpp -

Being the fact the entire AFF table is used up, you will need to define it as
AFF2_QMOVEMENT.

Additionally, I assume you have your MUD running now by posting this new error. Any additional code probs you may have, it would be best to start a new thread under a new topic so its easier for other users of this forum to topic browse. You never know what information they may be seeking Wink



_________________
- Daos

http://www.dawnoftime.org
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Anne



Joined: 18 Apr 2008
Posts: 3

PostPosted: Fri Apr 18, 2008 6:41 am    Post subject: Sticky! Reply with quote

Can we get this post stickied? Also, can we get this information added to the Cygwin section of the 'Getting Started' page???


Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    The Dawn Of Time Forum Index » Getting Started All times are GMT + 13 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001-2005 phpBB Group
Theme created by Vjacheslav Trushkin