[Kali Linux] Can't make SteamworksPy.so
gungugugungu opened this issue · 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.
I cant speak for Kali as I have only used Deb to compile it for Linux so far. Im gonna push out a new release that contains the latest lib version for Win, Mac & Deb over the next week or so.
I cant speak for Kali as I have only used Deb to compile it for Linux so far. Im gonna push out a new release that contains the latest lib version for Win, Mac & Deb over the next week or so.
This is happening because of some changes made to that since SW SDK 156-157
See: https://partner.steamgames.com/downloads/list
@dDog7 Best to stay on Steamworks SDK <=155 for the time being, until SteamworksPy is updated for it.
@philippj Any chance on that release? I'm really struggling to get this so file compiled
Same issue here as above. Would really love an update on this.
Well, I did a disto hop, now I'm on Ubuntu. If you want it, here's my compiled SteamworksPy.so.