C linkage error
PHP Code:
1 : https://forum.openframeworks.cc/t/er...of-0-8-0/13333 2 : http://stackoverflow.com/questions/4...-allowed-c2733 3 : http://stackoverflow.com/questions/3...ibrary-stdio-h 4 : http://stackoverflow.com/questions/2...is-not-allowed none helped |
Re: C linkage error
Meta_Query in amxxmodule.cpp probably has a different prototype than one in meta_api.h for whatever reason. Where did you get your amxx SDK and metamod from?+
Post your code, or if you are using VS the whole project folder. |
Re: C linkage error
i use vs 2013
sdk from https://forums.alliedmods.net/showth...27769?t=227769 i tried to compile fun module same error |
Re: C linkage error
Clone HLSDK and Metamod from
https://github.com/alliedmodders/hlsdk https://github.com/alliedmodders/metamod-hl1 and use those instead. |
Re: C linkage error
|
Re: C linkage error
nvm fixed
i commented : /* cell* get_amxaddr(AMX *amx, cell amx_addr) { return (cell *)(amx->base + (int)(((AMX_HEADER *)amx->base)->dat + amx_addr)); }*/ and define FN_AMMX_QUERY |
Re: C linkage error
You should not have to change the code and especially this one. Just follow the official way to compile and use the HLSDK/Metamod from alliedmods github repository.
|
Re: C linkage error
but it didnt compile
bcz /* cell* get_amxaddr(AMX *amx, cell amx_addr) { return (cell *)(amx->base + (int)(((AMX_HEADER *)amx->base)->dat + amx_addr)); }*/ undefind symbol AMX_HEADER |
Re: C linkage error
You are doing something wrong. Just post your VS project and the whole compiler output. Damn it.
|
Re: C linkage error
how to post all VS project ? lol
no errors after commented amxx dir thing , also i updated SDKS from ur links |
All times are GMT -4. The time now is 18:39. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.