开发者

Boost and Nixysa

开发者 https://www.devze.com 2023-02-04 14:24 出处:网络
I\'m 开发者_开发技巧writing a NPAPI plugins using Nixysa. I want to use Boost. For some reason, I don\'t succeed to include it.

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

精彩评论

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

关注公众号