About 'Building SpaceWar In Visual Studio'!

  • Introducing the Steamworks example project.
  • Updating the project.
  • Downloading & installing DirectX SDK.
  • Fixing the build errors.

(Unique Video Reference: 2_SM_UEM)

We would love to know…

  • What you found good about this lecture?
  • What we could do better?

Remember that you can reply to this topic, or create a new topic. The easiest way to create a new topic is to follow the link in Resources. That way the topic will…

  • Be in the correct forum (for the course).
  • Be in the right sub-forum (for the section)
  • Have the correct lecture tag.

Enjoy your stay in our thriving community!

Hello Sam
I have Link Errors when Build the Project

CRemotePlaylist constructor is called in CSpaceWarClient::Init() function, and this call get me Link Error.
I don’t why? #include is OK. and I have not found any solution in Google

In your Project CRemotePlaylist file is not exist at all. Can you Help me?

Can you Show me your SteamworksExample Properties Linker>>General and Linker>>Input options. I think some .lib files is missed in my Project

I have solved the problem.
include RemotePlay.cpp file in SpaceWarClient.cpp

image
like so.

I don’t know this solution is or not good style, but it has fixed Error, and i can’t understand why header file, RemotePlay.h can’t find constructor implementation file, RemotePlay.cpp

Can you explain me ?

Hi,

I was able to solve the error by adding RemotePlay.cpp to the list of source files in the Makefile

I don’t know if Visual studio uses the Makefile for getting sources. But that fixed it for me.

It’s Better solution, thank you