I recommand using Visual Studio (2019 or 2022) - C++17 and above is supported
Create a folder in C:
named code
. Unzip the Discord SDK in this folder, name it discordsdk
. You should have a path : C:\code\discordsdk
.
Go back on Visual Studio :
- Adding Discord headers :
- Right click on the project, Properties
- Go to C/C++ -> General
- Add
C:\code\discordsdk\cpp
to "Other Include folders"
- Adding Discord library :
- Still in the Properties windows, go to Linker -> General
- Add
C:\code\discordsdk\lib\x86
to "Additional library folder" You will also need to copyC:\code\discordsdk\lib\x86\discord_game_sdk.dll
into Nostale folder.