I had some trouble following the includes and library suggestions to rearrange/add and ended up deleting the sdk after a few failed attempts. The 2nd time around I did this…
- make sure you install the directx sdk (june 2010) (https://www.microsoft.com/en-us/download/details.aspx?id=6812)
- Once you unzip the steamworks sdk and open “SteamworksExample.sln”, right-click the project in the solution explorer and choose “properties” and select the “VC++ Directories” on the left of the window
- Click on the “Include Directories” on the right side of the line where the paths are listed and you will see a dropdown selection, click that and in there you should see “Edit”, click that and it opens a new window.
- Click the yellow folder icon at the top right, then click the 3 dots to choose the include folder (C:\Program Files (x86)\Microsoft DirectX SDK (June 2010)\Include), then click ok to go back to the properties window.
- Now click on the “Library Directories” the same way you did the include (right side of the window, “edit”,) and once again click the yellow folder icon and select this path (C:\Program Files (x86)\Microsoft DirectX SDK (June 2010)\Lib\x86) and click ok and ok again to close the properties window.
- Rebuild the program and it should compile.
TL:DR
Include path to add
C:\Program Files (x86)\Microsoft DirectX SDK (June 2010)\Include
Library path to add
C:\Program Files (x86)\Microsoft DirectX SDK (June 2010)\Lib\x86