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 ➜ SMAUG ➜ Compiling the server ➜ stand alone

stand alone

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


Posted by Harsk   USA  (47 posts)  Bio
Date Sat 24 Nov 2001 05:45 AM (UTC)
Message
I was wondering if there was a way to get the smaug server you can compile under cygwin to run as a stand alone without haveing to use cygwin all the time you want to start it up? (Pardon the rambling, been an exhausting day.)
Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #1 on Sat 24 Nov 2001 10:04 PM (UTC)
Message
In the cygwin\bin directory is a file: cygwin1.dll

Copy that into your path (eg. c:\windows\system, or c:\winnt\system32) and then you should be able to simply double-click smaug.exe and it will run (it did when I tried it).

- Nick Gammon

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

Posted by Harsk   USA  (47 posts)  Bio
Date Reply #2 on Mon 26 Nov 2001 07:30 AM (UTC)
Message
hmm, I tried that. When I double clicked, it would start up then immeadiatly shut back down again, is there anything I might be missing? Or will I need a win32 emulator to get it to work right?
Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #3 on Mon 26 Nov 2001 09:15 PM (UTC)
Message
It is probably giving some error message. Try running it under Cygwin first, to see what the message is, then you can use the other technique to save having to start up a Cygwin window every time.

- Nick Gammon

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

Posted by Harsk   USA  (47 posts)  Bio
Date Reply #4 on Tue 27 Nov 2001 04:22 AM (UTC)
Message
runs fine under cygwin, no errors are showeing up. Anything else I can do?
Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #5 on Wed 28 Nov 2001 01:41 AM (UTC)
Message
The error might be to do with the directory it is in. Make sure you run it from the same directory you are in when you run it under Cygwin.

- Nick Gammon

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

Posted by Harsk   USA  (47 posts)  Bio
Date Reply #6 on Wed 28 Nov 2001 06:18 AM (UTC)
Message
the path of my exe is at:
C:\cygwin\home\default\smaug\src
that's the same path that I use to run it under cyg. I don't understand why it still won't run on its own, and I did follow the instructions you've provided thus far. There also haven't been any errors (miraculous as that is considering I'm pretty lousy with codeing and codeing changes). Well, I can allways try to find a compatible compiler to use...
Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #7 on Wed 28 Nov 2001 07:07 AM (UTC)
Message
Try putting the .exe into the "area" directory.

- Nick Gammon

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

Posted by Harsk   USA  (47 posts)  Bio
Date Reply #8 on Thu 29 Nov 2001 05:21 AM (UTC)
Message
Woooo, that did the trick, thanks for your help Nick :)
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.


21,232 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.