proton:win_setup
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
proton:win_setup [2012/03/02 11:11] – Changed a step in the visual studio project setup. Instead of changing the working directory its better to change the output directory. (Tested in VS2010 will probably the same in VS2008)). I am not sure about this being user specific, I suspect its not. So if this is submitted to the repo this step can go. woutervd | proton:win_setup [2018/07/28 08:33] (current) – seth | ||
---|---|---|---|
Line 1: | Line 1: | ||
=== Get Proton SDK === | === Get Proton SDK === | ||
- | Use a [[http://tortoisesvn.net/downloads|svn client]] to checkout | + | Clone the Proton github repository. |
+ | |||
+ | For git: | ||
+ | < | ||
+ | git clone https:// | ||
+ | </ | ||
+ | |||
+ | For Tortoisegit you right click in file explorer, choose clone, and enter **https://github.com/SethRobinson/proton.git** as the repository. | ||
+ | |||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | <div id=" | ||
+ | < | ||
+ | <param name=" | ||
+ | <!--[if !IE]> | ||
+ | <object type=" | ||
+ | < | ||
+ | <param name=" | ||
+ | <param name=" | ||
+ | <param name=" | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | <!--[if !IE]> | ||
+ | </ | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | [[https:// | ||
=== Running RTBareBones on Windows=== | === Running RTBareBones on Windows=== | ||
- | The first example you should compile is RTBareBones. | + | The first example you should compile is RTBareBones. |
RTBarebones is still around 40 " | RTBarebones is still around 40 " | ||
Line 10: | Line 44: | ||
=== Configuration and compiling === | === Configuration and compiling === | ||
- | Nagivate | + | Navigate |
{{: | {{: | ||
- | Choose Debug GL from the configuration drop down. | + | Choose Debug GL from the configuration drop down. Nevermind that the screenshot is from VC 2015 and is outdated. |
+ | |||
+ | Note that you can select platform Win32 or x64, Win32 is usually fine unless you are working on some 64 bit specific issue. | ||
Here is an explanation of what each configuration is (they all make Windows exe's btw, but different configs can help you emulate platforms better): | Here is an explanation of what each configuration is (they all make Windows exe's btw, but different configs can help you emulate platforms better): | ||
- | * **Debug** (or Debug Common) - Uses the PowerVR libgles library. | + | * **Debug_GLES** (or Debug Common |
- | * **Release** (or Release Common) - Uses the PowerVR libgles library. | + | * **Release_GLES** (or Release Common) - Uses the PowerVR libgles library. |
- | * **Debug GL** - Most of your testing is going to be with this. Standard GL. | + | * **Debug_GL** - Most of your testing is going to be with this. Standard GL. |
- | * **Release GL** - For a final Windows build this is what you should use. | + | * **Release_GL** - For a final Windows build this is what you should use. |
- | * **Debug WebOS** - This config links with the WebOS "SDL like" libraries, useful for debugging WebOS specific issues. I don't have a " | + | * **SDL_Debug_GL** - emulates using SDL2 as the backend. Linux builds use this so it can be useful |
- | Before compiling you should | + | Note: Output directory |
- | {{: | + | === shared vs source === |
- | Select | + | If you look at the solution explorer, you see two main folders - **shared** |
+ | * **shared** is where files used across multiple projects are stored. | ||
+ | * **source** means files specific | ||
Next, open main.cpp and double check what the screensize/ | Next, open main.cpp and double check what the screensize/ | ||
Line 87: | Line 125: | ||
{{: | {{: | ||
- | Because we chose iPhone, the screensize is 320X480. | + | Because we chose iPhone, the screensize is 320X480. |
If you ran this app on a real iPhone, tilting the device would cause it to rotate to each orientation automatically. (You can disable that later or limit to only landscape modes) | If you ran this app on a real iPhone, tilting the device would cause it to rotate to each orientation automatically. (You can disable that later or limit to only landscape modes) |
proton/win_setup.1330686708.txt.gz · Last modified: 2012/03/02 11:11 by woutervd