3.2. Building and running the samples from Microsoft Visual Studio

Project files for Microsoft Visual C++ 2008 are released in the visual-studio-projects directory.

Note

  • Samples require the OpenGL ES 2.0 Emulator to run on Windows, see the OpenGL ES 2.0 Emulator User Guide.

  • The assets folder contains all the resources for a sample and is required in its working directory.

To build all the samples with Microsoft Visual C++ 2008:

  1. Open the solution file Mali_SDK.sln.

  2. Select Build Solution from the Build menu or press F7.

  3. All the projects are built and placed into the corresponding directory in:

    visual-studio-projects/samples/linux.

To run one sample:

  1. Set it as Start Up project by right-clicking on the corresponding project in the list and choose Set as StartUp Project.

  2. Click Start Debugging from the Debug menu, or press F5, to run the sample.

  3. The individual Visual Studio project for the sample is placed in the corresponding directory in visual-studio-projects/samples/linux.

Released Visual Studio projects are configured with a post-build command to copy the assets files from the sources directory to the working directory of each sample.

Copyright © 2011 ARM. All rights reserved.ARM DUI 0607A
Non-ConfidentialID120411