开发者

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.


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜