OLD | NEW |
---|---|
1 .. _tutorial: | 1 .. _tutorial: |
2 | 2 |
3 ###################################### | 3 ###################################### |
4 C++ Tutorial: Getting Started (Part 1) | 4 C++ Tutorial: Getting Started (Part 1) |
5 ###################################### | 5 ###################################### |
6 | 6 |
7 .. contents:: | 7 .. contents:: |
8 :local: | 8 :local: |
9 :backlinks: none | 9 :backlinks: none |
10 :depth: 2 | 10 :depth: 2 |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
68 | 68 |
69 $ cd pepper_$(VERSION)/getting_started | 69 $ cd pepper_$(VERSION)/getting_started |
70 $ make serve | 70 $ make serve |
71 | 71 |
72 .. Note:: | 72 .. Note:: |
73 :class: note | 73 :class: note |
74 | 74 |
75 The SDK may consist of several "bundles", one per Chrome/Pepper version (see | 75 The SDK may consist of several "bundles", one per Chrome/Pepper version (see |
76 :doc:`versioning information </version>`). In the sample invocation above | 76 :doc:`versioning information </version>`). In the sample invocation above |
77 ``pepper_$(VERSION)`` refers to the specific version you want to use. For | 77 ``pepper_$(VERSION)`` refers to the specific version you want to use. For |
78 example, ``pepper_31``. If you don't know which version you need, use the | 78 example, ``pepper_37``. If you don't know which version you need, use the |
79 one labeled ``(stable)`` by the ``naclsdk list`` command. See | 79 one labeled ``(stable)`` by the ``naclsdk list`` command. See |
80 :doc:`Download the Native Client SDK </sdk/download>` for more details. | 80 :doc:`Download the Native Client SDK </sdk/download>` for more details. |
81 | 81 |
82 If no port number is specified, the server defaults to port 5103, and can be | 82 If no port number is specified, the server defaults to port 5103, and can be |
83 accessed at ``http://localhost:5103``. | 83 accessed at ``http://localhost:5103``. |
84 | 84 |
85 Any server can be used for the purpose of development. The one provided with the | 85 Any server can be used for the purpose of development. The one provided with the |
86 SDK is just a convenience, not a requirement. | 86 SDK is just a convenience, not a requirement. |
87 | 87 |
88 .. _tutorial_step_3: | 88 .. _tutorial_step_3: |
89 | 89 |
90 Step 3: Set up the Chrome browser | 90 Step 3: Set up the Chrome browser |
91 ================================= | 91 ================================= |
92 | 92 |
93 PNaCl is enabled by default in Chrome version 31 and later. Please make sure | 93 PNaCl is enabled by default in Chrome. You must use a version of Chrome that's |
Sam Clegg
2014/10/08 17:38:01
I wouldn't say this is a must. How about "it is r
JF
2014/10/08 22:00:37
We could explain why it's recommended: older pexes
jpmedley
2014/11/05 03:56:11
Done.
jpmedley
2014/11/05 03:56:11
Done.
jpmedley
2014/11/05 03:56:11
Done.
| |
94 that you have a suitable version to work through this tutorial. It's also | 94 the same or newer than the SDK bundle used to build Native Client modules. |
95 important to use a Chrome version that's the same or newer than the SDK bundle | |
96 used to build the Native Client modules. | |
97 | 95 |
98 .. Note:: | 96 .. Note:: |
99 :class: note | 97 :class: note |
100 | 98 |
101 To find out the version of Chrome, type ``about:chrome`` in the address bar. | 99 To find out the version of Chrome, type ``about:chrome`` in the address bar. |
102 | 100 |
103 For a better development experience, it's also recommended to disable the | 101 For a better development experience, it's also recommended to disable the |
104 Chrome cache. Chrome caches resources aggressively; disabling the cache helps | 102 Chrome cache. Chrome caches resources aggressively; disabling the cache helps |
105 make sure that the latest version of the Native Client module is loaded during | 103 make sure that the latest version of the Native Client module is loaded during |
106 development. | 104 development. |
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
290 applications and using the Pepper APIs. | 288 applications and using the Pepper APIs. |
291 * See the :doc:`Building </devguide/devcycle/building>`, :doc:`Running | 289 * See the :doc:`Building </devguide/devcycle/building>`, :doc:`Running |
292 </devguide/devcycle/running>`, and :doc:`Debugging pages | 290 </devguide/devcycle/running>`, and :doc:`Debugging pages |
293 </devguide/devcycle/debugging>` for information about how to build, run, and | 291 </devguide/devcycle/debugging>` for information about how to build, run, and |
294 debug Native Client applications. | 292 debug Native Client applications. |
295 * Check the `naclports <http://code.google.com/p/naclports/>`_ project to see | 293 * Check the `naclports <http://code.google.com/p/naclports/>`_ project to see |
296 what libraries have been ported for use with Native Client. If you port an | 294 what libraries have been ported for use with Native Client. If you port an |
297 open-source library for your own use, we recommend adding it to naclports | 295 open-source library for your own use, we recommend adding it to naclports |
298 (see `How to check code into naclports | 296 (see `How to check code into naclports |
299 <http://code.google.com/p/naclports/wiki/HowTo_Checkin>`_). | 297 <http://code.google.com/p/naclports/wiki/HowTo_Checkin>`_). |
OLD | NEW |