Search code examples
google-chromeboostboost-asionpapiscons

Boost and Nixysa


I'm writing a NPAPI plugins using Nixysa. I want to use Boost. For some reason, I don't succeed to include it.

What I have tried so far: I have installed the Boost library through my package manager (Ubuntu), and then included it, like this:

#include <boost/asio.hpp>

When I do that, the code compiles successfully, but the plugin just not loading in the browser. No errors.

How can I fix that?

If there's any better way to include Boost, I'd happy to hear it. :)

Thanks.


Solution

  • Is your plugin loading successfully if you don't include any boost header ? One of the causes of plugins not loading is that they have undefined symbols or missing dependent libraries. You can check that with ldd -r -d /path/to/libyourplugin.so