Jeff Fearn wrote:

It, 1:30 am, so forgive me if this has been discussed, but the 2.3 SDK
does not compile. Fresh install, no mods, .NET 2003:

Error 1:

d:\HL-SDK\Multiplayer Source\engine\cdll_int.h(72) : error C2011:
'client_textmessage_s' : 'struct' type redefinition
       d:\HL-SDK\Multiplayer Source\engine\Sequence.h(18) : see
declaration of 'client_textmessage_s'

I fixed above by puting in a couple of #defines.

Error 2:

d:\HL-SDK\Multiplayer Source\cl_dll\hl\hl_weapons.cpp(607) : error
C2440: '=' : cannot convert from 'const char *(__cdecl *)(unsigned
long)' to 'const char *(__cdecl *)(uint32)'
       This conversion requires a reinterpret_cast, a C-style cast or
function-style cast

d:\HL-SDK\Multiplayer Source\cl_dll\hl\hl_weapons.cpp(618) : error
C2440: '=' : cannot convert from 'long (__cdecl *)(long,long)' to
'int32 (__cdecl *)(int32,int32)'
       This conversion requires a reinterpret_cast, a C-style cast or
function-style cast

607:    g_engfuncs.pfnNameForFunction   = stub_NameForFunction;
618:    g_engfuncs.pfnRandomLong         = gEngfuncs.pfnRandomLong;

Is this a switch I need to set in VS?

Bed now, me sleep...

Jeff

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders



Of course it's broken. The HLSDK 2.3 was designed to compile with Visual
Studio 6.0, it needs some porting to compile otherwise. Plus, Valve
doesn't maintain it any longer, so some of the new changes to extend
engine API and port to amd64 may need tweaking to make work as well.
Good luck!

--
Jorge "Vino" Rodriguez



_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to