While messing around with the UE4 c++ sdk I came across a linker error when calling the FPlayFabBaseModel::toJSONString function.
The error is:
LoginActor.cpp.obj : error LNK2019: unresolved external symbol "public: class FString __cdecl PlayFab::FPlayFabBaseModel::toJSONString(void)const " (?toJSONString@FPlayFabBaseModel@PlayFab@@QEBA?AVFString@@XZ) referenced in function "private: void __cdecl ALoginActor::OnCloudFunctionSuccess(struct PlayFab::ClientModels::FExecuteCloudScriptResult const &)" (?OnCloudFunctionSuccess@ALoginActor@@AEAAXAEBUFExecuteCloudScriptResult@ClientModels@PlayFab@@@Z)
I believe the fix is to replace:
struct FPlayFabBaseModel
with
struct PLAYFAB_API FPlayFabBaseModel