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 ➜ Errors when compiling with Visual Studio

Errors when compiling with Visual Studio

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


Posted by Basil   (3 posts)  Bio
Date Wed 12 Jun 2002 06:27 PM (UTC)
Message
Hi im new to programming and have been reading the forum for a couple of weeks now but im having problems.
i cant figure out how to compile smaug. this is what im using.

OS. windows 2000
compiler. visual studio 6.0 (have also tried cygwin)
source. smaug 1.4a downloaded from here http://www.cs.utk.edu/~london/smaug/

the problem with visual studio is that when i do try to build it it comes up with a whole bunch of errors (44 i think) and then it doesnt do anything after that. and the reason i failed to do it in cygwin probably was because of how little i know of using it.

any help you could give me would be greatly appreciated.
Top

Posted by Zhamel   USA  (67 posts)  Bio
Date Reply #1 on Wed 12 Jun 2002 10:08 PM (UTC)
Message
I'm not familiar with Visual Studio 6.0 but I do know how Cygwin works. After you download the smaug files and unzip it, you're almost ready to compile. If you still have Cygwin make sure you also got the binutils, gcc and make packages. If you don't you can easily get them from the Cygwin website. Then just start up the Cygwin bash shell-prompt-thingie. Move into the smaugs src directory, ie 'cd C:/dist/src' or where you happen to put it. Then all you need to do is type 'make clean' and then 'make'. After waiting for it to compile just find the smaug.exe in the src directory, move it to the area folder. Make sure you also put copy of cygwin1.dll in there, just search for it with you window search/find program. Then just double click the smaug.exe and log on with your telnet/client.

Hope this helps.
Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #2 on Thu 13 Jun 2002 09:43 PM (UTC)
Message
Unfortunately, no one can help you if you just say "it comes up with a whole bunch of errors". Try letting us know what the errors are, or at least the first 20. You can click in the errors window, and copy and paste them here.

- Nick Gammon

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

Posted by Basil   (3 posts)  Bio
Date Reply #3 on Mon 17 Jun 2002 03:57 PM (UTC)
Message
this is what it says.

Configuration: smaug - Win32 Debug--------------------
Build : warning : failed to (or don't know how to) build 'C:\Documents and Settings\Administrator\My Documents\smaug\dist\src\update.c'
Compiling...
act_comm.c
fatal error C1083: Cannot open source file: 'C:\Documents and Settings\Administrator\My Documents\smaug\dist\src\act_comm.c': No such file or directory
act_info.c
fatal error C1083: Cannot open source file: 'C:\Documents and Settings\Administrator\My Documents\smaug\dist\src\act_info.c': No such file or directory
act_move.c
fatal error C1083: Cannot open source file: 'C:\Documents and Settings\Administrator\My Documents\smaug\dist\src\act_move.c': No such file or directory
act_obj.c
fatal error C1083: Cannot open source file: 'C:\Documents and Settings\Administrator\My Documents\smaug\dist\src\act_obj.c': No such file or directory
act_wiz.c
fatal error C1083: Cannot open source file: 'C:\Documents and Settings\Administrator\My Documents\smaug\dist\src\act_wiz.c': No such file or directory
ban.c
fatal error C1083: Cannot open source file: 'C:\Documents and Settings\Administrator\My Documents\smaug\dist\src\ban.c': No such file or directory
boards.c
fatal error C1083: Cannot open source file: 'C:\Documents and Settings\Administrator\My Documents\smaug\dist\src\boards.c': No such file or directory
build.c
fatal error C1083: Cannot open source file: 'C:\Documents and Settings\Administrator\My Documents\smaug\dist\src\build.c': No such file or directory
clans.c
fatal error C1083: Cannot open source file: 'C:\Documents and Settings\Administrator\My Documents\smaug\dist\src\clans.c': No such file or directory
colorize.c
fatal error C1083: Cannot open source file: 'C:\Documents and Settings\Administrator\My Documents\smaug\dist\src\colorize.c': No such file or directory
comm.c
fatal error C1083: Cannot open source file: 'C:\Documents and Settings\Administrator\My Documents\smaug\dist\src\comm.c': No such file or directory
comments.c
fatal error C1083: Cannot open source file: 'C:\Documents and Settings\Administrator\My Documents\smaug\dist\src\comments.c': No such file or directory
const.c
fatal error C1083: Cannot open source file: 'C:\Documents and Settings\Administrator\My Documents\smaug\dist\src\const.c': No such file or directory
db.c
fatal error C1083: Cannot open source file: 'C:\Documents and Settings\Administrator\My Documents\smaug\dist\src\db.c': No such file or directory
deity.c
fatal error C1083: Cannot open source file: 'C:\Documents and Settings\Administrator\My Documents\smaug\dist\src\deity.c': No such file or directory
fight.c
fatal error C1083: Cannot open source file: 'C:\Documents and Settings\Administrator\My Documents\smaug\dist\src\fight.c': No such file or directory
grub.c
fatal error C1083: Cannot open source file: 'C:\Documents and Settings\Administrator\My Documents\smaug\dist\src\grub.c': No such file or directory
handler.c
fatal error C1083: Cannot open source file: 'C:\Documents and Settings\Administrator\My Documents\smaug\dist\src\handler.c': No such file or directory
hashstr.c
fatal error C1083: Cannot open source file: 'C:\Documents and Settings\Administrator\My Documents\smaug\dist\src\hashstr.c': No such file or directory
ibuild.c
fatal error C1083: Cannot open source file: 'C:\Documents and Settings\Administrator\My Documents\smaug\dist\src\ibuild.c': No such file or directory
ident.c
fatal error C1083: Cannot open source file: 'C:\Documents and Settings\Administrator\My Documents\smaug\dist\src\ident.c': No such file or directory
imm_host.c


this is just a couple of them. there are 43 errors when it finishes. do you need any other information?
Top

Posted by Basil   (3 posts)  Bio
Date Reply #4 on Mon 17 Jun 2002 06:11 PM (UTC)
Message
i figured out how to compile it. i had to put everything in a new folder but it is working now.
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.


17,919 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.