Welcome to the Builder Academy

Question Running on a Windows machine?

More
14 Oct 2017 18:36 #6991 by Parnassus
I realized that the mud I compiled was an old copy so I downloaded a copy of 3.68 and started over. I again read README.MSVC8 for the main information. Before getting out of properties, I did as I indicated earlier,
Code:
In the left pane, click the C/C++ folder. Click the Precompiled Headers node. In the right pane, click Create/Use Precompiled Header, and then click Not Using Precompiled Headers.
However, this time I got a lot of errors. Fortunately, Todd has already posted these errors and Thomas has replied.
tbamud.com/forum/2-general/3820-do-these...apply-to-tbamud#4889
Unfortunately (sorry, Thomas) I don't know how to do that.

What is an MSSP-patch, please?

Please Log in or Create an account to join the conversation.

More
14 Oct 2017 20:59 #6993 by thomas
There is a patch in the downloads section, called "TBAmud 3.66 changes for windows" (here : drive.google.com/open?id=0B40XbRH2Qbx5MFQ4SzNBSkViS0k ) .

This patch adds a new conf.h.win file - which will need to be copied to src/conf.h and which has a bug. It lacks the necessary import for winsock in the MSVC part, which is what the previous answer tells about.

It also includes the necessary MS VS project files to get started.

Unfortunately something is still not right after one does this - the mud has a bug with these settings causing it to crash after a couple of minutes. I have still not been able to pin it down - apparently somewhere we're either clobbering memory or freeing something we're not supposed to. This doesn't happen on linux or when compiled in cygwin, so it might be some library included by visual studio that's causing it.

So, I recommend that instead of going through all that trouble, you run tbamud under cygwin.

Please Log in or Create an account to join the conversation.

More
15 Oct 2017 00:05 #6996 by Parnassus
It's not a problem with protocol.c? Why aren't the errors showing up in other files?
Code:
Severity Code Description Project File Line Suppression State Error C2065 'IAC': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 376 Error C2065 'IAC': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 379 Error C2065 'IAC': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 381 Error C2065 'IAC': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 387 Error C2065 'SE': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 387 Error C2065 'IAC': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 482 Error C2065 'SB': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 486 Error C2065 'DO': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 491 Error C2065 'DONT': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 492 Error C2065 'WILL': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 493 Error C2065 'WONT': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 494 Error C2065 'IAC': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 499 Error C2065 'IAC': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 500 Error C2051 case expression not constant TBA3.68 ...\tbamud-3.68\src\protocol.c 486 Error C2051 case expression not constant TBA3.68 ...\tbamud-3.68\src\protocol.c 491 Error C2051 case expression not constant TBA3.68 ...\tbamud-3.68\src\protocol.c 492 Error C2051 case expression not constant TBA3.68 ...\tbamud-3.68\src\protocol.c 493 Error C2051 case expression not constant TBA3.68 ...\tbamud-3.68\src\protocol.c 494 Error C2051 case expression not constant TBA3.68 ...\tbamud-3.68\src\protocol.c 499 Error C2065 'IAC': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 870 Error C2065 'DO': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 870 Error C2065 'TELOPT_TTYPE': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 870 Error C2099 initializer is not a constant TBA3.68 ...\tbamud-3.68\src\protocol.c 870 Error C2065 'IAC': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 1000 Error C2065 'WILL': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 1000 Error C2065 'IAC': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 1005 Error C2065 'DO': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 1005 Error C2065 'IAC': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 1081 Error C2065 'SB': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 1081 Error C2065 'IAC': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 1083 Error C2065 'SE': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 1083 Error C2065 'IAC': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 1088 Error C2065 'SB': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 1088 Error C2065 'IAC': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 1090 Error C2065 'SE': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 1090 Error C2065 'IAC': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 1098 Error C2065 'SB': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 1098 Error C2065 'IAC': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 1100 Error C2065 'SE': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 1100 Error C2065 'IAC': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 1105 Error C2065 'SB': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 1105 Error C2065 'IAC': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 1107 Error C2065 'SE': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 1107 Error C2065 'IAC': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 1149 Error C2065 'SB': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 1149 Error C2065 'IAC': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 1150 Error C2065 'SE': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 1150 Error C2065 'IAC': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 1155 Error C2065 'SB': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 1155 Error C2065 'SE': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 1155 Error C2065 'IAC': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 1197 Error C2065 'SB': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 1197 Error C2065 'IAC': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 1198 Error C2065 'SE': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 1198 Error C2065 'IAC': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 1210 Error C2065 'SB': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 1210 Error C2065 'SE': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 1210 Error C2065 'IAC': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 1490 Error C2065 'SB': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 1490 Error C2065 'TELOPT_TTYPE': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 1490 Error C2065 'SE': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 1490 Error C2065 'IAC': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 1491 Error C2065 'DO': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 1491 Error C2065 'TELOPT_NAWS': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 1491 Error C2065 'IAC': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 1492 Error C2065 'DO': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 1492 Error C2065 'IAC': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 1493 Error C2065 'WILL': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 1493 Error C2065 'IAC': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 1494 Error C2065 'WILL': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 1494 Error C2065 'IAC': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 1495 Error C2065 'DO': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 1495 Error C2065 'IAC': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 1496 Error C2065 'WILL': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 1496 Error C2065 'IAC': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 1497 Error C2065 'DO': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 1497 Error C2065 'TELOPT_TTYPE': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 1538 Error C2065 'WILL': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 1539 Error C2065 'WONT': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 1549 Error C2065 'TELOPT_NAWS': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 1566 Error C2065 'WILL': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 1567 Error C2065 'WONT': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 1569 Error C2065 'WILL': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 1576 Error C2065 'IAC': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 1578 Error C2065 'SB': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 1578 Error C2065 'SE': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 1578 Error C2065 'WONT': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 1582 Error C2065 'DO': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 1589 Error C2065 'DONT': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 1596 Error C2065 'DO': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 1603 Error C2065 'DONT': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 1605 Error C2065 'DO': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 1612 Error C2065 'DONT': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 1617 Error C2065 'DO': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 1627 Error C2065 'DONT': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 1629 Error C2065 'WILL': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 1636 Error C2065 'DO': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 1636 Error C2065 'IAC': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 1639 Error C2065 'SB': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 1639 Error C2065 'SE': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 1639 Error C2065 'WONT': undeclared identifier TBA3.68 ...\tbamud-3.68\src\protocol.c 1647 Error C1003 error count exceeds 100; stopping compilation TBA3.68 ...\tbamud-3.68\src\protocol.c 1647 Severity Code Description Project File Line Suppression State Warning C4018 '<=': signed/unsigned mismatch TBA3.68 ...\tbamud-3.68\src\protocol.c 1391 Warning C4013 'alloca' undefined; assuming extern returning int TBA3.68 ...\tbamud-3.68\src\protocol.c 1394 Warning C4047 'initializing': 'char *' differs in levels of indirection from 'int' TBA3.68 ...\tbamud-3.68\src\protocol.c 1394
(I threw in 3/9 warnings, just for fun)

Please Log in or Create an account to join the conversation.

More
04 Dec 2017 05:10 #7185 by krell
Replied by krell on topic Running on a Windows machine?
Wow Parna,

I'm sorry to hear that you were having so much trouble. Hopefully you got your new computer up with tba running.

Please Log in or Create an account to join the conversation.

More
18 Dec 2017 22:24 #7271 by Parnassus
Sorry for the late response. I've been lazy lately! Well, Fade gave really good instructions as well as a TBA zip. This zip was for version 3.57. I then realized that the most recent version 3.68. When I tried that, I couldn't get it to work. Since Thomas felt it would be better to run under Cygwin, I kept to the 3.57. My cygwin version seems to want me to reinstall Cygwin but I don't want to do that on a borrowed computer. My MSVC version works off my removable hard-drive so I'm happier with that. I'm hoping that it will continue working when I plug it into another computer.

I'd hoped I'd have my new computer by now but that didn't work out as planned and now it looks as if I'll wait for spring to get it. This borrowed laptop and my removable h-d are working fine. If I were doing more with my TBA, I'd work harder to get the current copy working but it's not worth the time at this point.

Thanks for worrying about me, Krell :)

Please Log in or Create an account to join the conversation.

More
19 Dec 2017 14:30 #7274 by Sascha
Sounds like you have your hands full! I know that we're all looking forward to you replacing your machine and jumping back in. You always have such solid answers and creative ideas.

Will you stand against the coming Storm? After the Breaking: STORMRIDERS MUD - atbmud.dune.net port 4000

Please Log in or Create an account to join the conversation.

Time to create page: 0.249 seconds