Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Kali Linux] Can't make SteamworksPy.so #88

Open
gungugugungu opened this issue Apr 30, 2023 · 5 comments
Open

[Kali Linux] Can't make SteamworksPy.so #88

gungugugungu opened this issue Apr 30, 2023 · 5 comments

Comments

@gungugugungu
Copy link

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.

@philippj
Copy link
Owner

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.

@twstagg
Copy link

twstagg commented May 25, 2023

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

image

@dDog7 Best to stay on Steamworks SDK <=155 for the time being, until SteamworksPy is updated for it.

@Gh0stReaper123
Copy link

@philippj Any chance on that release? I'm really struggling to get this so file compiled

@BigMeatyClaws
Copy link

Same issue here as above. Would really love an update on this.

@gungugugungu
Copy link
Author

Well, I did a disto hop, now I'm on Ubuntu. If you want it, here's my compiled SteamworksPy.so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants