stand alone

Posted by Harsk on Sat 24 Nov 2001 05:45 AM — 9 posts, 28,909 views.

USA #0
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.)
Australia Forum Administrator #1
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).
USA #2
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?
Australia Forum Administrator #3
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.
USA #4
runs fine under cygwin, no errors are showeing up. Anything else I can do?
Australia Forum Administrator #5
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.
USA #6
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...
Australia Forum Administrator #7
Try putting the .exe into the "area" directory.
USA #8
Woooo, that did the trick, thanks for your help Nick :)