Setup of the Development Environment

This document explains the settings to be made first after installing PSM SDK.

Setup of the PSM Studio Integrated Development Environment

This section sets PSM Studio, an integrated development environment.

Note: If anti-virus software is enabled, the anti-virus software may delete the exe file required for execution.

PSM Studio Startup

Double click on the PSM Studio icon placed on the desktop to start it up.

image/setup_devenv/PsmStudio.PNG

The following screen is displayed when PSM Studio is started up.

image/setup_devenv/welcome_page.PNG

Sample Build and Execution

This section describes how to build and execute a PSM application using a sample.

Opening the Solution

First, open the solution file.

A solution file has project configuration written in it; it has an extension of sln.

Select [File] - [Open] from the PSM Studio menu, select sample/Graphics/TriangleSample from the dialog box and open TriangleSample.sln.

Sample is installed in the following location by default.

  • Windows 7/8: "C:/Users/Public/Documents/PSM/"

Note: When the language setting of the development PC is English, the Yen mark will be displayed as a backslash.

image/setup_devenv/select_solution.PNG

Building

Execute the build by selecting [Build] - [Build All] from the PSM Studio menu or by pressing the F8 key.

To view the build result log, click on the Build successful section at the lower left of the window and press the [Build Output] button.

image/setup_devenv/build_output.PNG

The success of the build can be confirmed when Build successful is then displayed at the lower left of the window.

Selecting the Platform to Execute

After confirming the success of the build, execute the built PSM application.

First, specify which platform to execute on.

This is an execution example on Windows.

  1. Place the mouse cursor within the toolbar area, right-click, mark the PSM check box and display the drop-down list.
image/setup_devenv/psm_dropdown_list.jpg
  1. Select the [PlayStation Mobile Simulator] from the drop-down list control.
  2. From the menu, select [Run] - [Debug], or press the F5 key, to start up the application.
image/setup_devenv/TriangleSample.PNG

The character string output by the application will be output to the [Application Output] window of PSM Studio.

Note: The Application Output window can be displayed from menu - [View] - [Pads] - [Application Output].

  1. To terminate the application, click on the x button at the upper right of the window or press the Shift + F5 keys.