Closed eezstreet closed 3 years ago
The example plugin that is provided won't compile. It fails with this error:
2>GameAPI.obj : error LNK2019: unresolved external symbol "public: char const * __thiscall StringVar::GetCString(void)" (?GetCString@StringVar@@QAEPBDXZ) referenced in function "bool __cdecl v_ExtractArgsEx(unsigned long,struct ParamInfo *,unsigned char * &,class Script *,struct ScriptEventList *,char *)" (?v_ExtractArgsEx@@YA_NKPAUParamInfo@@AAPAEPAVScript@@PAUScriptEventList@@PAD@Z) 2>GameAPI.obj : error LNK2019: unresolved external symbol "public: unsigned long __thiscall StringVar::GetLength(void)" (?GetLength@StringVar@@QAEKXZ) referenced in function "bool __cdecl v_ExtractArgsEx(unsigned long,struct ParamInfo *,unsigned char * &,class Script *,struct ScriptEventList *,char *)" (?v_ExtractArgsEx@@YA_NKPAUParamInfo@@AAPAEPAVScript@@PAUScriptEventList@@PAD@Z) 2>GameAPI.obj : error LNK2001: unresolved external symbol "class StringVarMap g_StringMap" (?g_StringMap@@3VStringVarMap@@A) 2>D:\Code\eezstreet\NVSE-master\nvse_plugin_example\Debug\nvse_plugin_example.dll : fatal error LNK1120: 3 unresolved externals 2>Done building project "nvse_plugin_example.vcxproj" -- FAILED. ========== Build: 1 succeeded, 1 failed, 0 up-to-date, 0 skipped ========
Thanks, fixed
The example plugin that is provided won't compile. It fails with this error: