![]() |
Error compiling METAMOD 1.17
I set up the correct include paths, i applied the latest .h files from Alfed at valve. I also applied PMB's patch. I get over 100 of errors like this:
Code:
engine_api.cpp(386) : error C2440: '=' : cannot convert from 'void (__cdecl *)(void *,char *,...)' to 'void (__cdecl *)(struct _iobuf *,char *,...)' btw, if you where searching for the latest headers of the 'new but not yet released sdk', i have uploaded them to bots-united (/home/source) |
Re: Error compiling METAMOD 1.17
Looks like the functions headers are different.
The compiler is complaining that you are replacing void * with struct _iobuf * (or the otherway around). Search for the function headers and make sure they all match up, or are typed cast correctly. |
Re: Error compiling METAMOD 1.17
well, i also figured the functions do not match, but i don't know what header files to get on. I just installed the sdk and such, i don't use different .h files then usual, thats why i am puzzled ( i am using the original header files already).
|
Re: Error compiling METAMOD 1.17
yes... there is one change you forgot to apply. There is one of the functions in the enginefuncs which takes normally a "FILE *" as first parameter, you need to replace this by "void *". I can't remember which one though.
|
All times are GMT +2. The time now is 09:41. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.