Qulex3 Posted October 6 Posted October 6 https://www.leadwerks.com/learn/Steamworks_AddStat?lang=cpp https://www.leadwerks.com/learn/Steamworks_AppInstalled?lang=cpp https://www.leadwerks.com/learn/Steamworks_AppSubscribed?lang=cpp https://www.leadwerks.com/learn/Steamworks_CreateLobby?lang=cpp https://www.leadwerks.com/learn/Steamworks_JoinLobby?lang=cpp https://www.leadwerks.com/learn/Steamworks_RecordVoice?lang=cpp https://www.leadwerks.com/learn/Steamworks_SendPacket?lang=cpp https://www.leadwerks.com/learn/Steamworks_SetLeaderboardScore?lang=cpp https://www.leadwerks.com/learn/Steamworks_Initialize?lang=cpp https://www.leadwerks.com/learn/Steamworks_GetUserId?lang=cpp The sample code in these documents is buggy. (I think all the code examples in the Steamworks documentation are buggy, but I only tried these) Quote
Qulex3 Posted October 6 Author Posted October 6 I don't know if I'm missing something, I just paste the code examples into my main.cpp file and compile them. But I keep getting error messages. 1 Quote
Josh Posted October 7 Posted October 7 By default, Steamworks/Steamworks.cpp is excluded from the build. Right click on this file and select Properties, then enable it in the build process. 1 Quote Let's build cool stuff and have fun.
Solution Josh Posted October 7 Solution Posted October 7 From the Steamworks page: https://www.leadwerks.com/learn/Steamworks?lang=cpp Quote Leadwerks includes an optional module for adding functionality from the Steam API. These features can be added to your project by including the file "Steamworks/Steamworks.h" and enabling the "Steamworks/Steamworks.cpp" file. Quote Let's build cool stuff and have fun.
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.