Raised This Month: $51 Target: $400
 12% 

some errors recompiling amxx


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Neeeeeeeeeel.-
Some Guy Yellin'
Join Date: Jul 2010
Location: Argentina
Old 01-04-2013 , 02:15   some errors recompiling amxx
Reply With Quote #1

I'm recompiling amxx for windows (using vc++ 2010) and I get many errors... (I didn't change something on amxx/metamod source code yet).

Code:
1>c:\hlsdk-2.3-p3\multiplayer\engine\eiface.h(416): warning C4005: 'ARRAYSIZE' : redefinición de macro
1>          c:\program files (x86)\microsoft sdks\windows\v7.0a\include\winnt.h(1140) : vea la definición anterior de 'ARRAYSIZE'
eiface.h line 416:
PHP Code:
#define ARRAYSIZE(p)        (sizeof(p)/sizeof(p[0])) 
winnt.h line 1140:
PHP Code:
#define ARRAYSIZE(A)    RTL_NUMBER_OF_V2(A) 
Code:
1>c:\metamod-1.19\metamod\enginecallbacks.h : error C4335: Formato de archivo Mac detectado: convierta el archivo de código fuente en formato DOS o UNIX
Code:
1>c:\metamod-1.19\metamod\meta_api.h(187): error C2059: error de sintaxis : 'do'
1>c:\metamod-1.19\metamod\meta_api.h(187): error C2143: error de sintaxis : falta ';' delante de '{'
1>c:\metamod-1.19\metamod\meta_api.h(187): error C2447: '{' : falta el encabezado de función (¿lista formal de estilo anterior?)
1>c:\metamod-1.19\metamod\meta_api.h(187): error C2059: error de sintaxis : 'while'
meta_api.h line 187:
PHP Code:
    do { gpMetaGlobals->mres=result; return; } while(0
Code:
1>c:\metamod-1.19\metamod\meta_api.h(191): error C2143: error de sintaxis : falta ';' delante de '{'
1>c:\metamod-1.19\metamod\meta_api.h(191): error C2447: '{' : falta el encabezado de función (¿lista formal de estilo anterior?)
1>c:\metamod-1.19\metamod\meta_api.h(191): error C2059: error de sintaxis : 'while'
meta_api.h line 191:
PHP Code:
    do { gpMetaGlobals->mres=result; return(value); } while(0
Code:
1>c:\metamod-1.19\metamod\meta_api.h(205): error C2143: error de sintaxis : falta ';' delante de '{'
1>c:\metamod-1.19\metamod\meta_api.h(205): error C2447: '{' : falta el encabezado de función (¿lista formal de estilo anterior?)
1>c:\metamod-1.19\metamod\meta_api.h(223): error C4430: falta  el especificador de tipo; se presupone int. Nota: C++ no admite  default-int
meta_api.h:
PHP Code:
typedef struct // line 205

    
GETENTITYAPI_FN         pfnGetEntityAPI;

    
GETENTITYAPI_FN         pfnGetEntityAPI_Post;

    
GETENTITYAPI2_FN        pfnGetEntityAPI2;

    
GETENTITYAPI2_FN        pfnGetEntityAPI2_Post;

    
GETNEWDLLFUNCTIONS_FN   pfnGetNewDLLFunctions;

    
GETNEWDLLFUNCTIONS_FN   pfnGetNewDLLFunctions_Post;

    
GET_ENGINE_FUNCTIONS_FN pfnGetEngineFunctions;

    
GET_ENGINE_FUNCTIONS_FN pfnGetEngineFunctions_Post;

META_FUNCTIONS//line 223 
Code:
1>c:\metamod-1.19\metamod\meta_api.h(287): error C2061: error de sintaxis : identificador 'META_FUNCTIONS'
1>c:\metamod-1.19\metamod\meta_api.h(295): error C2061: error de sintaxis : identificador 'META_FUNCTIONS'
PHP Code:
C_DLLEXPORT int Meta_Attach(PLUG_LOADTIME now

        
META_FUNCTIONS *pFunctionTable// line 287

        
meta_globals_t *pMGlobals

        
gamedll_funcs_t *pGamedllFuncs);

typedef int (*META_ATTACH_FN) (PLUG_LOADTIME now

        
META_FUNCTIONS *pFunctionTable// line 295

        
meta_globals_t *pMGlobals

        
gamedll_funcs_t *pGamedllFuncs); 
I downloaded metamod sdk v1.19 from here and hlsdk v2.3-p3 from here.
__________________

Last edited by Neeeeeeeeeel.-; 01-04-2013 at 02:18.
Neeeeeeeeeel.- is offline
Send a message via Skype™ to Neeeeeeeeeel.-
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 14:38.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode