SteamworksPy icon indicating copy to clipboard operation
SteamworksPy copied to clipboard

[Kali Linux] Can't make SteamworksPy.so

Open gungugugungu opened this issue 1 year ago • 5 comments

Whenever I try to run the command the website says g++ -std=c++11 -o SteamworksPy.so -shared -fPIC SteamworksPy.cpp -l steam_api -L. it gives me an error:

SteamworksPy.cpp: In function ‘int GetAuthSessionTicket(char*)’: SteamworksPy.cpp:987:38: error: no matching function for call to ‘ISteamUser::GetAuthSessionTicket(char*&, int, uint32*)’ 987 | SteamUser()->GetAuthSessionTicket(buffer, 1024, &size); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from sdk/steam/steam_api.h:25, from SteamworksPy.cpp:16: sdk/steam/isteamuser.h:130:29: note: candidate: ‘virtual HAuthTicket ISteamUser::GetAuthSessionTicket(void*, int, uint32*, const SteamNetworkingIdentity*)’ 130 | virtual HAuthTicket GetAuthSessionTicket( void *pTicket, int cbMaxTicket, uint32 *pcbTicket, const SteamNetworkingIdentity *pSteamNetworkingIdentity ) = 0; | ^~~~~~~~~~~~~~~~~~~~ sdk/steam/isteamuser.h:130:29: note: candidate expects 4 arguments, 3 provided

Does anyone know how I could fix this? I've spent way too much trying to fix it, and this is my only hope.

gungugugungu avatar Apr 30 '23 16:04 gungugugungu