Page 1 of 1

VB .NET 2003 doesn't like UnrealIRCd

Posted: Thu Sep 02, 2004 6:08 am
by Ron2K
Right, I ended up with a copy of Visual Basic .NET 2003. (Part of one of my university courses, they were giving us each a copy of it with the textbook.) So, I was stuffing around with it, and then I thought: hey, let me try and compile UnrealIRCd with this. Just for the hell of it.

So, I downloaded the 3.2.1 source, shoved it in my D: drive, loaded up the VB command prompt and decided to give it a try. No luck. It complains that it cannot find included file windows.h and then tells me, in no uncertain terms, that I should go back to Natural Selection mapping.

For those interested, here's a screenshot. Sorry Lynx users. As you can see, I highlighted the error message.
Image

So, any idea how to get this working? (I tried commenting out the windows.h bit in unreal.c to see what would happen - I've never seen a bigger load of compile errors in my life.)

Posted: Thu Sep 02, 2004 2:21 pm
by aquanight
Hm... you have Visual Basic .NET or the whole Visual Studio? (The title on that console is a bit misleading :P .)

If you're sure it's VB.NET, then IIRC VB.NET doesn't come with the PSDK etc (why you would still have CL is beyond me, though I think the .NET Framework comes with all the compilers (VB, C#, and C++)). No PSDK == no <windows.h>. In that console do an echo %INCLUDE% and check each of the folders outputted to see if there's a windows.h. If there is, there might be something wrong with CL. If not, then you need to adjust the include path to include the PSDK if you installed it.

Posted: Thu Sep 02, 2004 2:38 pm
by Ron2K
Although I'll only be able to try this when I get home, it sounds like I'll need to get that PSDK. Do you mind providing me with a link?

Posted: Thu Sep 02, 2004 6:20 pm
by AngryWolf
In the Unreal3.2.1 source package there is a file in the doc folder called compiling_win32.txt that says:
== VC++ 6.0 ==
2. You need the Platform SDK (PSDK)
Grab it at: http://www.microsoft.com/msdownload/pla ... sdkupdate/ ->
core sdk -> install this sdk.
Note that this can take some time to download because it's >200Mb
(450mb installed) [!].
Also see http://www.vulnscan.org/unrealwin32dev/, it might be helpful.

Posted: Fri Sep 03, 2004 12:06 pm
by Solutech
If you have xp sp2 on your machine be aware it mucks that page up pretty good . The "new" security measures stop the activex control downloading so you enable it and it downloads then breaks with an "Undefined version error" . took about 5 goes to get it in . Then the new popup stopper kicks in and stops the snazzy popup installer working . Click allow and then you get back to making activex control install again lol . Sheez its nearly enough to make me swap to *nix :D . Which if I get my hands on another old pc I may well do to have a play.

Posted: Fri Sep 03, 2004 1:59 pm
by Ron2K
AngryWolf: I overwrote the old compiling.win32.txt file with the one in CVS, which doesn't have that link :P

Solutech: Typical Microsoft. My home computer is stand-alone (and, incidentally, still running SP1) and these university computers still run Windows 2000, so if I just get the full install (the one that comes in 25MB pieces), that should hopefully do it.