You're mixmatching the original 2.3 SDK with the patch set released by
Valve (maintained at www.metamod.org).  I think.

   ~dvander

> 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
>
>



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

Reply via email to