-- [ Picked text/plain from multipart/alternative ] Pretty weird. Surely you aren't using the fresh SDK files (maybe you applied the patches), because i moved to .NET 2003 5 months ago and i continue compiling for HL1 (SDK 2.3 and Spirit), with no errors.
2005/12/16, Adam amckern Mckern <[EMAIL PROTECTED]>: > > You just have to cast those last two errors, I only > had the 2 errors in 2002, but never went to 2003 with > the 2.3 sdk. > > > > --- [EMAIL PROTECTED] wrote: > > > 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 > > > > > > > -------- > > My Website http://www.ammahls.com > Lead Programer NightFall http://www.nightfallmod.net/ > Developer of CST and ZHLT 3.0 http://www.zhlt.tk > > This email has been sent from Adam McKern, and is not one of the many spam > bots that use my email address. > > If you receive an email that has not got this signature line, please > delete the email, and not respond in any way to it. > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > _______________________________________________ > 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

