How to create a PPAPI plugin for Google Chrome in Windows?

后端 未结 1 1098
慢半拍i
慢半拍i 2020-12-25 08:36

I am new to PPAPI development and have downloaded the already examples from here

However, even after coming across the documentation, I am not able to build the pro

相关标签:
1条回答
  • 2020-12-25 09:21

    You will want to start here to download the and set up the SDK: https://developers.google.com/native-client/sdk/download

    This page will take you through how to build and run the examples: https://developer.chrome.com/native-client/sdk/examples

    This page goes over how to actually create your own plugin: https://developer.chrome.com/native-client/devguide/tutorial/tutorial-part1

    And then you should read this entire section to code and structure your application: https://developer.chrome.com/native-client/devguide/coding/application-structure

    If you need any third party libraries be sure to check here: https://chromium.googlesource.com/webports

    Edit: Forgot to mention that you will want to use the same version of the pepper api as the version of chrome you're running (in this case pepper_30). Also, you have to use the NaCl toolchain (one of either glibc, newlib, or pnacl); you can't use the Visual C/C++ toolchains. I recommend trying pnacl now that it is available, as that is by far the most cross platform version, but if you run into trouble, you'll probably want to use the newlib toolchain as it has better support.

    0 讨论(0)
提交回复
热议问题