![]() |
Re: CZ released!!!
well i got a successfull compile now but the thing still dont work right yet:
Couldn't get GiveFnptrsToDll in .\czero\addons\metamod\metamod_cz.dll HOST_ERROR: Couldn't get DLL API from .\czero\addons\metamod\metamod_cz.dll |
Re: CZ released!!!
Could you post your GiveFnptrsToDll() prototype ?
|
Re: CZ released!!!
Code:
/*** |
Re: CZ released!!!
guys, i thought we had a similiar problem when we tried to compile metamod and such on our server. Can't we just get that source bundled?
|
Re: CZ released!!!
|
Re: CZ released!!!
so is this GiveFnptrsToDll() error; is it a sdk problem (still not current?) or is this a metamod code problem?
|
Re: CZ released!!!
I think it's a compiler issue. Metamod is meant to compile with GCC on Linux, GCC + Cross-compiling (on Linux) for Windows, or MSVC natively for Windows. Other compilers may not behave correctly and GiveFnptrsToDll is not correctly exported.
How is "DLLEXPORT" defined in the code you're using ? |
Re: CZ released!!!
Quote:
|
Re: CZ released!!!
Code:
// Macro for function-exporting from DLL.. __declspec(dllexport) |
Re: CZ released!!!
so for those who are a$$ broke, like me, i found out that microsoft offers the same command line compiler that comes with msvc; FOR FREE!!! W00T!
check it out: http://www.thefreecountry.com/compilers/cpp.shtml here's hoping i can get it to work. HELP: ok, so im assuming that you use this command line compiler with dos (on windows). every command i try comes back with "not recognized as an internal or external command, operable program, or batch file." do i need to create a batch file to compile? what are the commands? |
All times are GMT +2. The time now is 23:37. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.