.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   Half-Life 1 SDK (http://forums.bots-united.com/forumdisplay.php?f=33)
-   -   HL1 SDK Problems with compiling cl_dll... (http://forums.bots-united.com/showthread.php?t=5413)

Merajj 23-06-2006 19:16

HL1 SDK Problems with compiling cl_dll...
 
I'm playing around with the v2.3HLSDK and I am having lots of trouble compiling the Client DLL. I got through the MP DLL with not much trouble, I had to rename the occurences of ARRAYSIZE to HLARRAYSIE and then it compiled successfully with a warning that occured 153 times:
Code:

warning C4005: 'ARRAYSIZE' : macro redefinition
I moved on to the Client DLL and now I am getting some strange errors, they are as follows:
Code:

Project  : cl_dll
Compiler  : Microsoft Visual C++ Toolkit 2003 (called directly)
Directory : C:\Documents and Settings\Administrator\Desktop\Multiplayer Source\cl_dll\
--------------------------------------------------------------------------------
Switching to target: Win32 Release
overview.cpp
overview.cpp(51) : error C2039: 'Overview_GetOverviewState' : is not a member of 'cl_enginefuncs_s'
        c:\Documents and Settings\Administrator\Desktop\Multiplayer Source\cl_dll\../engine\cdll_int.h(104) : see declaration of 'cl_enginefuncs_s'
overview.cpp(60) : error C2039: 'Overview_WorldToScreen' : is not a member of 'cl_enginefuncs_s'
        c:\Documents and Settings\Administrator\Desktop\Multiplayer Source\cl_dll\../engine\cdll_int.h(104) : see declaration of 'cl_enginefuncs_s'
overview.cpp(61) : error C2039: 'Overview_WorldToScreen' : is not a member of 'cl_enginefuncs_s'
        c:\Documents and Settings\Administrator\Desktop\Multiplayer Source\cl_dll\../engine\cdll_int.h(104) : see declaration of 'cl_enginefuncs_s'
overview.cpp(73) : error C2039: 'Overview_WorldToScreen' : is not a member of 'cl_enginefuncs_s'
        c:\Documents and Settings\Administrator\Desktop\Multiplayer Source\cl_dll\../engine\cdll_int.h(104) : see declaration of 'cl_enginefuncs_s'
Process terminated with status 1 (0 minutes, 3 seconds)
4 errors, 0 warnings

If anyone could give me the source files for the sdk that they know work (I'm questioning the integrity of mine) that would be excellent.

The Storm 24-06-2006 10:35

Re: HL1 SDK Problems with compiling cl_dll...
 
Download the patched SDK-v2.3p3.
Its the same like the original one with only some compiler fixes. You will not have any problems compiling this SDK with any compiler. :)

jeefo 24-06-2006 15:03

Re: HL1 SDK Problems with compiling cl_dll...
 
.. and use "#pragma warning (disable : 4005)" for this warning, it's caused by a "new" Platform SDK.


All times are GMT +2. The time now is 07:48.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.