OLD | NEW |
1 {{+bindTo:partials.standard_nacl_article}} | 1 {{+bindTo:partials.standard_nacl_article}} |
2 | 2 |
3 <section id="frequently-asked-questions"> | 3 <section id="frequently-asked-questions"> |
4 <h1 id="frequently-asked-questions">Frequently Asked Questions</h1> | 4 <h1 id="frequently-asked-questions">Frequently Asked Questions</h1> |
5 <div class="contents local" id="contents" style="display: none"> | 5 <div class="contents local" id="contents" style="display: none"> |
6 <ul class="small-gap"> | 6 <ul class="small-gap"> |
7 <li><p class="first"><a class="reference internal" href="#what-is-native-client-
good-for" id="id1">What is Native Client Good For?</a></p> | 7 <li><p class="first"><a class="reference internal" href="#what-is-native-client-
good-for" id="id1">What is Native Client Good For?</a></p> |
8 <ul class="small-gap"> | 8 <ul class="small-gap"> |
9 <li><a class="reference internal" href="#why-did-google-build-native-client" id=
"id2">Why did Google build Native Client?</a></li> | 9 <li><a class="reference internal" href="#why-did-google-build-native-client" id=
"id2">Why did Google build Native Client?</a></li> |
10 <li><a class="reference internal" href="#when-should-i-use-portable-native-clien
t-instead-of-native-client" id="id3">When should I use Portable Native Client in
stead of Native Client?</a></li> | 10 <li><a class="reference internal" href="#when-should-i-use-portable-native-clien
t-instead-of-native-client" id="id3">When should I use Portable Native Client in
stead of Native Client?</a></li> |
(...skipping 416 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
427 has access to the same per-application storage that JavaScript has via Local | 427 has access to the same per-application storage that JavaScript has via Local |
428 Storage). HTML5 File System can be used, among others. For POSIX compatabiliy | 428 Storage). HTML5 File System can be used, among others. For POSIX compatabiliy |
429 the Native Client SDK includes a library called nacl_io which allows the | 429 the Native Client SDK includes a library called nacl_io which allows the |
430 application to interact with all these types of files via standard POSIX I/O | 430 application to interact with all these types of files via standard POSIX I/O |
431 functions (e.g. open/fopen/read/write/...). See <a class="reference internal" hr
ef="/native-client/devguide/coding/nacl_io.html"><em>Using NaCl I/O</em></a> for
more details.</li> | 431 functions (e.g. open/fopen/read/write/...). See <a class="reference internal" hr
ef="/native-client/devguide/coding/nacl_io.html"><em>Using NaCl I/O</em></a> for
more details.</li> |
432 </ul> | 432 </ul> |
433 <h2 id="troubleshooting"><span id="faq-troubleshooting"></span>Troubleshooting</
h2> | 433 <h2 id="troubleshooting"><span id="faq-troubleshooting"></span>Troubleshooting</
h2> |
434 <h3 id="my-pexe-isn-t-loading-help">My <code>.pexe</code> isn’t loading, h
elp!</h3> | 434 <h3 id="my-pexe-isn-t-loading-help">My <code>.pexe</code> isn’t loading, h
elp!</h3> |
435 <ul class="small-gap"> | 435 <ul class="small-gap"> |
436 <li>You must use Google Chrome version 31 or greater for Portable Native | 436 <li>You must use Google Chrome version 31 or greater for Portable Native |
437 Client. Make sure you have Portable Native Client installed in | 437 Client. Please <a class="reference external" href="http://www.google.com/chrome/
">upgrade now</a> if you are |
438 <code>about:nacl</code>; if not open <code>about:components</code> and “Ch
eck for | 438 not. If you’re already using a recent version, open <code>about:component
s</code> and |
439 update” for PNaCl.</li> | 439 “Check for update” for PNaCl. Find your version of chrome by opennin
g |
440 <li>PNaCl <code>.pexe</code> must be compiled with pepper_31 SDK or higher (earl
ier | 440 <code>about:chrome</code>.</li> |
441 SDK versions had experimental support for PNaCl, now deprecated).</li> | 441 <li>A PNaCl <code>.pexe</code> must be compiled with pepper_31 SDK or higher. <a
class="reference internal" href="/native-client/sdk/download.html#updating-bund
les"><em>Update |
| 442 your bundles</em></a> and make sure you’re using a version of |
| 443 Chrome that matches the SDK version.</li> |
442 <li>Your application can verify that Portable Native Client is supported | 444 <li>Your application can verify that Portable Native Client is supported |
443 in JavaScript with <code>navigator.mimeTypes['application/x-pnacl'] !== | 445 in JavaScript with <code>navigator.mimeTypes['application/x-pnacl'] !== |
444 undefined</code>. This is preferred over checking the Chrome version.</li> | 446 undefined</code>. This is preferred over checking the Chrome version.</li> |
445 </ul> | 447 </ul> |
446 <h3 id="my-nexe-files-never-finish-loading-what-gives">My <code>.nexe</code> fil
es never finish loading. What gives?</h3> | 448 <h3 id="my-nexe-files-never-finish-loading-what-gives">My <code>.nexe</code> fil
es never finish loading. What gives?</h3> |
447 <p>Here are ways to resolve some common problems that can prevent loading:</p> | 449 <p>Here are ways to resolve some common problems that can prevent loading:</p> |
448 <ul class="small-gap"> | 450 <ul class="small-gap"> |
449 <li>You must use Google Chrome version 14 or greater for Native Client.</li> | 451 <li>You must use Google Chrome version 14 or greater for Native Client.</li> |
450 <li>If you haven’t already done so, enable the Native Client flag in | 452 <li>If you haven’t already done so, enable the Native Client flag in |
451 Google Chrome. Type <code>about:flags</code> in the Chrome address bar, scroll | 453 Google Chrome. Type <code>about:flags</code> in the Chrome address bar, scroll |
(...skipping 19 matching lines...) Expand all Loading... |
471 you’re loading the correct <code>.nexe</code> file by building a separate | 473 you’re loading the correct <code>.nexe</code> file by building a separate |
472 <code>.nexe</code> for each architecture, and using a <code>.nmf</code> manifest
file to | 474 <code>.nexe</code> for each architecture, and using a <code>.nmf</code> manifest
file to |
473 let the browser select the correct <code>.nexe</code> file. Note: the need to | 475 let the browser select the correct <code>.nexe</code> file. Note: the need to |
474 select a processor-specific <code>.nexe</code> goes away with Portable Native | 476 select a processor-specific <code>.nexe</code> goes away with Portable Native |
475 Client.</li> | 477 Client.</li> |
476 <li>If things still aren’t working, <a class="reference internal" href="/n
ative-client/help.html"><em>ask for help</em></a>!</li> | 478 <li>If things still aren’t working, <a class="reference internal" href="/n
ative-client/help.html"><em>ask for help</em></a>!</li> |
477 </ul> | 479 </ul> |
478 </section> | 480 </section> |
479 | 481 |
480 {{/partials.standard_nacl_article}} | 482 {{/partials.standard_nacl_article}} |
OLD | NEW |