27.10.2013, 16:01
(
Последний раз редактировалось Isolated; 27.10.2013 в 18:19.
)
I'm getting the same issue as the above user however I've tried both dynamic and static and still getting same issues. Any ideas?
Using the helloworld example with static package.
I've even tried using an older GDK however still no improvements.
Код:
1>main.obj : error LNK2019: unresolved external symbol __imp__sampgdk_SendClientMessage referenced in function "bool __cdecl SendClientMessage(int,int,char const *)" (?SendClientMessage@@YA_NHHPBD@Z) 1>main.obj : error LNK2019: unresolved external symbol __imp__sampgdk_SetGameModeText referenced in function "bool __cdecl SetGameModeText(char const *)" (?SetGameModeText@@YA_NPBD@Z) 1>main.obj : error LNK2019: unresolved external symbol __imp__sampgdk_AddPlayerClass referenced in function "int __cdecl AddPlayerClass(int,float,float,float,float,int,int,int,int,int,int)" (?AddPlayerClass@@YAHHMMMMHHHHHH@Z) 1>main.obj : error LNK2019: unresolved external symbol __imp__sampgdk_SetTimer referenced in function "int __cdecl SetTimer(int,bool,void (__cdecl*)(int,void *),void *)" (?SetTimer@@YAHH_NP6AXHPAX@Z1@Z) 1>main.obj : error LNK2019: unresolved external symbol __imp__sampgdk_SetPlayerPos referenced in function "bool __cdecl SetPlayerPos(int,float,float,float)" (?SetPlayerPos@@YA_NHMMM@Z) 1>main.obj : error LNK2019: unresolved external symbol __imp__sampgdk_GetPlayerPos referenced in function "bool __cdecl GetPlayerPos(int,float *,float *,float *)" (?GetPlayerPos@@YA_NHPAM00@Z) 1>main.obj : error LNK2019: unresolved external symbol __imp__sampgdk_GetPlayerName referenced in function "bool __cdecl GetPlayerName(int,char *,int)" (?GetPlayerName@@YA_NHPADH@Z) 1>main.obj : error LNK2019: unresolved external symbol __imp__sampgdk_SetPlayerCameraPos referenced in function "bool __cdecl SetPlayerCameraPos(int,float,float,float)" (?SetPlayerCameraPos@@YA_NHMMM@Z) 1>main.obj : error LNK2019: unresolved external symbol __imp__sampgdk_SetPlayerCameraLookAt referenced in function "bool __cdecl SetPlayerCameraLookAt(int,float,float,float,int)" (?SetPlayerCameraLookAt@@YA_NHMMMH@Z) 1>main.obj : error LNK2019: unresolved external symbol __imp__sampgdk_init_plugin referenced in function "public: int __thiscall Plugin::Load(void * *)" (?Load@Plugin@@QAEHPAPAX@Z) 1>main.obj : error LNK2019: unresolved external symbol __imp__sampgdk_cleanup_plugin referenced in function "public: int __thiscall Plugin::Unload(void)" (?Unload@Plugin@@QAEHXZ) 1>main.obj : error LNK2019: unresolved external symbol __imp__sampgdk_get_plugin_handle referenced in function "public: __thiscall ThisPlugin::ThisPlugin(void)" (??0ThisPlugin@@QAE@XZ) 1>main.obj : error LNK2019: unresolved external symbol __imp__sampgdk_process_plugin_timers referenced in function "public: void __thiscall Plugin::ProcessTimers(void)" (?ProcessTimers@Plugin@@QAEXXZ) 1>main.obj : error LNK2001: unresolved external symbol __imp__sampgdk_vlogprintf
I've even tried using an older GDK however still no improvements.