Jump to content

Steamworks not linking in new C++ project out of box


Dexter
 Share

Go to solution Solved by Josh,

Recommended Posts

Howdy, this is probably an easy one but generating a new project and changing the code so steamworks is included, by un-commenting out the `#include "Steamworks/Steamworks.h"`  results in link errors, eg:

 unresolved external symbol "bool __cdecl Steamworks::Initialize(void)" (?Initialize@Steamworks@@YA_NXZ) referenced in function main 

 

after some looking around it looks like Source/Steamworks.cpp is set to excluded from the build by default in VS causing this

 

Link to comment
Share on other sites

  • Solution

Yes, you must uncomment the include and edit the .cpp file setting. There is no way in Visual Studio to include a .cpp file just with code, or I would do it.

My job is to make tools you love, with the features you want, and performance you can't live without.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...