title: How to set up Linker Flags when developing Google Pepper Trusted Plugin with C++ API
body: <p><strong>Hi everyone,</strong></p>
  
  <p>I am trying to build a Chromium Trusted Plugin (no sandboxed NaCl-Plugin) using the Pepper API (version 16) on Linux. "Trusted Plugin" means that I am passing the path to my Plugin when starting Chrome, the Plugin get's loaded in context of a specific, custom application-type.</p>
  
  <p>Using the C-API everything works find because the Plugin then does not have to be linked against any Google-libraries. But when I am using the C++-API of Pepper some symbols are missing; demangled e.g...</p>
  
  <p><code>pp::Instance::Init(unsigned int, char const**, char const**)</code>)</p>
  
  <p>... but I simply don't know which Libraries have to by linked to my Shared Library. Of course I downloaded the Pepper SDK, but all in there seems to be prepared for development of NaCl-Plugins and therefore crosscompiling (I don't have to crosscompile).</p>
  
  <p>I tried to ask a followup-question <a href="https://stackoverflow.com/questions/4675661/how-do-i-build-a-ppapi-plugin-on-linux">here</a>, because the issuer uses "-lppapi_cpp -lppapi_cpp_objects" in his Makefile, but he couldn't help.</p>
  
  <p><strong>So my question is:</strong> How do I have to set the linker flags? Or am I missing something else? Where to find the missing libraries?</p>
  
  <p><em>Thanks in advance and best regards!</em></p>