Hawk552
05-25-2006, 09:12
Hi, I copied the module SDK files directly into VC++ 6, but it throws this error when I try to build all:
Deleting intermediate files and output files for project 'amxxmodule - Win32 Debug'.
--------------------Configuration: amxxmodule - Win32 Debug--------------------
Compiling...
amxxmodule.cpp
d:\program files\microsoft visual studio\myprojects\amxxmodule\amxxmodule.cpp(2 516) : error C2146: syntax error : missing ';' before identifier 'g_fn_AmxReRegister'
d:\program files\microsoft visual studio\myprojects\amxxmodule\amxxmodule.cpp(2 516) : error C2501: 'PFN_AMXREREGISTER' : missing storage-class or type specifiers
d:\program files\microsoft visual studio\myprojects\amxxmodule\amxxmodule.cpp(2 516) : fatal error C1004: unexpected end of file found
Error executing cl.exe.
amxxmodule.dll - 3 error(s), 0 warning(s)
I already checked it. The line in question is the middle one between these 3:
PFN_GETLOCALINFO g_fn_GetLocalInfo;
PFN_AMXREREGISTER g_fn_AmxReRegister;
PFN_REGISTERFUNCTIONEX g_fn_RegisterFunctionEx;
I don't see anything wrong with the syntax, so I'm just wondering if there's something stupid I did wrong.
As I said, I did not change anything (not even the moduleconfig.h).
Deleting intermediate files and output files for project 'amxxmodule - Win32 Debug'.
--------------------Configuration: amxxmodule - Win32 Debug--------------------
Compiling...
amxxmodule.cpp
d:\program files\microsoft visual studio\myprojects\amxxmodule\amxxmodule.cpp(2 516) : error C2146: syntax error : missing ';' before identifier 'g_fn_AmxReRegister'
d:\program files\microsoft visual studio\myprojects\amxxmodule\amxxmodule.cpp(2 516) : error C2501: 'PFN_AMXREREGISTER' : missing storage-class or type specifiers
d:\program files\microsoft visual studio\myprojects\amxxmodule\amxxmodule.cpp(2 516) : fatal error C1004: unexpected end of file found
Error executing cl.exe.
amxxmodule.dll - 3 error(s), 0 warning(s)
I already checked it. The line in question is the middle one between these 3:
PFN_GETLOCALINFO g_fn_GetLocalInfo;
PFN_AMXREREGISTER g_fn_AmxReRegister;
PFN_REGISTERFUNCTIONEX g_fn_RegisterFunctionEx;
I don't see anything wrong with the syntax, so I'm just wondering if there's something stupid I did wrong.
As I said, I did not change anything (not even the moduleconfig.h).