Anyone succefully compiled amxx with mingw?
Hm, i was trying to compile amxx & metamod with mingw, and i had some problems ...
It works fine for metamod, under linux & win, but i got errors everywhere when i try to compile amxx :s (Tried with mingw cross-compiler under linux, & with mingw32 gcc 3.4.0 under windows ...) [I'll try with mingw32 gcc 2.95 .. who knows? ^^ ] PS: No, i'm not going to buy msvc ^^ EDIT: Doesn't work with mingw32 gcc 2.95 ... :/ |
I compile AMXx with gcc-2.95 so mingw should work fine
Maybe you have the project set up wrong? |
It Works fine under linux, dunno why it shouldn't work with mingw :s
Unless i missed something with mingw^^ The error: Code:
In file included from modules.h:35, |
Looks like mingw's (your?) std include files declare these types. Try to comment out the section in amx.h ;) :D ;) 8)
|
Yep, I played around with that, and i got a compile ;)
Now, i cross my fingers, and i test ;) EDIT: Err, error with the cstrike module :/ First, it doesn't find the .def file, so i rename the only one i can see (cstrike.def) to cstrike_amx.def ... And then, bam, error :s Code:
d:\mingw\bin\dlltool: Syntax error in def file cstrike_amx.def:9EDIT2: Same error with the fun module :/ EDIT3: Hmm, tried without the --def flag, and it compiles fine .. will see if it works =] EDIT3 1/2 : Nope, doesn't work :/ Code:
L 06/22/2004 - 14:52:52: [META] ERROR: dll: Failed query plugin '<fun_amx.dll>'; Couldn't find GiveFnptrsToDll(): Code:
meta_api.cpp: In function `cell set_msg_arg_float(AMX*, cell*)': |
Looks like the export symbols are being screwed up... you know, Microsoft gives out their C++ compiler for free now ;]
|
Yeah ... I'll think i'll test with MSVC++ TK ..=]
But it works for some modules and not for the other, with mingw, it 's strange Oo |
Hmm, as far as i understand, i'm only missing "good" .def files ... [Apart for the engine module ...] How can i "generate" working .def files for mingw?
|
The 0.2 API won't need .def files anymore :) You can read your compiler's documentation or wait for 0.2 then :}
|
Hmmm, so i'll think i'll wait for the 0.2 ;)
|
| All times are GMT -4. The time now is 14:45. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.