Skip to content

Visual Studio Setup

Darryl Gough edited this page Aug 8, 2013 · 38 revisions

This page explains how to compile the gameplay samples using Windows 7 and Visual Studio 2010 Express or Professional.

Note: Visual Studio 2012 is now used in the next branch.

Install the Cross-platform Dependencies

Before you get started you will have to download the dependencies separately:

Install Visual Studio 2010 Express (master branch)

Install Visual Studio 2012 Express (next branch)

Building

  • Open gameplay.sln
  • Build > Build Solution (F7)

Running a sample

  • Right click the sample you want to run
  • Set as StartUp Project
  • Debug > Start Debugging (F5)

Troubleshooting

Set as StartUp Project

Unable to start program

Unable to start program 'C:\Git\gaming\GamePlay\windows\x86\Release\gameplay.lib'

This error occurs when the gameplay library is set as the StartUp Project.

To fix this, right click on of the application projects like sample-browser to choose Set as StartUp Project.

Clone this wiki locally