Jetz hab ich alles so gemacht wie es gehört... also die Includes richtig gesetzt usw...
Die Includes werden jetzt auch richtig gefunden...
Ich hab das Plugin stub geöfnet und wollte es kompilieren aber es kommen folgende Fehler:
Code:
--------------------Configuration: mm_stub - Win32 Debug--------------------
Compiling...
dllapi.cpp
g:\install\metamod-1.12.4\metamod-1.12.4\metamod\dllapi.h(11) : error C2065: 'NEW_DLL_FUNCTIONS' : undeclared identifier
g:\install\metamod-1.12.4\metamod-1.12.4\metamod\dllapi.h(11) : error C2065: 'pFunctionTable' : undeclared identifier
g:\install\metamod-1.12.4\metamod-1.12.4\metamod\dllapi.h(11) : error C2062: type 'int' unexpected
g:\install\metamod-1.12.4\metamod-1.12.4\metamod\dllapi.h(19) : error C2065: 'pNewFunctionTable' : undeclared identifier
g:\install\metamod-1.12.4\metamod-1.12.4\metamod\dllapi.h(19) : error C2062: type 'int' unexpected
g:\install\metamod-1.12.4\metamod-1.12.4\metamod\meta_api.h(113) : error C2146: syntax error : missing ';' before identifier 'pfnGetNewDLLFunctions'
g:\install\metamod-1.12.4\metamod-1.12.4\metamod\meta_api.h(113) : error C2501: 'GETNEWDLLFUNCTIONS_FN' : missing storage-class or type specifiers
g:\install\metamod-1.12.4\metamod-1.12.4\metamod\meta_api.h(113) : error C2501: 'pfnGetNewDLLFunctions' : missing storage-class or type specifiers
g:\install\metamod-1.12.4\metamod-1.12.4\metamod\meta_api.h(114) : error C2146: syntax error : missing ';' before identifier 'pfnGetNewDLLFunctions_Post'
g:\install\metamod-1.12.4\metamod-1.12.4\metamod\meta_api.h(114) : error C2501: 'GETNEWDLLFUNCTIONS_FN' : missing storage-class or type specifiers
g:\install\metamod-1.12.4\metamod-1.12.4\metamod\meta_api.h(114) : error C2501: 'pfnGetNewDLLFunctions_Post' : missing storage-class or type specifiers
g:\install\metamod-1.12.4\metamod-1.12.4\metamod\meta_api.h(122) : error C2143: syntax error : missing ';' before '*'
g:\install\metamod-1.12.4\metamod-1.12.4\metamod\meta_api.h(122) : error C2501: 'NEW_DLL_FUNCTIONS' : missing storage-class or type specifiers
g:\install\metamod-1.12.4\metamod-1.12.4\metamod\meta_api.h(122) : error C2501: 'newapi_table' : missing storage-class or type specifiers
g:\install\metamod-1.12.4\metamod-1.12.4\metamod\meta_api.h(169) : error C2062: type 'int' unexpected
meta_api.cpp
g:\install\metamod-1.12.4\metamod-1.12.4\metamod\dllapi.h(11) : error C2065: 'NEW_DLL_FUNCTIONS' : undeclared identifier
g:\install\metamod-1.12.4\metamod-1.12.4\metamod\dllapi.h(11) : error C2065: 'pFunctionTable' : undeclared identifier
g:\install\metamod-1.12.4\metamod-1.12.4\metamod\dllapi.h(11) : error C2062: type 'int' unexpected
g:\install\metamod-1.12.4\metamod-1.12.4\metamod\dllapi.h(19) : error C2065: 'pNewFunctionTable' : undeclared identifier
g:\install\metamod-1.12.4\metamod-1.12.4\metamod\dllapi.h(19) : error C2062: type 'int' unexpected
g:\install\metamod-1.12.4\metamod-1.12.4\metamod\meta_api.h(113) : error C2146: syntax error : missing ';' before identifier 'pfnGetNewDLLFunctions'
g:\install\metamod-1.12.4\metamod-1.12.4\metamod\meta_api.h(113) : error C2501: 'GETNEWDLLFUNCTIONS_FN' : missing storage-class or type specifiers
g:\install\metamod-1.12.4\metamod-1.12.4\metamod\meta_api.h(113) : error C2501: 'pfnGetNewDLLFunctions' : missing storage-class or type specifiers
g:\install\metamod-1.12.4\metamod-1.12.4\metamod\meta_api.h(114) : error C2146: syntax error : missing ';' before identifier 'pfnGetNewDLLFunctions_Post'
g:\install\metamod-1.12.4\metamod-1.12.4\metamod\meta_api.h(114) : error C2501: 'GETNEWDLLFUNCTIONS_FN' : missing storage-class or type specifiers
g:\install\metamod-1.12.4\metamod-1.12.4\metamod\meta_api.h(114) : error C2501: 'pfnGetNewDLLFunctions_Post' : missing storage-class or type specifiers
g:\install\metamod-1.12.4\metamod-1.12.4\metamod\meta_api.h(122) : error C2143: syntax error : missing ';' before '*'
g:\install\metamod-1.12.4\metamod-1.12.4\metamod\meta_api.h(122) : error C2501: 'NEW_DLL_FUNCTIONS' : missing storage-class or type specifiers
g:\install\metamod-1.12.4\metamod-1.12.4\metamod\meta_api.h(122) : error C2501: 'newapi_table' : missing storage-class or type specifiers
g:\install\metamod-1.12.4\metamod-1.12.4\metamod\meta_api.h(169) : error C2062: type 'int' unexpected
g:\c++ projeckte\stub_plugin\meta_api.cpp(55) : error C2078: too many initializers
Error executing cl.exe.
mm_stub.dll - 31 error(s), 0 warning(s)
Folgende Dateien sind in dem Plugin standardmässig vorhanden und ich hab auch nichts verändert:
Code:
dllapi.cpp
h_export.cpp
meta_api.cpp
sdk_util.cpp
und dan halt noch "External Dependencies"
da sind 21 *.h files drinn die mag ich jetz aber nicht alle abtippen
Wisst ihr woran diese Errors liegen können ?
Ich hab mal in die apidll.h geschaut und die Declaration von der "newdllfunktions" raus genommen, danach hatte ich nur noch 29 Fehler...
Aber das kans doch nicht sein oder ???
Bitte helft mir dummen Noob
