Hi!
We really want to try using Steam’s new Inventory api, but we’re having some issues with accessing steams libraries. Here’s my specific problem; but I’ll follow up with a generalized question:
#include "ThirdParty/Steamworks/Steamv132/sdk/public/steam/steam_api.h"
#include "ThirdParty/Steamworks/Steamv132/sdk/public/steam/isteaminventory.h"
void AWGamePlayerController::GrantTestItems()
{
SteamItemDef_t newItems[1];
uint32 quantities[1];
newItems[0] = 100;
quantities[0] = 1;
SteamInventoryResult_t s_GenerateRequestResult;
SteamInventory()->GenerateItems(&s_GenerateRequestResult, newItems, quantities, 1);
}
Basically I want to test out GenerateItems, but it throws me this linker error:
error LNK2019: unresolved external symbol __imp_SteamInventory referenced in function "void __cdecl GrantTestItems(void)" (?GrantTestItems@@YAXXZ)
So the question is;
Are there any easy steps I can follow to set up extended functionality with steam?
Ps: I have followed all the steps in rama’s wiki tutorial for implementing new versions of steam sdk and Unreal’s steam sdk version tutorial.
Thank you; and if you have a similar problem don’t hesitate to post on this thread - I’ll try to help best I can.