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

[SOURCE] Error in 1.60/cvs meta_api.cpp


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
TheRising
Member
Join Date: Mar 2005
Location: Frankfurt Germany
Old 11-10-2005 , 02:28   [SOURCE] Error in 1.60/cvs meta_api.cpp
Reply With Quote #1

Hi,

I tried to compile my own version of AmxmodX from the cvs source.

But there is a problem related to meta_api.cpp even with the 1.60 sourcecode (1.55 source is not affected, overwriting the >=1.60 meta_api.cpp with the one from 1.55 helps me).

Here is the end of my compilelog:

Quote:
In file included from ../../metamod/metamod/dllapi.h:41,
from ../../metamod/metamod/meta_api.h:41,
from amxmodx.h:43,
from meta_api.cpp8:
../../metamod/metamod/osdep.h:130: warning: `visibility' attribute ignored on non-class types
../../metamod/metamod/osdep.h:165: warning: `visibility' attribute ignored on non-class types
../../metamod/metamod/osdep.h:183: warning: `visibility' attribute ignored on non-class types
In file included from ../../metamod/metamod/dllapi.h:41,
from ../../metamod/metamod/meta_api.h:41,
from amxmodx.h:43,
from meta_api.cpp8:
../../metamod/metamod/osdep.h:284: warning: `visibility' attribute ignored on non-class types
meta_api.cpp: In function `void C_CvarValue(const edict_t*, const char*)':
meta_api.cpp:1104: error: invalid conversion from `const edict_t*' to `edict_t*'
meta_api.cpp:1104: error: initializing argument 1 of `int ENTINDEX(edict_t*)'
meta_api.cpp:1115: error: invalid conversion from `const edict_t*' to `edict_t*'
meta_api.cpp:1115: error: initializing argument 1 of `int ENTINDEX(edict_t*)'
meta_api.cpp:1119: error: invalid conversion from `const edict_t*' to `edict_t*'
meta_api.cpp:1119: error: initializing argument 1 of `int ENTINDEX(edict_t*)'
make[1]: *** [Release/meta_api.o] Error 1
make[1]: Leaving directory `/path/to/amxmodx/amxmodx'
make: *** [all] Error 2
With best regards
TheRising
__________________

Running Plugins & Settings || Server Homepage + Customstuff || HLSW
WebSVN || Anon SVN || German Hompage Take a look at the Pluginlinklist
TheRising is offline
Send a message via ICQ to TheRising
BAILOPAN
Join Date: Jan 2004
Old 11-10-2005 , 10:13  
Reply With Quote #2

You're not using the latest Metamod 1.18 sources and HL2SDK-p2.

Get both from www.metamod.org.
__________________
egg
BAILOPAN is offline
Reply



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 06:48.


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